Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -6,13 +6,13 @@ import json
|
|
| 6 |
from tools import rag_tool, support_ticket_tool, store_ticket_info,search
|
| 7 |
from config import llm, memory
|
| 8 |
|
| 9 |
-
tools = Tool(
|
| 10 |
name="WebSearch",
|
| 11 |
func=search.run,
|
| 12 |
description="Use this to search the web for up-to-date information when context is not enough."
|
| 13 |
),
|
| 14 |
|
| 15 |
-
|
| 16 |
name="KnowledgeBase",
|
| 17 |
func=rag_tool,
|
| 18 |
coroutine=rag_tool,
|
|
|
|
| 6 |
from tools import rag_tool, support_ticket_tool, store_ticket_info,search
|
| 7 |
from config import llm, memory
|
| 8 |
|
| 9 |
+
tools = [Tool(
|
| 10 |
name="WebSearch",
|
| 11 |
func=search.run,
|
| 12 |
description="Use this to search the web for up-to-date information when context is not enough."
|
| 13 |
),
|
| 14 |
|
| 15 |
+
Tool(
|
| 16 |
name="KnowledgeBase",
|
| 17 |
func=rag_tool,
|
| 18 |
coroutine=rag_tool,
|