We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 626bc34 commit cedd574Copy full SHA for cedd574
examples/async_demo.py
@@ -10,7 +10,7 @@
10
11
async def main() -> None:
12
stream = await client.completions.create(
13
- model="text-davinci-003",
+ model="gpt-3.5-turbo-instruct",
14
prompt="Say this is a test",
15
stream=True,
16
)
examples/streaming.py
@@ -13,7 +13,7 @@
def sync_main() -> None:
client = OpenAI()
response = client.completions.create(
- model="text-davinci-002",
17
prompt="1,2,3,",
18
max_tokens=5,
19
temperature=0,
@@ -33,7 +33,7 @@ def sync_main() -> None:
33
async def async_main() -> None:
34
client = AsyncOpenAI()
35
response = await client.completions.create(
36
37
38
39
0 commit comments