forked from openai/openai-quickstart-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprompts.py
40 lines (30 loc) · 846 Bytes
/
prompts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
def generate_rooms(animal):
return """Suggest a room name for an animal that is a superhero.
Animal: Cat
Names: Sharpclaw Suite, Fluffball Room, Queen Feline
Animal: Dog
Names: Hound Hut, Canine Cabin, Dog Den
Animal: {}
Names:""".format(
animal.capitalize()
)
def generate_amenities(animal):
return """Suggest amenities for an animal that is a superhero.
Animal: Cat
Amenities: Climbing Tree, Litter Box, Scratch Post, Catnip, Cat Bed, Cat Toys
Animal: Dog
Amenities: Dog Kennel, Dog Bed, Dog Toys, Dog Leash, Dog Collar
Animal: {}
Amenities:""".format(
animal.capitalize()
)
def generate_prices(days):
return """Suggest hotel room prices when staying for a certain number of days.
Days: 1
Prices: 90, 110, 150
Days: 7
Prices: 80, 100, 140
Days: {}
Prices:""".format(
days.capitalize()
)