Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -70,8 +70,9 @@ api_url_prompt = PromptTemplate(input_variables=['api_docs', 'question'],
|
|
70 |
template=api_url_template)
|
71 |
|
72 |
api_response_template = """
|
73 |
-
|
74 |
-
|
|
|
75 |
and given this API URL: {api_url} for querying, here is the
|
76 |
response from Daysoff's API: {api_response}.
|
77 |
Please provide only information that directly addresses the user's question,
|
|
|
70 |
template=api_url_template)
|
71 |
|
72 |
api_response_template = """
|
73 |
+
With the API Documentation for Daysoff's official API: {api_docs} in mind,
|
74 |
+
and IF user question: {question} contains an alphanumeric identifier consisting of
|
75 |
+
6 capital letters followed by 6 digits (e.g., DAGHNS116478),
|
76 |
and given this API URL: {api_url} for querying, here is the
|
77 |
response from Daysoff's API: {api_response}.
|
78 |
Please provide only information that directly addresses the user's question,
|