Skip to content

Commit

Permalink
Added api_key argument to chatbot
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-fri-end committed Apr 9, 2024
1 parent 2270716 commit 2290958
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ Our `ChatBot` allows you to start an interactive chat session with any of our su

```python
from unifyai import ChatBot
chat = ChatBot(endpoint="llama-2-7b-chat@anyscale")
chat.run()
agent = ChatBot(
# This is the default and optional to include.
api_key=os.environ.get("UNIFY_KEY"),
endpoint="llama-2-13b-chat@lowest-input-cost"
)
agent.run()
```

0 comments on commit 2290958

Please sign in to comment.