Aleix Hernandez commited on
Commit ·
5c9ba83
1
Parent(s): 50d8f8a
try to fix supabase query function
Browse files
agent.py
CHANGED
|
@@ -158,7 +158,7 @@ vector_store = SupabaseVectorStore(
|
|
| 158 |
client=supabase,
|
| 159 |
embedding= embeddings,
|
| 160 |
table_name="documents",
|
| 161 |
-
query_name="
|
| 162 |
)
|
| 163 |
create_retriever_tool = create_retriever_tool(
|
| 164 |
retriever=vector_store.as_retriever(),
|
|
@@ -167,7 +167,6 @@ create_retriever_tool = create_retriever_tool(
|
|
| 167 |
)
|
| 168 |
|
| 169 |
|
| 170 |
-
|
| 171 |
tools = [
|
| 172 |
multiply,
|
| 173 |
add,
|
|
|
|
| 158 |
client=supabase,
|
| 159 |
embedding= embeddings,
|
| 160 |
table_name="documents",
|
| 161 |
+
query_name="match_documents_langchain",
|
| 162 |
)
|
| 163 |
create_retriever_tool = create_retriever_tool(
|
| 164 |
retriever=vector_store.as_retriever(),
|
|
|
|
| 167 |
)
|
| 168 |
|
| 169 |
|
|
|
|
| 170 |
tools = [
|
| 171 |
multiply,
|
| 172 |
add,
|