Spaces:
Sleeping
Sleeping
fromcarlostocosta
commited on
Commit
•
6d0776d
1
Parent(s):
f7e8e04
Changes to imports
Browse files
main.py
CHANGED
@@ -1,23 +1,11 @@
|
|
1 |
import os
|
2 |
-
import sys
|
3 |
-
import time
|
4 |
|
5 |
-
import InstructorEmbedding
|
6 |
-
import pandas as pd
|
7 |
import qdrant_client
|
8 |
import streamlit as st
|
9 |
from langchain.chains import RetrievalQA
|
10 |
-
from langchain.embeddings import HuggingFaceInstructEmbeddings
|
11 |
from langchain.llms import HuggingFaceHub
|
12 |
-
from
|
13 |
-
CharacterTextSplitter,
|
14 |
-
RecursiveCharacterTextSplitter,
|
15 |
-
)
|
16 |
-
from langchain.vectorstores import Qdrant
|
17 |
-
from langchain_community.document_loaders import TextLoader
|
18 |
-
from langchain_community.vectorstores import FAISS, Chroma
|
19 |
from langchain_openai import OpenAIEmbeddings
|
20 |
-
from qdrant_client.http import models
|
21 |
|
22 |
from settings import SETTINGS
|
23 |
|
|
|
1 |
import os
|
|
|
|
|
2 |
|
|
|
|
|
3 |
import qdrant_client
|
4 |
import streamlit as st
|
5 |
from langchain.chains import RetrievalQA
|
|
|
6 |
from langchain.llms import HuggingFaceHub
|
7 |
+
from langchain_community.vectorstores import FAISS
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
from langchain_openai import OpenAIEmbeddings
|
|
|
9 |
|
10 |
from settings import SETTINGS
|
11 |
|