Skip to content

Commit

Permalink
feat(models): add new Gemini and Claude model variants to QueryInput …
Browse files Browse the repository at this point in the history
…and VectorSearch components
  • Loading branch information
mert-ergun committed Feb 27, 2025
1 parent ed85e46 commit 7217da2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crossbar_llm/backend/tools/langchain_llm_qa_trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ def __init__(
def define_llm(self, model_name):

google_llm_models = [
"gemini-2.0-flash-thinking-exp-01-21",
"gemini-2.0-pro-exp-02-05",
"gemini-2.0-flash",
"gemini-2.0-flash-lite",
"gemini-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
Expand All @@ -433,7 +437,8 @@ def define_llm(self, model_name):
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
"claude-3-5-sonnet-20240620",
"claude-3-5-sonnet-latest",
"claude-3-7-sonnet-latest",
"claude-2.1",
"claude-2.0",
"claude-instant-1.2",
Expand Down
6 changes: 6 additions & 0 deletions crossbar_llm/frontend/src/components/QueryInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ function QueryInput({
'gpt-3.5-turbo-16k',
],
Anthropic: [
'claude-3-5-sonnet-latest',
'claude-3-7-sonnet-latest',
'claude-3-5-sonnet-20240620',
'claude-3-opus-20240229',
'claude-3-sonnet-20240229',
Expand All @@ -76,6 +78,10 @@ function QueryInput({
"deepseek/deepseek-chat",
],
Google: [
'gemini-2.0-flash-thinking-exp-01-21',
'gemini-2.0-pro-exp-02-05',
'gemini-2.0-flash',
'gemini-2.0-flash-lite',
'gemini-pro',
'gemini-1.5-pro-latest',
'gemini-1.5-flash-latest',
Expand Down
6 changes: 6 additions & 0 deletions crossbar_llm/frontend/src/components/VectorSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ function VectorSearch({
'gpt-3.5-turbo-16k',
],
Anthropic: [
'claude-3-5-sonnet-latest',
'claude-3-7-sonnet-latest',
'claude-3-5-sonnet-20240620',
'claude-3-opus-20240229',
'claude-3-sonnet-20240229',
Expand All @@ -77,6 +79,10 @@ function VectorSearch({
"deepseek/deepseek-chat",
],
Google: [
'gemini-2.0-flash-thinking-exp-01-21',
'gemini-2.0-pro-exp-02-05',
'gemini-2.0-flash',
'gemini-2.0-flash-lite',
'gemini-pro',
'gemini-1.5-pro-latest',
'gemini-1.5-flash-latest',
Expand Down

0 comments on commit 7217da2

Please sign in to comment.