diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-29 17:26:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 17:26:36 +0800 |
| commit | 213d1b3fd72d2572050402b6be25cad590a9cb95 (patch) | |
| tree | c153a8ededeeb1bb1326e9edbb193685a4198b8b /agents/demo/index.yaml | |
| parent | 226228dfa45aa075f1a74b07885407d9dba6017f (diff) | |
| download | llm-functions-docker-213d1b3fd72d2572050402b6be25cad590a9cb95.tar.gz | |
refactor: demo agent (#81)
Diffstat (limited to 'agents/demo/index.yaml')
| -rw-r--r-- | agents/demo/index.yaml | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/agents/demo/index.yaml b/agents/demo/index.yaml index ce4520f..18116b6 100644 --- a/agents/demo/index.yaml +++ b/agents/demo/index.yaml @@ -2,17 +2,34 @@ name: Demo description: This is demo agent. version: 0.1.0 instructions: | - You are a AI agent designed to demonstrate agent capabilities. - Use prefer language {{lang}} to answer the question, regardless of the input language. - When the user asks for the system info, retrieve it by running the get_sysinfo tool. - When the user asks for the current time, retrieve it by using the get_current_time tool. + You are a AI agent designed to demonstrate agent capabilities. + + <tools> + __TOOLS__ + </tools> + + <system> + os: {{__os__}} + os_family: {{__os_family__}} + arch: {{__arch__}} + shell: {{__shell__}} + locale: {{__locale__}} + now: {{__now__}} + cwd: {{__cwd__}} + </system> + + <user> + username: {{username}} + </user> variables: - - name: lang - description: Your prefer language + - name: username + description: Your user name conversation_starters: - - What is the prefer language? - - What is the llm-functions? - - Show me the system info - - Tell me the current time + - What is my username? + - What is my current shell? + - What is my ip? + - How much disk space is left on my PC?? + - How to create an agent? documents: - - https://raw.githubusercontent.com/sigoden/llm-functions/main/README.md
\ No newline at end of file + - README.md + - https://github.com/sigoden/llm-functions/blob/main/README.md
\ No newline at end of file |
