Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ from langchain.schema import AIMessage, HumanMessage
|
|
21 |
from langchain.llms import HuggingFaceHub
|
22 |
from langchain.llms import HuggingFaceTextGenInference
|
23 |
from langchain.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
|
|
24 |
|
25 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
26 |
from langchain.prompts import PromptTemplate
|
|
|
21 |
from langchain.llms import HuggingFaceHub
|
22 |
from langchain.llms import HuggingFaceTextGenInference
|
23 |
from langchain.embeddings import HuggingFaceInstructEmbeddings, HuggingFaceEmbeddings, HuggingFaceBgeEmbeddings, HuggingFaceInferenceAPIEmbeddings
|
24 |
+
from langchain.retrievers.tavily_search_api import TavilySearchAPIRetriever
|
25 |
|
26 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
27 |
from langchain.prompts import PromptTemplate
|