diff --git a/README.md b/README.md index 29880b3..3dc76e2 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,7 @@ The primary [search tool](./src/react_agent/tools.py) [^1] used is [Tavily](http Setup instruction auto-generated by `langgraph template lock`. DO NOT EDIT MANUALLY. --> -
-Setup for `model_name` -The `llm` configuration defaults are shown below: +### Setup ModelThe defaults values for `model_name` are shown below: ```yaml model_name: anthropic/claude-3-5-sonnet-20240620 @@ -50,7 +48,7 @@ model_name: anthropic/claude-3-5-sonnet-20240620 Follow the instructions below to get set up, or pick one of the additional options. -### Anthropic Chat Models +#### Anthropic To use Anthropic's chat models: @@ -60,17 +58,7 @@ To use Anthropic's chat models: ``` ANTHROPIC_API_KEY=your-api-key ``` -### Fireworks Chat Models - -To use Fireworks AI's chat models: - -1. Sign up for a [Fireworks AI account](https://app.fireworks.ai/signup) and obtain an API key. -2. Add your Fireworks AI API key to your `.env` file: - -``` -FIREWORKS_API_KEY=your-api-key -``` -#### OpenAI Chat Models +#### OpenAI To use OpenAI's chat models: @@ -80,7 +68,7 @@ To use OpenAI's chat models: OPENAI_API_KEY=your-api-key ``` -
+ @@ -96,7 +84,7 @@ End setup instructions 1. **Add new tools**: Extend the agent's capabilities by adding new tools in [tools.py](./src/react_agent/tools.py). These can be any Python functions that perform specific tasks. 2. **Select a different model**: We default to Anthropic's Claude 3 Sonnet. You can select a compatible chat model using `provider/model-name` via configuration. Example: `openai/gpt-4-turbo-preview`. -3. **Customize the prompt**: We provide a default system prompt in [configuration.py](./src/react_agent/configuration.py). You can easily update this via configuration in the studio. +3. **Customize the prompt**: We provide a default system prompt in [prompts.py](./src/react_agent/prompts.py). You can easily update this via configuration in the studio. You can also quickly extend this template by: @@ -159,74 +147,6 @@ Configuration auto-generated by `langgraph template lock`. DO NOT EDIT MANUALLY. "value": "anthropic/claude-instant-1.2", "variables": "ANTHROPIC_API_KEY" }, - { - "value": "fireworks/gemma2-9b-it", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3-70b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3-70b-instruct-hf", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3-8b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3-8b-instruct-hf", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3p1-405b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3p1-405b-instruct-long", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3p1-70b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/llama-v3p1-8b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/mixtral-8x22b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/mixtral-8x7b-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/mixtral-8x7b-instruct-hf", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/mythomax-l2-13b", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/phi-3-vision-128k-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/phi-3p5-vision-instruct", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/starcoder-16b", - "variables": "FIREWORKS_API_KEY" - }, - { - "value": "fireworks/yi-large", - "variables": "FIREWORKS_API_KEY" - }, { "value": "openai/gpt-3.5-turbo", "variables": "OPENAI_API_KEY"