Spaces:
Sleeping
Sleeping
Update libraries
Browse files
app.py
CHANGED
@@ -3,11 +3,11 @@ from urllib.parse import urlparse, parse_qs
|
|
3 |
import pandas as pd
|
4 |
import unicodedata as uni
|
5 |
import emoji
|
6 |
-
from
|
7 |
-
from
|
8 |
-
from
|
9 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
10 |
-
from
|
11 |
from langchain.chains import RetrievalQA
|
12 |
from tokopedia import request_product_id, request_product_review
|
13 |
import gradio as gr
|
|
|
3 |
import pandas as pd
|
4 |
import unicodedata as uni
|
5 |
import emoji
|
6 |
+
from langchain_community.chat_models import ChatOpenAI
|
7 |
+
from langchain_community.embeddings import HuggingFaceEmbeddings
|
8 |
+
from langchain_community.document_loaders import DataFrameLoader
|
9 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
10 |
+
from langchain_community.vectorstores import FAISS
|
11 |
from langchain.chains import RetrievalQA
|
12 |
from tokopedia import request_product_id, request_product_review
|
13 |
import gradio as gr
|