File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
async def main () -> None :
12
12
stream = await client .completions .create (
13
- model = "gpt-3.5-turbo-instruct " ,
13
+ model = "text-davinci-003 " ,
14
14
prompt = "Say this is a test" ,
15
15
stream = True ,
16
16
)
Original file line number Diff line number Diff line change 13
13
def sync_main () -> None :
14
14
client = OpenAI ()
15
15
response = client .completions .create (
16
- model = "gpt-3.5-turbo-instruct " ,
16
+ model = "text-davinci-002 " ,
17
17
prompt = "1,2,3," ,
18
18
max_tokens = 5 ,
19
19
temperature = 0 ,
@@ -33,7 +33,7 @@ def sync_main() -> None:
33
33
async def async_main () -> None :
34
34
client = AsyncOpenAI ()
35
35
response = await client .completions .create (
36
- model = "gpt-3.5-turbo-instruct " ,
36
+ model = "text-davinci-002 " ,
37
37
prompt = "1,2,3," ,
38
38
max_tokens = 5 ,
39
39
temperature = 0 ,
You can’t perform that action at this time.
0 commit comments