remove tail and improve notification prompt
This commit is contained in:
parent
f430998137
commit
a88d233c6b
@ -48,7 +48,6 @@ jobs:
|
|||||||
echo "N8N_WEBHOOK_URL='${{ vars.N8N_WEBHOOK_URL }}'" >> .env
|
echo "N8N_WEBHOOK_URL='${{ vars.N8N_WEBHOOK_URL }}'" >> .env
|
||||||
echo "CHROMA_HOST='${{ vars.CHROMA_HOST }}'" >> .env
|
echo "CHROMA_HOST='${{ vars.CHROMA_HOST }}'" >> .env
|
||||||
echo "CHROMA_PORT='${{ vars.CHROMA_PORT }}'" >> .env
|
echo "CHROMA_PORT='${{ vars.CHROMA_PORT }}'" >> .env
|
||||||
tail .env -n 100
|
|
||||||
|
|
||||||
- name: Create Blogs
|
- name: Create Blogs
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -52,7 +52,8 @@ for note in tril_notes:
|
|||||||
n8n_prompt_human = f"""
|
n8n_prompt_human = f"""
|
||||||
Generate an informal 150 word
|
Generate an informal 150 word
|
||||||
summary describing {ai_gen.response}.
|
summary describing {ai_gen.response}.
|
||||||
Don't address it or use names. ONLY OUTPUT THE RESPONSE
|
Don't address it or use names. ONLY OUTPUT THE RESPONSE.
|
||||||
|
ONLY OUTPUT IN PLAINTEXT STRIP ALL MARKDOWN
|
||||||
"""
|
"""
|
||||||
notification_message = ai_gen.generate_system_message(n8n_system_prompt, n8n_prompt_human)
|
notification_message = ai_gen.generate_system_message(n8n_system_prompt, n8n_prompt_human)
|
||||||
secret_key = os.environ['N8N_SECRET']
|
secret_key = os.environ['N8N_SECRET']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user