Spaces:
Sleeping
Sleeping
add local configs
Browse files- multi_agent_chatbot.py +2 -2
multi_agent_chatbot.py
CHANGED
|
@@ -67,7 +67,7 @@ class MultiAgentState(TypedDict):
|
|
| 67 |
class MultiAgentRAGChatbot:
|
| 68 |
"""Multi-agent RAG chatbot with specialized agents"""
|
| 69 |
|
| 70 |
-
def __init__(self, config_path: str = "
|
| 71 |
"""Initialize the multi-agent chatbot"""
|
| 72 |
self.config = load_config(config_path)
|
| 73 |
|
|
@@ -136,7 +136,7 @@ class MultiAgentRAGChatbot:
|
|
| 136 |
"""Load dynamic data from filter_options.json and add_district_metadata.py"""
|
| 137 |
# Load filter options
|
| 138 |
try:
|
| 139 |
-
fo = Path("filter_options.json")
|
| 140 |
if fo.exists():
|
| 141 |
with open(fo) as f:
|
| 142 |
data = json.load(f)
|
|
|
|
| 67 |
class MultiAgentRAGChatbot:
|
| 68 |
"""Multi-agent RAG chatbot with specialized agents"""
|
| 69 |
|
| 70 |
+
def __init__(self, config_path: str = "src/config/settings.yaml"):
|
| 71 |
"""Initialize the multi-agent chatbot"""
|
| 72 |
self.config = load_config(config_path)
|
| 73 |
|
|
|
|
| 136 |
"""Load dynamic data from filter_options.json and add_district_metadata.py"""
|
| 137 |
# Load filter options
|
| 138 |
try:
|
| 139 |
+
fo = Path("src/config/filter_options.json")
|
| 140 |
if fo.exists():
|
| 141 |
with open(fo) as f:
|
| 142 |
data = json.load(f)
|