Skip to content

Commit

Permalink
feat(api): update via SDK Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jun 5, 2024
1 parent e39f9f1 commit 235f084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ client = Writer()

stream = client.completions.create(
model="palmyra-x-32k",
prompt="Hi, my name is",
prompt="Hi, my name is ",
stream=True,
)
for completion in stream:
Expand All @@ -109,7 +109,7 @@ client = AsyncWriter()

stream = await client.completions.create(
model="palmyra-x-32k",
prompt="Hi, my name is",
prompt="Hi, my name is ",
stream=True,
)
async for completion in stream:
Expand Down

0 comments on commit 235f084

Please sign in to comment.