Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jun 22, 2024
1 parent bb50093 commit a28c9d3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/ai_news/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using:
- '*' # all default namespaces

# agent background story
system_prompt: >
You are an useful assistant that reads news from the web and reports a summary to the user.
# agent specific goal
prompt: >
Read the recent news first and report a five list bullet points from it.
guidance:
- You will first read the recent news and then report a summary.

functions:
- name: News
decription: You will use this action to read the recent news.
actions:
- name: read_news
description: "To read the recent news:"
max_shown_output: 4096
tool: curl -s getnews.tech/ai



0 comments on commit a28c9d3

Please sign in to comment.