Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -233,10 +233,15 @@ def get_response(message, history):
|
|
233 |
"input": message
|
234 |
})
|
235 |
print(response)
|
236 |
-
return response[-1]['generation']['content']
|
237 |
|
238 |
|
239 |
-
|
|
|
|
|
|
|
|
|
|
|
240 |
|
241 |
|
242 |
def simple(text:str):
|
|
|
233 |
"input": message
|
234 |
})
|
235 |
print(response)
|
236 |
+
return response#[-1]['generation']['content']
|
237 |
|
238 |
|
239 |
+
#####
|
240 |
+
vs = get_vectorstore_from_url("https://www.bofrost.de/faq/")
|
241 |
+
vs = get_vectorstore_from_url("https://www.bofrost.de/shop/kartoffelprodukte_5539/pommes-frites_5540/mikrowellen-pommes.html?position=7&clicked=")
|
242 |
+
vs = get_vectorstore_from_url("https://www.bofrost.de/shop/kartoffelprodukte_5539/pommes-frites_5540/backofen-knusper-frites-1200-g.html?position=1&clicked=search")
|
243 |
+
vs = get_vectorstore_from_url("https://www.bofrost.de/shop/laenderkueche_5573/asiatische-kueche_5574/chinesische-bratnudeln.html?emcs0=1&emcs1=Produktdetailseite&emcs2=00554&emcs3=01270&clicked=recommendation&position=2")
|
244 |
+
vs = get_vectorstore_from_url("https://www.bofrost.de/shop/fertige-gerichte_5507/pfannengerichte_5508/westfaelisches-gruenkohlgericht.html?emcs0=98&emcs1=Produktdetailseite&emcs2=00170&emcs3=00554&clicked=recommendation&position=1")
|
245 |
|
246 |
|
247 |
def simple(text:str):
|