Template
feat: add Qdrant recording workflow
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import json, sys, os
|
||||
today = os.environ.get('TODAY', '')
|
||||
prompt = open('/tmp/texts.txt').read()
|
||||
full_prompt = f"以下は{today}のGitea操作ログです。重要な変更点と傾向を日本語300字以内でまとめてください:\n{prompt}"
|
||||
payload = {'model': 'qwen2.5:7b', 'prompt': full_prompt, 'stream': False}
|
||||
open('/tmp/gen_payload.json','w').write(json.dumps(payload))
|
||||
Reference in New Issue
Block a user