Spaces:
Running
Running
Commit
β’
e57e05b
1
Parent(s):
42cdfbb
Rename files for consistency
Browse files
agents/{semantic_search_agent.py β dataset_semantic_search_agent.py}
RENAMED
@@ -3,7 +3,7 @@ from langchain_community.vectorstores import FAISS
|
|
3 |
from langchain_huggingface import HuggingFaceEmbeddings
|
4 |
|
5 |
|
6 |
-
class
|
7 |
def __init__(self, vector_store_path: str) -> None:
|
8 |
self._vector_store = FAISS.load_local(vector_store_path, HuggingFaceEmbeddings(), allow_dangerous_deserialization=True)
|
9 |
|
|
|
3 |
from langchain_huggingface import HuggingFaceEmbeddings
|
4 |
|
5 |
|
6 |
+
class DatasetSemanticSearchAgent:
|
7 |
def __init__(self, vector_store_path: str) -> None:
|
8 |
self._vector_store = FAISS.load_local(vector_store_path, HuggingFaceEmbeddings(), allow_dangerous_deserialization=True)
|
9 |
|
agents/{google_search_agent.py β google_serper_search_agent.py}
RENAMED
@@ -2,7 +2,7 @@ import pandas as pd
|
|
2 |
from langchain_community.utilities import GoogleSerperAPIWrapper
|
3 |
|
4 |
|
5 |
-
class
|
6 |
def __init__(self) -> None:
|
7 |
self._api = GoogleSerperAPIWrapper()
|
8 |
|
|
|
2 |
from langchain_community.utilities import GoogleSerperAPIWrapper
|
3 |
|
4 |
|
5 |
+
class GoogleSerperSearchAgent:
|
6 |
def __init__(self) -> None:
|
7 |
self._api = GoogleSerperAPIWrapper()
|
8 |
|