Compare commits
No commits in common. "7fd32b302469f2601fa21ed7b330cf7fafa8b611" and "f430998137409fe8811f70537032782ea4b92ce4" have entirely different histories.
7fd32b3024
...
f430998137
@ -48,6 +48,7 @@ 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
|
||||||
|
@ -50,10 +50,9 @@ for note in tril_notes:
|
|||||||
git_branch_url = f'https://git.aridgwayweb.com/armistace/blog/src/branch/{os_friendly_title}/src/content/{os_friendly_title}.md'
|
git_branch_url = f'https://git.aridgwayweb.com/armistace/blog/src/branch/{os_friendly_title}/src/content/{os_friendly_title}.md'
|
||||||
n8n_system_prompt = f"You are a blog creator notifiying the final editor of the final creation of blog available at {git_branch_url}"
|
n8n_system_prompt = f"You are a blog creator notifiying the final editor of the final creation of blog available at {git_branch_url}"
|
||||||
n8n_prompt_human = f"""
|
n8n_prompt_human = f"""
|
||||||
Generate an informal 100 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