Spaces:
Sleeping
Sleeping
Commit ·
7010f68
1
Parent(s): a211848
Update tools and CodeAgent
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ class BasicAgent:
|
|
| 116 |
print("BasicAgent initialized with metadata")
|
| 117 |
global GLOBAL_AGENT
|
| 118 |
GLOBAL_AGENT = self
|
| 119 |
-
self.embed_model = SentenceTransformer("all-MiniLM-L6-v2")
|
| 120 |
|
| 121 |
documents = [item.get("Question", "") for item in self.metadata]
|
| 122 |
|
|
|
|
| 116 |
print("BasicAgent initialized with metadata")
|
| 117 |
global GLOBAL_AGENT
|
| 118 |
GLOBAL_AGENT = self
|
| 119 |
+
self.embed_model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
|
| 120 |
|
| 121 |
documents = [item.get("Question", "") for item in self.metadata]
|
| 122 |
|