Spaces:
Sleeping
Sleeping
test with whole dataset
Browse files- .gitignore +2 -1
- src/chatbot.py +2 -2
.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
__pycache__
|
|
|
|
1 |
+
__pycache__
|
2 |
+
hf_upload.py
|
src/chatbot.py
CHANGED
@@ -54,8 +54,8 @@ prompt2 = ChatPromptTemplate.from_template("""Beantworte die folgende Frage auf
|
|
54 |
|
55 |
|
56 |
folder_path = "./src/FAISS"
|
57 |
-
|
58 |
-
index_name = "legislature20"
|
59 |
db = get_vectorstore(embeddings=embeddings, folder_path=folder_path, index_name=index_name)
|
60 |
|
61 |
def chatbot(message, history, db=db, llm=llm, prompt=prompt2):
|
|
|
54 |
|
55 |
|
56 |
folder_path = "./src/FAISS"
|
57 |
+
index_name = "speeches_1949_09_12"
|
58 |
+
#index_name = "legislature20"
|
59 |
db = get_vectorstore(embeddings=embeddings, folder_path=folder_path, index_name=index_name)
|
60 |
|
61 |
def chatbot(message, history, db=db, llm=llm, prompt=prompt2):
|