Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ from langchain_huggingface import HuggingFaceEndpoint
|
|
22 |
from langchain_huggingface import HuggingFaceEmbeddings
|
23 |
#from langchain_community.llms import HuggingFaceTextGenInference
|
24 |
#from langchain_community.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
25 |
-
from langchain.prompts import PromptTemplate
|
|
|
26 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
27 |
from langchain_community.vectorstores import Chroma
|
28 |
from chromadb.errors import InvalidDimensionException
|
|
|
22 |
from langchain_huggingface import HuggingFaceEmbeddings
|
23 |
#from langchain_community.llms import HuggingFaceTextGenInference
|
24 |
#from langchain_community.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
25 |
+
#from langchain.prompts import PromptTemplate
|
26 |
+
#from langchain.chains import Runnable.................................
|
27 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
28 |
from langchain_community.vectorstores import Chroma
|
29 |
from chromadb.errors import InvalidDimensionException
|