Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,6 @@ Your task is to construct the most efficient API URL to answer
|
|
48 |
the user's question, ensuring the
|
49 |
call is optimized to include only the necessary information.
|
50 |
Question: {question}
|
51 |
-
API URL:
|
52 |
"""
|
53 |
api_url_prompt = PromptTemplate(input_variables=['api_docs_mck', 'question'],
|
54 |
template=api_url_template)
|
@@ -64,7 +63,6 @@ as if a human customer service agent is providing this information.
|
|
64 |
Adapt to user's language. By default, you speak Norwegian.
|
65 |
Booking information:
|
66 |
"""
|
67 |
-
# omitting technical details like response format, and
|
68 |
api_response_prompt = PromptTemplate(input_variables=['api_docs_mck',
|
69 |
'question',
|
70 |
'api_url',
|
|
|
48 |
the user's question, ensuring the
|
49 |
call is optimized to include only the necessary information.
|
50 |
Question: {question}
|
|
|
51 |
"""
|
52 |
api_url_prompt = PromptTemplate(input_variables=['api_docs_mck', 'question'],
|
53 |
template=api_url_template)
|
|
|
63 |
Adapt to user's language. By default, you speak Norwegian.
|
64 |
Booking information:
|
65 |
"""
|
|
|
66 |
api_response_prompt = PromptTemplate(input_variables=['api_docs_mck',
|
67 |
'question',
|
68 |
'api_url',
|