Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,13 @@ from langchain.document_loaders.parsers import OpenAIWhisperParser
|
|
26 |
from langchain.schema import AIMessage, HumanMessage
|
27 |
from langchain.llms import HuggingFaceHub
|
28 |
from langchain.llms import HuggingFaceTextGenInference
|
29 |
-
from
|
30 |
from langchain.retrievers.tavily_search_api import TavilySearchAPIRetriever
|
31 |
|
32 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
33 |
from langchain.prompts import PromptTemplate
|
34 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
35 |
-
from
|
36 |
from chromadb.errors import InvalidDimensionException
|
37 |
from utils import *
|
38 |
from beschreibungen import *
|
|
|
26 |
from langchain.schema import AIMessage, HumanMessage
|
27 |
from langchain.llms import HuggingFaceHub
|
28 |
from langchain.llms import HuggingFaceTextGenInference
|
29 |
+
from langchain_community.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
30 |
from langchain.retrievers.tavily_search_api import TavilySearchAPIRetriever
|
31 |
|
32 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
33 |
from langchain.prompts import PromptTemplate
|
34 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
35 |
+
from langchain_community.vectorstores import Chroma
|
36 |
from chromadb.errors import InvalidDimensionException
|
37 |
from utils import *
|
38 |
from beschreibungen import *
|