From 213d1b3fd72d2572050402b6be25cad590a9cb95 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 29 Jul 2024 17:26:36 +0800 Subject: refactor: demo agent (#81) --- agents/demo/index.yaml | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) (limited to 'agents/demo/index.yaml') 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__ + + + + os: {{__os__}} + os_family: {{__os_family__}} + arch: {{__arch__}} + shell: {{__shell__}} + locale: {{__locale__}} + now: {{__now__}} + cwd: {{__cwd__}} + + + + username: {{username}} + 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 -- cgit v1.2.3