Skip to content

Commit

Permalink
minor README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-fri-end committed Apr 6, 2024
1 parent 1a679a6 commit 4be1bd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import os
from unifyai import Unify
unify = Unify(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY")
api_key=os.environ.get("UNIFY_KEY"),
model="llama-2-13b-chat@anyscale"
)
response = unify.generate(messages="Hello Llama! Who was Isaac Newton?")
Expand Down Expand Up @@ -81,7 +81,7 @@ import os
import asyncio
async_unify = AsyncUnify(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY")
api_key=os.environ.get("UNIFY_KEY"),
model="llama-2-13b-chat@anyscale"
)

Expand All @@ -101,7 +101,7 @@ import os
from unifyai import Unify
unify = Unify(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY")
api_key=os.environ.get("UNIFY_KEY"),
model="llama-2-13b-chat@anyscale"
)
stream = unify.generate(messages="Hello Llama! Who was Isaac Newton?")
Expand All @@ -117,7 +117,7 @@ import os
import asyncio
async_unify = AsyncUnify(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY")
api_key=os.environ.get("UNIFY_KEY"),
model="llama-2-13b-chat@anyscale"
)

Expand All @@ -143,7 +143,7 @@ import os
from unifyai import Unify
unify = Unify(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY")
api_key=os.environ.get("UNIFY_KEY"),
model="llama-2-13b-chat@lowest-input-cost"
)
response = unify.generate(messages="Hello Llama! Who was Isaac Newton?")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "unifyai"
version = "0.5.0"
version = "0.5.1"
readme = "README.md"
description = "A Python package for interacting with the Unify API"
authors = ["Unify <[email protected]>"]
Expand Down

0 comments on commit 4be1bd9

Please sign in to comment.