Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Aug 1, 2024
1 parent 99b6f5b commit c5fdc23
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 @@ -94,7 +94,7 @@ client = Writer()

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

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

0 comments on commit c5fdc23

Please sign in to comment.