Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,8 @@ Original file is located at
|
|
| 12 |
from PyPDF2 import PdfReader
|
| 13 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
| 14 |
from langchain.text_splitter import CharacterTextSplitter
|
| 15 |
-
from langchain.vectorstores import ElasticVectorSearch, Pinecone, Weaviate
|
|
|
|
| 16 |
|
| 17 |
# Get your API keys from openai, you will need to create an account.
|
| 18 |
# Here is the link to get the keys: https://platform.openai.com/account/billing/overview
|
|
|
|
| 12 |
from PyPDF2 import PdfReader
|
| 13 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
| 14 |
from langchain.text_splitter import CharacterTextSplitter
|
| 15 |
+
from langchain.vectorstores import ElasticVectorSearch, Pinecone, Weaviate
|
| 16 |
+
from langchain_community.vectorstores import FAISS
|
| 17 |
|
| 18 |
# Get your API keys from openai, you will need to create an account.
|
| 19 |
# Here is the link to get the keys: https://platform.openai.com/account/billing/overview
|