mirror of
https://github.com/langchain-ai/ambient-agent-101.git
synced 2026-07-01 21:14:02 -04:00
Update README.md with Alternative Model Instructions
This commit is contained in:
@@ -40,20 +40,15 @@ python3 --version
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
* Edit the `.env` file with the following:
|
||||
```shell
|
||||
LANGSMITH_API_KEY=your_langsmith_api_key
|
||||
LANGSMITH_TRACING=true
|
||||
LANGSMITH_PROJECT="interrupt-workshop"
|
||||
OPENAI_API_KEY=your_openai_api_key
|
||||
```
|
||||
### Alternative Models Instructions
|
||||
|
||||
If you are using alternative models (e.g., Anthropic, Bedrock, AzureOpenAI) instead of OpenAI, there are a few things you need to do.
|
||||
|
||||
* Set necessary environment variables in the `.env` file.
|
||||
|
||||
* Navigate to [utils.py](/src/email_assistant/utils.py), and uncomment the code for the model that you are looking to run.
|
||||
|
||||
|
||||
* You can also set the environment variables in your terminal:
|
||||
```shell
|
||||
export LANGSMITH_API_KEY=your_langsmith_api_key
|
||||
export LANGSMITH_TRACING=true
|
||||
export OPENAI_API_KEY=your_openai_api_key
|
||||
```
|
||||
|
||||
### Package Installation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user