update sys prompt

This commit is contained in:
Hardik Shah 2025-04-06 15:52:42 -07:00
parent d86ee6f386
commit 31453f3f79
2 changed files with 6 additions and 14 deletions

View file

@ -279,6 +279,10 @@ class PythonListCustomToolGenerator(PromptTemplateGeneratorBase): # noqa: N801
{% endif -%} {% endif -%}
{%- endfor %} {%- endfor %}
] ]
You are a helpful assisant who can can answer general questions or invoke tools when necessary.
In addition to tool calls, you should also augment your responses by using the tool outputs.
""" """
) )
return PromptTemplate( return PromptTemplate(

View file

@ -103,10 +103,6 @@
"data": { "data": {
"messages": [ "messages": [
[ [
{
"role": "system",
"content": "You are a helpful assistant who can answer general questions or invoke tools when necessary. In addition to tool calls, you should also augement your responses by using the tool outputs."
},
{ {
"role": "user", "role": "user",
"content": "What's the name of the Sun in latin?" "content": "What's the name of the Sun in latin?"
@ -159,10 +155,6 @@
"data": { "data": {
"messages": [ "messages": [
[ [
{
"role": "system",
"content": "You are a helpful assistant who can answer general questions or invoke tools when necessary. In addition to tool calls, you should also augement your responses by using the tool outputs."
},
{ {
"role": "user", "role": "user",
"content": "What's the weather like in San Francisco?" "content": "What's the weather like in San Francisco?"
@ -205,10 +197,6 @@
"data": { "data": {
"messages": [ "messages": [
[ [
{
"role": "system",
"content": "You are a helpful assistant who can answer general questions or invoke tools when necessary. In addition to tool calls, you should also augement your responses by using the tool outputs."
},
{ {
"role": "user", "role": "user",
"content": "Please add a new product with name 'Widget', price 19.99, in stock, and tags ['new', 'sale'] and give me the product id." "content": "Please add a new product with name 'Widget', price 19.99, in stock, and tags ['new', 'sale'] and give me the product id."
@ -271,7 +259,7 @@
[ [
{ {
"role": "system", "role": "system",
"content": "Todays date is 2025-03-01.\n\nYou are a helpful assistant who can answer general questions or invoke tools when necessary. In addition to tool calls, you should also augement your responses by using the tool outputs." "content": "Todays date is 2025-03-01."
}, },
{ {
"role": "user", "role": "user",
@ -376,7 +364,7 @@
[ [
{ {
"role": "system", "role": "system",
"content": "Todays date is 2025-03-01.\n\nYou are a helpful assistant who can answer general questions or invoke tools when necessary. In addition to tool calls, you should also augement your responses by using the tool outputs." "content": "Todays date is 2025-03-01."
}, },
{ {
"role": "user", "role": "user",