Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,9 @@ from langchain_core.vectorstores import InMemoryVectorStore
|
|
3 |
from langchain.chains import RetrievalQA
|
4 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
5 |
from langchain_groq import ChatGroq
|
6 |
-
|
|
|
|
|
7 |
|
8 |
"""
|
9 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
|
|
3 |
from langchain.chains import RetrievalQA
|
4 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
5 |
from langchain_groq import ChatGroq
|
6 |
+
from langchain_core.prompts import ChatPromptTemplate
|
7 |
+
from langchain.chains import create_retrieval_chain
|
8 |
+
from langchain.chains.combine_documents import create_stuff_documents_chain
|
9 |
|
10 |
"""
|
11 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|