Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ from langchain.document_loaders.parsers import OpenAIWhisperParser
|
|
13 |
from langchain.schema import AIMessage, HumanMessage
|
14 |
from langchain.llms import HuggingFaceHub
|
15 |
from langchain.llms import HuggingFaceTextGenInference
|
|
|
16 |
from langchain.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
17 |
|
18 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
|
|
13 |
from langchain.schema import AIMessage, HumanMessage
|
14 |
from langchain.llms import HuggingFaceHub
|
15 |
from langchain.llms import HuggingFaceTextGenInference
|
16 |
+
from langchain_core.embeddings import Embeddings
|
17 |
from langchain.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
18 |
|
19 |
from langchain.embeddings.openai import OpenAIEmbeddings
|