Update app.py
All checks were successful
society-ai-hub-container-cache Actions Demo / build (push) Successful in 1m21s
All checks were successful
society-ai-hub-container-cache Actions Demo / build (push) Successful in 1m21s
This commit is contained in:
parent
ba189964cc
commit
11f48f47e3
3
app.py
3
app.py
@ -12,8 +12,7 @@ from langchain.prompts.chat import (
|
|||||||
llm = ChatOpenAI(
|
llm = ChatOpenAI(
|
||||||
temperature=0.7,
|
temperature=0.7,
|
||||||
model_name="llama-3.2-3B-instruct", # Replace with your specific model or endpoint if required
|
model_name="llama-3.2-3B-instruct", # Replace with your specific model or endpoint if required
|
||||||
openai_api_base="https://hub.societyai.com/models/llama-3-2-3b/openai/v1",
|
openai_api_base="https://hub.societyai.com/models/llama-3-2-3b-test/openai/v1",
|
||||||
openai_api_key="EMPTY", # Adjust according to your API key handling
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set up the memory for the chatbot
|
# Set up the memory for the chatbot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user