Spaces:
Runtime error
Runtime error
Asaad Almutareb
commited on
Commit
•
57e87b0
1
Parent(s):
86bc433
updated some LC imports due to 'deprecated methods' warning
Browse files
example.env
CHANGED
@@ -10,4 +10,5 @@ SERPAPI_API_KEY=
|
|
10 |
# for chromadb
|
11 |
VECTOR_DATABASE_LOCATION=
|
12 |
|
|
|
13 |
CONVERSATION_COLLECTION_NAME="ConversationMemory"
|
|
|
10 |
# for chromadb
|
11 |
VECTOR_DATABASE_LOCATION=
|
12 |
|
13 |
+
# Name for the Conversation Memory Collection
|
14 |
CONVERSATION_COLLECTION_NAME="ConversationMemory"
|
hf_mixtral_agent.py
CHANGED
@@ -11,7 +11,7 @@ from innovation_pathfinder_ai.structured_tools.structured_tools import (
|
|
11 |
arxiv_search, get_arxiv_paper, google_search, wikipedia_search
|
12 |
)
|
13 |
|
14 |
-
from langchain import PromptTemplate
|
15 |
from innovation_pathfinder_ai.templates.react_json_with_memory import template_system
|
16 |
from innovation_pathfinder_ai.utils import logger
|
17 |
|
|
|
11 |
arxiv_search, get_arxiv_paper, google_search, wikipedia_search
|
12 |
)
|
13 |
|
14 |
+
from langchain.prompts import PromptTemplate
|
15 |
from innovation_pathfinder_ai.templates.react_json_with_memory import template_system
|
16 |
from innovation_pathfinder_ai.utils import logger
|
17 |
|
innovation_pathfinder_ai/vector_store/chroma_vector_store.py
CHANGED
@@ -15,7 +15,7 @@ from langchain_text_splitters import MarkdownHeaderTextSplitter
|
|
15 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
16 |
|
17 |
from langchain_core.documents import Document
|
18 |
-
from
|
19 |
from langchain_community.vectorstores import Chroma
|
20 |
|
21 |
from langchain_community.embeddings.sentence_transformer import (
|
|
|
15 |
from langchain_text_splitters import RecursiveCharacterTextSplitter
|
16 |
|
17 |
from langchain_core.documents import Document
|
18 |
+
from langchain_community.document_loaders import PyPDFLoader
|
19 |
from langchain_community.vectorstores import Chroma
|
20 |
|
21 |
from langchain_community.embeddings.sentence_transformer import (
|