Skip to content

Commit 13cbe08

Browse files
new claude sonnet model added (#1299)
1 parent a49ed27 commit 13cbe08

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

backend/example.env

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ LLM_MODEL_CONFIG_diffbot="diffbot,diffbot_api_key"
4242
LLM_MODEL_CONFIG_azure_ai_gpt_35="azure_deployment_name,azure_endpoint or base_url,azure_api_key,api_version"
4343
LLM_MODEL_CONFIG_azure_ai_gpt_4o="gpt-4o,https://YOUR-ENDPOINT.openai.azure.com/,azure_api_key,api_version"
4444
LLM_MODEL_CONFIG_groq_llama3_70b="model_name,base_url,groq_api_key"
45-
LLM_MODEL_CONFIG_anthropic_claude_3_5_sonnet="model_name,anthropic_api_key"
45+
LLM_MODEL_CONFIG_anthropic_claude_4_sonnet="model_name,anthropic_api_key" #model_name="claude-sonnet-4-20250514"
4646
LLM_MODEL_CONFIG_fireworks_llama4_maverick="model_name,fireworks_api_key"
47-
LLM_MODEL_CONFIG_bedrock_claude_3_5_sonnet="model_name,aws_access_key_id,aws_secret__access_key,region_name"
48-
LLM_MODEL_CONFIG_ollama_llama3="model_name,model_local_url"
47+
LLM_MODEL_CONFIG_ollama_llama3="llama3_model_name,model_local_url"
4948
YOUTUBE_TRANSCRIPT_PROXY="https://user:pass@domain:port"
5049
EFFECTIVE_SEARCH_RATIO=5
5150
GRAPH_CLEANUP_MODEL="openai_gpt_4o"

frontend/src/utils/Constants.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ export const llms =
2626
'azure_ai_gpt_4o',
2727
'ollama_llama3',
2828
'groq_llama3_70b',
29-
'anthropic_claude_3_7_sonnet',
29+
'anthropic_claude_4_sonnet',
3030
'fireworks_llama4_maverick',
3131
'fireworks_llama4_scout',
3232
'fireworks_qwen72b_instruct',
33-
'bedrock_claude_3_5_sonnet',
3433
'bedrock_nova_micro_v1',
3534
'bedrock_nova_lite_v1',
3635
'bedrock_nova_pro_v1',
@@ -54,10 +53,9 @@ export const supportedLLmsForRagas = [
5453
'azure_ai_gpt_35',
5554
'azure_ai_gpt_4o',
5655
'groq_llama3_70b',
57-
'anthropic_claude_3_7_sonnet',
56+
'anthropic_claude_4_sonnet',
5857
'fireworks_llama4_maverick',
5958
'fireworks_llama4_scout',
60-
'bedrock_claude_3_5_sonnet',
6159
'openai_gpt_o3_mini',
6260
'llama4_maverick',
6361
'fireworks_qwen3_30b',
@@ -72,10 +70,9 @@ export const supportedLLmsForGroundTruthMetrics = [
7270
'azure_ai_gpt_35',
7371
'azure_ai_gpt_4o',
7472
'groq_llama3_70b',
75-
'anthropic_claude_3_7_sonnet',
73+
'anthropic_claude_4_sonnet',
7674
'fireworks_llama4_maverick',
7775
'fireworks_llama4_scout',
78-
'bedrock_claude_3_5_sonnet',
7976
'openai_gpt_o3_mini',
8077
'llama4_maverick',
8178
'fireworks_qwen3_30b',

0 commit comments

Comments
 (0)