Skip to content

Commit

Permalink
Fixed an error in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-fri-end committed Mar 28, 2024
1 parent 3967f7e commit bdc28ed
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 @@ -16,7 +16,7 @@ unify = Unify(
# This is the default and can be omitted
api_key=os.environ.get("UNIFY_KEY")
)
response = Unify.generate(messages="Hello Llama! Who was Isaac Newton?", model="llama-2-13b-chat", provider="anyscale")
response = unify.generate(messages="Hello Llama! Who was Isaac Newton?", model="llama-2-13b-chat", provider="anyscale")
```
`response` is a string containing the model's output. You can explore our list of supported models and providers through the [benchmarks interface](https://unify.ai/hub).

Expand Down Expand Up @@ -68,7 +68,7 @@ unify = Unify(
# This is the default and can be omitted
api_key=os.environ.get("UNIFY_KEY")
)
stream = Unify.generate(messages="Hello Llama! Who was Isaac Newton?", model="llama-2-13b-chat", provider="anyscale", stream=True)
stream = unify.generate(messages="Hello Llama! Who was Isaac Newton?", model="llama-2-13b-chat", provider="anyscale", stream=True)
for chunk in stream:
print(x, end="")
```
Expand Down

0 comments on commit bdc28ed

Please sign in to comment.