hiieu commited on
Commit
0eac123
1 Parent(s): 647a8e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -56,7 +56,7 @@ functions_metadata = [
56
  messages = [
57
  { "role": "system", "content": f"""You are a helpful assistant with access to the following functions: \n {str(functions_metadata)}\n\nTo use these functions respond with:\n<functioncall> {{ "name": "function_name", "arguments": {{ "arg_1": "value_1", "arg_1": "value_1", ... }} }} </functioncall>\n\nEdge cases you must handle:\n - If there are no functions that match the user request, you will respond politely that you cannot help."""},
58
  { "role": "user", "content": "What is the temperature in Tokyo right now?"},
59
- { "role": "gpt", "content": """<functioncall> {"name": "get_temperature", "arguments": '{"city": "Tokyo"}'} </functioncall>"""},
60
  { "role": "user", "content": """<function_response> {"temperature":30 C} </function_response>"""}
61
  ]
62
 
 
56
  messages = [
57
  { "role": "system", "content": f"""You are a helpful assistant with access to the following functions: \n {str(functions_metadata)}\n\nTo use these functions respond with:\n<functioncall> {{ "name": "function_name", "arguments": {{ "arg_1": "value_1", "arg_1": "value_1", ... }} }} </functioncall>\n\nEdge cases you must handle:\n - If there are no functions that match the user request, you will respond politely that you cannot help."""},
58
  { "role": "user", "content": "What is the temperature in Tokyo right now?"},
59
+ { "role": "assistant", "content": """<functioncall> {"name": "get_temperature", "arguments": '{"city": "Tokyo"}'} </functioncall>"""},
60
  { "role": "user", "content": """<function_response> {"temperature":30 C} </function_response>"""}
61
  ]
62