Daemontatox commited on
Commit
5a015e8
·
verified ·
1 Parent(s): 766c288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -57,7 +57,7 @@ CHUTES_KEY = os.getenv("CHUTES_KEY")
57
  # GEMINI=os.getenv("GEMINI_API_KEY")
58
 
59
 
60
- embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
61
 
62
  try:
63
  client = QdrantClient(
@@ -163,9 +163,9 @@ def log_to_qdrant(question: str, answer: str):
163
 
164
  llm = ChatOpenAI(
165
  base_url="https://openrouter.ai/api/v1",
166
- model="openai/gpt-oss-20b:free",
167
  api_key=OPENAPI_KEY,# if you prefer to pass api key in directly instaed of using env vars
168
- temperature=0.1,
169
  max_tokens=None,
170
  timeout=None,
171
  max_retries=3,
 
57
  # GEMINI=os.getenv("GEMINI_API_KEY")
58
 
59
 
60
+ embeddings = HuggingFaceEmbeddings(model_name="ibm-granite/granite-embedding-small-english-r2")
61
 
62
  try:
63
  client = QdrantClient(
 
163
 
164
  llm = ChatOpenAI(
165
  base_url="https://openrouter.ai/api/v1",
166
+ model="z-ai/glm-4.5-air:free",
167
  api_key=OPENAPI_KEY,# if you prefer to pass api key in directly instaed of using env vars
168
+ temperature=0.2,
169
  max_tokens=None,
170
  timeout=None,
171
  max_retries=3,