-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify config, use dataclasses
- Loading branch information
1 parent
8ee7604
commit 4fa290b
Showing
2 changed files
with
81 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
[llm] | ||
# Choose the LLM provider: openai, aws, or ollama | ||
vendor = "openai" | ||
simple_model = "gpt-4o-mini" # Faster, less expensive model for straightforward tasks | ||
complex_model = "gpt-4o" # More powerful model for complex reasoning or generation | ||
region_name = "us-east-1" # AWS region (only applicable when vendor is "aws") | ||
base_url = "http://localhost:11434" # Ollama API endpoint (only applicable when vendor is "ollama") | ||
[vendor] | ||
name = "openai" # openai, aws, ollama | ||
|
||
[embeddings] | ||
# Choose the embeddings provider: openai, aws, or ollama | ||
vendor = "openai" | ||
model = "text-embedding-ada-002" # Embedding model to use | ||
region_name = "us-east-1" # AWS region (only applicable when vendor is "aws") | ||
base_url = "http://localhost:11434" # Ollama API endpoint (only applicable when vendor is "ollama") | ||
[aws] | ||
simple_model = "anthropic.claude-3-haiku-20240307-v1:0" | ||
complex_model = "anthropic.claude-3-5-sonnet-20240620-v1:0" | ||
embeddings_model = "amazon.titan-embed-text-v1" | ||
region_name = "us-east-1" | ||
|
||
[openai] | ||
simple_model = "gpt-4o-mini" | ||
complex_model = "gpt-4o" | ||
embeddings_model = "text-embedding-ada-002" | ||
|
||
[ollama] | ||
simple_model = "llama3.1" | ||
complex_model = "llama3.1:70b" | ||
embeddings_model = "llama3.1" | ||
base_url = "http://localhost:11434" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters