Update agent.py
Browse files
agent.py
CHANGED
|
@@ -16,8 +16,8 @@ qa_dict = {
|
|
| 16 |
def build_graph():
|
| 17 |
# Initialize Mistral model
|
| 18 |
llm = HuggingFaceEndpoint(
|
| 19 |
-
|
| 20 |
-
task="conversation",
|
| 21 |
huggingfacehub_api_token=os.environ["HF_TOKEN"]
|
| 22 |
)
|
| 23 |
|
|
|
|
| 16 |
def build_graph():
|
| 17 |
# Initialize Mistral model
|
| 18 |
llm = HuggingFaceEndpoint(
|
| 19 |
+
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
| 20 |
+
# task="conversation",
|
| 21 |
huggingfacehub_api_token=os.environ["HF_TOKEN"]
|
| 22 |
)
|
| 23 |
|