Skip to content

Commit

Permalink
Create llms_temp
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-in-pm authored Mar 17, 2024
1 parent 90e9684 commit eaccf17
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions llms_temp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Large Language Models list:

Groq:
llm = ChatOpenAI(
openai_api_base="https://api.groq.com/openai/v1", # https://api.openai.com/v1 or https://api.groq.com/openai/v1
openai_api_key=os.getenv("GROQ_API_KEY"), # os.getenv("OPENAI_API_KEY") or os.getenv("GROQ_API_KEY")
model_name="mixtral-8x7b-32768" # gpt-4-turbo-preview or mixtral-8x7b-32768

Ollama:
llm = ChatOpenAI(
openai_api_base="http://localhost:11434/v1", # https://api.openai.com/v1 or https://api.groq.com/openai/v1
openai_api_key="Null", # os.getenv("OPENAI_API_KEY") or os.getenv("GROQ_API_KEY")
model_name="mistral" # gpt-4-turbo-preview or mixtral-8x7b-32768
)

0 comments on commit eaccf17

Please sign in to comment.