camparchimedes commited on
Commit
1250c6c
ยท
verified ยท
1 Parent(s): d817107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -97,7 +97,8 @@ With the API Documentation for Daysoff's official API: {api_docs} in mind,
97
  and the specific user question: {question},
98
  and given this API URL: {api_url} for querying,
99
  here is the response from Daysoff's API: {api_response}.
100
- Please provide a clear and concise summary (in Norwegian) that directly addresses the user's question,
 
101
  delivered in a manner that reflects the professionalism and warmth of a human customer service agent.
102
  Summary:
103
  """
@@ -111,7 +112,7 @@ def setup_multiple_chains():
111
 
112
  llm = OpenAI(
113
  model='gpt-3.5-turbo-instruct',
114
- temperature=0.3,
115
  openai_api_key=OPENAI_API_KEY,
116
  #max_tokens=512,
117
  top_p=0.9,
 
97
  and the specific user question: {question},
98
  and given this API URL: {api_url} for querying,
99
  here is the response from Daysoff's API: {api_response}.
100
+ If the response includes booking information, provide the information verbatim (do not summarize it.)
101
+ For all other cases, please provide a clear and concise summary (in Norwegian) that directly addresses the user's question,
102
  delivered in a manner that reflects the professionalism and warmth of a human customer service agent.
103
  Summary:
104
  """
 
112
 
113
  llm = OpenAI(
114
  model='gpt-3.5-turbo-instruct',
115
+ temperature=0.7,
116
  openai_api_key=OPENAI_API_KEY,
117
  #max_tokens=512,
118
  top_p=0.9,