Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SynDRA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hillengass
SynDRA
Commits
cc4c06c4
Commit
cc4c06c4
authored
1 year ago
by
finn
Browse files
Options
Downloads
Patches
Plain Diff
Add prompt
parent
c94f4d34
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
elise/elise/prompts.py
+33
-0
33 additions, 0 deletions
elise/elise/prompts.py
with
33 additions
and
0 deletions
elise/elise/prompts.py
+
33
−
0
View file @
cc4c06c4
...
...
@@ -393,6 +393,39 @@ def omega_prompt(dialog_turn):
{{dialog_turn}}
"""
@prompt
def
chat_gpt_prompt
(
dialog_turn
):
"""
# INTERESTING INFORMATION:
- hotel-price: Information about the cost of staying at a hotel.
- hotel-location: The geographical location or address of the hotel.
- hotel-name: The specific name of the hotel.
- hotel-stars: The star rating of the hotel.
- hotel-guests: Information about the guests staying or who have stayed at the hotel.
- length of the stay: The duration for which a stay at a hotel is booked.
- restaurant-price: Information about the cost of dining at a restaurant.
- restaurant-location: The geographical location or address of the restaurant.
- restaurant-food: Types or specific items of food served at the restaurant.
- restaurant-name: The specific name of the restaurant.
- restaurant-seating: Information about the seating arrangements or capacity at the restaurant.
# EXAMPLES:
-
"
I would like to go to a restaurant in the south.
"
>
"
yes
"
(mentions restaurant-location)
-
"
Thank you so much, have a nice day!
"
>
"
no
"
(no relevant information)
-
"
Does the hotel have Wi-Fi?
"
>
"
yes
"
(implies a question about hotel facilities)
-
"
This seems like a nice hotel.
"
>
"
no
"
(general statement without specific information)
# TASK
Determine if the following dialogue turn provides information of interest as per the categories listed above.
# TURN:
{{dialog_turn}}
"""
prompts
=
[
(
"
minimal_prompt
"
,
minimal_prompt
),
(
"
minimal_prompt_yn
"
,
minimal_prompt_yn
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment