From e5f60a8885f3967986dc40cdc830801737798d3a Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Tue, 17 Sep 2024 12:29:32 -0700 Subject: [PATCH] Remove dropdowns --- README.md | 92 +++++-------------------------------------------------- 1 file changed, 7 insertions(+), 85 deletions(-) diff --git a/README.md b/README.md index 29880b3..16777af 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ 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 Model + +The defaults values for `model_name` are shown below: ```yaml model_name: anthropic/claude-3-5-sonnet-20240620 @@ -50,7 +50,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 +60,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 +70,7 @@ To use OpenAI's chat models: OPENAI_API_KEY=your-api-key ``` -
+ @@ -96,7 +86,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 +149,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"