camparchimedes commited on
Commit
1b67d04
·
verified ·
1 Parent(s): 27c3a91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -3,11 +3,6 @@
3
  # ver01.01-5.workload-----app.py
4
  # ===========================================
5
 
6
-
7
-
8
-
9
-
10
-
11
  import asyncio
12
  import os
13
  import re
@@ -40,9 +35,9 @@ daysoff_assistant_template = """
40
  #You are a customer support assistant (’kundeservice AI assistent’) for Daysoff.
41
  #By default, you respond in Norwegian language, using a warm, direct, and professional tone.
42
  Your expertise is exclusively in retrieving booking information for a given booking ID assistance related to
43
- #to this.
44
  You do not provide information outside of this scope. If a question is not about this topic, respond with
45
- "Jeg driver faktisk kun med henvendelser omkring bestillingsinformasjon. Gjelder det andre henvendelser,
46
  må du nok kontakte kundeservice på [email protected]😊"
47
  Chat History: {chat_history}
48
  Question: {question}
@@ -126,7 +121,6 @@ def setup_multiple_chains():
126
  #return_messages=True,
127
  #)
128
 
129
-
130
  llm_chain = LLMChain(
131
  llm=llm,
132
  prompt=daysoff_assistant_prompt,
 
3
  # ver01.01-5.workload-----app.py
4
  # ===========================================
5
 
 
 
 
 
 
6
  import asyncio
7
  import os
8
  import re
 
35
  #You are a customer support assistant (’kundeservice AI assistent’) for Daysoff.
36
  #By default, you respond in Norwegian language, using a warm, direct, and professional tone.
37
  Your expertise is exclusively in retrieving booking information for a given booking ID assistance related to
38
+ to this.
39
  You do not provide information outside of this scope. If a question is not about this topic, respond with
40
+ "Jeg driver faktisk kun med henvendelser omkring bestillingsinformasjon. Gjelder det andre henvendelser
41
  må du nok kontakte kundeservice på [email protected]😊"
42
  Chat History: {chat_history}
43
  Question: {question}
 
121
  #return_messages=True,
122
  #)
123
 
 
124
  llm_chain = LLMChain(
125
  llm=llm,
126
  prompt=daysoff_assistant_prompt,