From 4be1bd9882313e2752eac0e61c01e8b016f3252e Mon Sep 17 00:00:00 2001 From: Anwaar Khalid Date: Sat, 6 Apr 2024 07:55:29 +0000 Subject: [PATCH] minor README fix --- README.md | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4c7cf60..1a94fb6 100644 --- a/README.md +++ b/README.md @@ -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?") @@ -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" ) @@ -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?") @@ -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" ) @@ -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?") diff --git a/pyproject.toml b/pyproject.toml index 494a910..cf25216 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "]