Spaces:
Runtime error
Runtime error
AlbertoFH98
commited on
Commit
·
e1188d0
1
Parent(s):
f7efdfb
Update utils.py
Browse files
utils.py
CHANGED
@@ -9,7 +9,7 @@ from langchain.prompts import PromptTemplate
|
|
9 |
from langchain.schema import StrOutputParser
|
10 |
from langchain.utils import get_from_dict_or_env
|
11 |
from langchain.vectorstores import Chroma
|
12 |
-
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
13 |
from langchain.chains import RetrievalQA, MapReduceDocumentsChain, ReduceDocumentsChain
|
14 |
from langchain.document_loaders import TextLoader
|
15 |
from langchain.embeddings import HuggingFaceEmbeddings, OpenAIEmbeddings
|
|
|
9 |
from langchain.schema import StrOutputParser
|
10 |
from langchain.utils import get_from_dict_or_env
|
11 |
from langchain.vectorstores import Chroma
|
12 |
+
from langchain.text_splitter import RecursiveCharacterTextSplitter, CharacterTextSplitter
|
13 |
from langchain.chains import RetrievalQA, MapReduceDocumentsChain, ReduceDocumentsChain
|
14 |
from langchain.document_loaders import TextLoader
|
15 |
from langchain.embeddings import HuggingFaceEmbeddings, OpenAIEmbeddings
|