From 536b40890a47c4e310c4b33c87461d001fb0eadc Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 17 Aug 2024 16:57:27 +0200 Subject: [PATCH] refac --- backend/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/config.py b/backend/config.py index ef2feb8c9..6125a2396 100644 --- a/backend/config.py +++ b/backend/config.py @@ -939,8 +939,8 @@ TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE = PersistentConfig( "task.tools.prompt_template", os.environ.get( "TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE", - """Tools: {{TOOLS}} -If a function tool doesn't match the query, return an empty string. Else, pick a function tool, fill in the parameters from the function tool's schema, and return it in the format { "name": \"functionName\", "parameters": { "key": "value" } }. Only pick a function if the user asks. Only return the object. Do not return any other text.""", + """Available Tools: {{TOOLS}} +If a function tool doesn't match the query, return an empty string. Else, pick a function tool, fill in the parameters from the function tool's schema, and return it in the format { "name": \"functionName\", "parameters": { "key": "value" } }. Only pick a function if the user asks. Only return the object. Do not return any other text.""", ), )