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 1010
1111async def main () -> None :
1212 stream = await client .completions .create (
13- model = "text-davinci-003 " ,
13+ model = "gpt-3.5-turbo-instruct " ,
1414 prompt = "Say this is a test" ,
1515 stream = True ,
1616 )
Original file line number Diff line number Diff line change 1313def sync_main () -> None :
1414 client = OpenAI ()
1515 response = client .completions .create (
16- model = "text-davinci-002 " ,
16+ model = "gpt-3.5-turbo-instruct " ,
1717 prompt = "1,2,3," ,
1818 max_tokens = 5 ,
1919 temperature = 0 ,
@@ -33,7 +33,7 @@ def sync_main() -> None:
3333async def async_main () -> None :
3434 client = AsyncOpenAI ()
3535 response = await client .completions .create (
36- model = "text-davinci-002 " ,
36+ model = "gpt-3.5-turbo-instruct " ,
3737 prompt = "1,2,3," ,
3838 max_tokens = 5 ,
3939 temperature = 0 ,
You can’t perform that action at this time.
0 commit comments