Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -11,7 +11,7 @@ from langchain.document_loaders import TextLoader # Or a custom loader for .doc
|
|
| 11 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 12 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
| 13 |
from langchain.vectorstores import FAISS
|
| 14 |
-
from
|
| 15 |
from langchain.chains import RetrievalQA
|
| 16 |
from langchain_google_genai import ChatGoogleGenerativeAI # Import the GoogleGenerativeAI class
|
| 17 |
from langchain.prompts import PromptTemplate
|
|
|
|
| 11 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 12 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
| 13 |
from langchain.vectorstores import FAISS
|
| 14 |
+
from langchain_chroma import Chroma
|
| 15 |
from langchain.chains import RetrievalQA
|
| 16 |
from langchain_google_genai import ChatGoogleGenerativeAI # Import the GoogleGenerativeAI class
|
| 17 |
from langchain.prompts import PromptTemplate
|