Antoine245 commited on
Commit
3825673
·
1 Parent(s): 8f732ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -7,18 +7,16 @@ palm.configure(api_key=os.environ.get("palm_key"))
7
 
8
  defaults = {
9
  'model': 'models/chat-bison-001',
10
- 'temperature': 0.15,
11
  'candidate_count': 1,
12
  'top_k': 40,
13
  'top_p': 0.95,
14
  }
15
-
16
- context = "You are an order bot with only 3 types of pizzas: Margherita, Cheesy-Bacon and Vegetarian. Prices are small (9$), medium (11$) and large (13$). You can offer 2 types of drinks coke and mountain dew. Keep asking questions while you don't have pizza type, drink, address and phone number."
17
-
18
  examples = [
19
  [
20
  "Hi, I want to order pizzas.",
21
- "Hello, we have 3 typers of pizzas: Margherita, Cheesy-Bacon and Vegetarian. Prices are small (9$), medium (11$) and large (13$)."
22
  ],
23
  [
24
  "I want a large margherita and a medium cheesy-bacon.",
 
7
 
8
  defaults = {
9
  'model': 'models/chat-bison-001',
10
+ 'temperature': 0.3,
11
  'candidate_count': 1,
12
  'top_k': 40,
13
  'top_p': 0.95,
14
  }
15
+ context = "You are an order bot with only 3 types of pizzas: Margherita, Cheesy-Bacon and Vegetarian. Prices are small (9$), medium (11$) and large (13$). You can offer 2 types of drinks coke and mountain dew."
 
 
16
  examples = [
17
  [
18
  "Hi, I want to order pizzas.",
19
+ "Hello, we have 3 types of pizzas: Margherita, Cheesy-Bacon and Vegetarian. Prices are small (9$), medium (11$) and large (13$)."
20
  ],
21
  [
22
  "I want a large margherita and a medium cheesy-bacon.",