Rename faq_data.py to frequently_asked_questions.py
Browse files
faq_data.py → frequently_asked_questions.py
RENAMED
@@ -1,20 +1,21 @@
|
|
1 |
-
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
instruction =
|
7 |
-
|
8 |
-
2. The dictionary `utleiere_faq_data` contains ’spørsmål og svar vi ofte får fra utleiere om DaysOff firmahytteordning.’
|
9 |
-
3. Bruk denne FAQ-informasjonen for å besvare spørsmål ved behov.
|
10 |
-
"""
|
11 |
-
|
12 |
-
return instruction
|
13 |
-
|
14 |
-
|
15 |
-
# FAQ for ansatte
|
16 |
-
ansatte_faq_data = {
|
17 |
-
"ansatte": [
|
18 |
{
|
19 |
"question": "Hvordan registrerer jeg meg som bruker?",
|
20 |
"answer": (
|
@@ -90,13 +91,6 @@ ansatte_faq_data = {
|
|
90 |
"om bestillingen er godkjent."
|
91 |
),
|
92 |
},
|
93 |
-
]
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
# FAQ for utleiere
|
98 |
-
utleiere_faq_data = {
|
99 |
-
"utleiere": [
|
100 |
{
|
101 |
"question": "Hva er betingelser for utleie?",
|
102 |
"answer": (
|
|
|
1 |
+
## frequently_asked_questions.py
|
2 |
|
3 |
+
instruction_text = f"""
|
4 |
+
1. The dictionary `frequently_asked_questions` contains ’spørsmål og svar Daysoff ofte får fra brukere om DaysOff firmahytteordning.’
|
5 |
+
2. Frequently Asked Questions is structured as a collection of questions and answers covering:
|
6 |
+
- User registration and account setup
|
7 |
+
- Booking procedures and timelines
|
8 |
+
- Rules regarding facilities and amenities
|
9 |
+
- Policies for cancellations and modifications
|
10 |
+
- Information for property owners and rental processes
|
11 |
+
- General guidelines for using DaysOff firmahytteordning
|
12 |
+
3. Use the content within the questions_and_answers section of this dictionary to answer user questions related to DaysOff firmahytteordning.
|
13 |
+
"""
|
14 |
|
15 |
+
# Frequently Asked Questions in QA form
|
16 |
+
frequently_asked_questions = {
|
17 |
+
"instruction" = instruction_text,
|
18 |
+
"questions_and_answers": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
{
|
20 |
"question": "Hvordan registrerer jeg meg som bruker?",
|
21 |
"answer": (
|
|
|
91 |
"om bestillingen er godkjent."
|
92 |
),
|
93 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
{
|
95 |
"question": "Hva er betingelser for utleie?",
|
96 |
"answer": (
|