Update agent.py
Browse files
agent.py
CHANGED
@@ -180,7 +180,7 @@ def build_graph(provider: str = "huggingface"):
|
|
180 |
# TODO: Add huggingface endpoint
|
181 |
llm = ChatHuggingFace(
|
182 |
llm=HuggingFaceEndpoint(
|
183 |
-
|
184 |
temperature=0.2,
|
185 |
),
|
186 |
)
|
|
|
180 |
# TODO: Add huggingface endpoint
|
181 |
llm = ChatHuggingFace(
|
182 |
llm=HuggingFaceEndpoint(
|
183 |
+
endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
|
184 |
temperature=0.2,
|
185 |
),
|
186 |
)
|