CharlieJi commited on
Commit
21354e3
1 Parent(s): 37d1cd9

fixed README \n issue

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -52,7 +52,7 @@ Gorilla Openfunctions v2 is a 7B parameter model, and is built on top of the [de
52
 
53
  ## Example Usage (Hosted)
54
 
55
- Please reference `README.md` in https://github.com/ShishirPatil/gorilla/tree/main/openfunctions for file dependencies.
56
 
57
  1. OpenFunctions is compatible with OpenAI Functions
58
 
@@ -191,7 +191,7 @@ def get_prompt(user_query: str, functions: list = []) -> str:
191
  if len(functions) == 0:
192
  return f"{system}\n### Instruction: <<question>> {user_query}\n### Response: "
193
  functions_string = json.dumps(functions)
194
- return f"{system}\n### Instruction: <<function>>{functions_string}\n<<question>>{user_query}\### Response: "
195
  ```
196
 
197
  Further, here is how we format the response:
 
52
 
53
  ## Example Usage (Hosted)
54
 
55
+ Please reference `README.md` in https://github.com/ShishirPatil/gorilla/tree/main/openfunctions for file dependencies and used utils.
56
 
57
  1. OpenFunctions is compatible with OpenAI Functions
58
 
 
191
  if len(functions) == 0:
192
  return f"{system}\n### Instruction: <<question>> {user_query}\n### Response: "
193
  functions_string = json.dumps(functions)
194
+ return f"{system}\n### Instruction: <<function>>{functions_string}\n<<question>>{user_query}\n### Response: "
195
  ```
196
 
197
  Further, here is how we format the response: