-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from FireHead90544/add-providers
build: v0.2.0 out
- Loading branch information
Showing
5 changed files
with
37 additions
and
15 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
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
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,8 +1,17 @@ | ||
import os | ||
from langchain_google_genai import ChatGoogleGenerativeAI | ||
from langchain_google_vertexai import ChatVertexAI | ||
from langchain_openai import ChatOpenAI | ||
from langchain_anthropic import ChatAnthropic | ||
from langchain_groq import ChatGroq | ||
|
||
os.environ["GRPC_VERBOSITY"] = "NONE" | ||
|
||
LLM_PROVIDERS = { | ||
"Gemini": { "provider": ChatGoogleGenerativeAI, "model": "gemini-1.5-flash" }, | ||
"GoogleGenAI": { "provider": ChatGoogleGenerativeAI, "model": "gemini-1.5-flash" }, | ||
"GoogleVertexAI": { "provider": ChatVertexAI, "model": "gemini-1.5-flash" }, | ||
"GroqMistralAI": { "provider": ChatGroq, "model": "mixtral-8x7b-32768" }, | ||
"GroqLLaMa": { "provider": ChatGroq, "model": "llama3-70b-8192" }, | ||
"OpenAI": { "provider": ChatOpenAI, "model": "gpt-4o" }, | ||
"Anthropic": { "provider": ChatAnthropic, "model": "claude-3-5-sonnet-20240620" } | ||
} |
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,3 +1,7 @@ | ||
typer | ||
langchain | ||
langchain-google-genai | ||
langchain-google-genai | ||
langchain-google-vertexai | ||
langchain-groq | ||
langchain-openai | ||
langchain-anthropic |
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