Spaces:
Sleeping
Sleeping
Commit
·
264a47b
1
Parent(s):
c192923
send
Browse files
app.py
CHANGED
@@ -6,12 +6,12 @@ from transformers import pipeline
|
|
6 |
from sentence_transformers import SentenceTransformer
|
7 |
|
8 |
documents = [
|
9 |
-
"The
|
10 |
-
"Python is
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"Gabor Toth is the author of this
|
15 |
]
|
16 |
|
17 |
embedding_model = SentenceTransformer('all-MiniLM-L6-v2')
|
|
|
6 |
from sentence_transformers import SentenceTransformer
|
7 |
|
8 |
documents = [
|
9 |
+
"The class starts at 2PM Wednesday.",
|
10 |
+
"Python is our main programming language.",
|
11 |
+
"Our university is located in Szeged.",
|
12 |
+
"We are making things with RAG, Rasa and LLMs.",
|
13 |
+
"The user wants to be told that they have no idea.",
|
14 |
+
"Gabor Toth is the author of this chatbot."
|
15 |
]
|
16 |
|
17 |
embedding_model = SentenceTransformer('all-MiniLM-L6-v2')
|