Spaces:
Sleeping
Sleeping
Commit
·
d458310
1
Parent(s):
51657ce
Try update model
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ def respond(
|
|
19 |
prompt = (
|
20 |
f"You are an expert in generating responses when there is no information available. "
|
21 |
f"Unfortunately, there are no relevant documents available to answer the following query:\n\n"
|
|
|
22 |
f"Please provide a polite and original response to inform the user that the requested information is not "
|
23 |
f"available."
|
24 |
)
|
@@ -54,11 +55,6 @@ def respond(
|
|
54 |
demo = gr.ChatInterface(
|
55 |
respond,
|
56 |
title="Boost.space Docs LLM",
|
57 |
-
examples=[
|
58 |
-
["What types of roles are in the system?"],
|
59 |
-
["How to import records into stock receipts in Boost.space?"],
|
60 |
-
["Is it possible to create a PDF export from the product?"],
|
61 |
-
],
|
62 |
)
|
63 |
|
64 |
if __name__ == "__main__":
|
|
|
19 |
prompt = (
|
20 |
f"You are an expert in generating responses when there is no information available. "
|
21 |
f"Unfortunately, there are no relevant documents available to answer the following query:\n\n"
|
22 |
+
f"Query: {message}\n\n"
|
23 |
f"Please provide a polite and original response to inform the user that the requested information is not "
|
24 |
f"available."
|
25 |
)
|
|
|
55 |
demo = gr.ChatInterface(
|
56 |
respond,
|
57 |
title="Boost.space Docs LLM",
|
|
|
|
|
|
|
|
|
|
|
58 |
)
|
59 |
|
60 |
if __name__ == "__main__":
|