shishirpatil commited on
Commit
04ff3bf
1 Parent(s): 366246a

Edit model names

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -12,8 +12,8 @@ executable APIs call given natural language instructions and API context.
12
  ## Models Available
13
  |model | functionality|
14
  |---|---|
15
- |gorilla-openfunc-v0 | Given a function, and user intent, returns properly formatted json with the right arguments|
16
- |gorilla-openfunc-v1 | + Parallel functions, and can choose between functions|
17
 
18
  ## Example Usage
19
 
@@ -28,12 +28,12 @@ executable APIs call given natural language instructions and API context.
28
  ```python
29
  import openai
30
 
31
- def get_gorilla_response(prompt="Call me an Uber ride type \"Plus\" in Berkeley at zipcode 94704 in 10 minutes", model="gorilla-openfunc-v0", functions=[]):
32
  openai.api_key = "EMPTY"
33
  openai.api_base = "http://luigi.millennium.berkeley.edu:8000/v1"
34
  try:
35
  completion = openai.ChatCompletion.create(
36
- model="gorilla-openfunc-v1",
37
  temperature=0.0,
38
  messages=[{"role": "user", "content": prompt}],
39
  functions=functions,
 
12
  ## Models Available
13
  |model | functionality|
14
  |---|---|
15
+ |gorilla-openfunctions-v0 | Given a function, and user intent, returns properly formatted json with the right arguments|
16
+ |gorilla-openfunctions-v1 | + Parallel functions, and can choose between functions|
17
 
18
  ## Example Usage
19
 
 
28
  ```python
29
  import openai
30
 
31
+ def get_gorilla_response(prompt="Call me an Uber ride type \"Plus\" in Berkeley at zipcode 94704 in 10 minutes", model="gorilla-openfunctions-v0", functions=[]):
32
  openai.api_key = "EMPTY"
33
  openai.api_base = "http://luigi.millennium.berkeley.edu:8000/v1"
34
  try:
35
  completion = openai.ChatCompletion.create(
36
+ model="gorilla-openfunctions-v0",
37
  temperature=0.0,
38
  messages=[{"role": "user", "content": prompt}],
39
  functions=functions,