Nanda9131 commited on
Commit
ac42d3a
·
verified ·
1 Parent(s): dbe5449

Update ChromaAgent.py

Browse files
Files changed (1) hide show
  1. ChromaAgent.py +4 -4
ChromaAgent.py CHANGED
@@ -174,11 +174,11 @@ def build_graph(provider: str = "huggingface"):
174
  llm = ChatGroq(model="qwen-qwq-32b", temperature=0)
175
  elif provider == "huggingface":
176
  llm = ChatHuggingFace(
177
- llm=HuggingFaceEndpoint(
178
- url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
179
- temperature=0,
180
- )
181
  )
 
182
  else:
183
  raise ValueError("Invalid provider. Choose 'google', 'groq' or 'huggingface'.")
184
 
 
174
  llm = ChatGroq(model="qwen-qwq-32b", temperature=0)
175
  elif provider == "huggingface":
176
  llm = ChatHuggingFace(
177
+ llm=HuggingFaceEndpoint(
178
+ repo_id="mistralai/Mistral-7B-Instruct-v0.2",
179
+ temperature=0,
 
180
  )
181
+ )
182
  else:
183
  raise ValueError("Invalid provider. Choose 'google', 'groq' or 'huggingface'.")
184