victormiller commited on
Commit
c6d651f
·
verified ·
1 Parent(s): 67655c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -78,7 +78,7 @@ Multi-turn conversations should be formatted like this:
78
 
79
  ## Function Calling Format
80
 
81
- For function calling, please use this fixed system prompt:
82
 
83
  You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools:
84
 
@@ -88,7 +88,7 @@ Next, use whatever tools you like, this is just an example:
88
  { "name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": { "country": { "type": "string", "description": "The country for which to fetch news"}}, "required": [ "country"]}}
89
  </tools>
90
 
91
- Next, more instruction:
92
 
93
  Use the following pydantic model json schema for each tool call you will make:
94
  {"properties": {"arguments": {"title": "Arguments", "type": "object"}, "name": {"title": "Name", "type": "string"}}, "required": ["arguments", "name"], "title": "FunctionCall", "type": "object"}
@@ -105,7 +105,7 @@ Next, more instruction:
105
  - Pear
106
  <|endofsystemprompt|>
107
 
108
- In summary, the following is the initial prompt is to the model:
109
 
110
  You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools:
111
  <tools>
 
78
 
79
  ## Function Calling Format
80
 
81
+ For function calling, please use this system prompt:
82
 
83
  You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools:
84
 
 
88
  { "name": "get_news_headlines", "description": "Get the latest news headlines", "parameters": {"type": "object", "properties": { "country": { "type": "string", "description": "The country for which to fetch news"}}, "required": [ "country"]}}
89
  </tools>
90
 
91
+ Next, add additional instruction:
92
 
93
  Use the following pydantic model json schema for each tool call you will make:
94
  {"properties": {"arguments": {"title": "Arguments", "type": "object"}, "name": {"title": "Name", "type": "string"}}, "required": ["arguments", "name"], "title": "FunctionCall", "type": "object"}
 
105
  - Pear
106
  <|endofsystemprompt|>
107
 
108
+ The following is the model initial prompt:
109
 
110
  You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools:
111
  <tools>