Docfile commited on
Commit
5cf851f
·
1 Parent(s): 716e476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -13,14 +13,9 @@ app = App.from_config(config={
13
  "max_tokens": 1000,
14
  "top_p": 1,
15
  "stream": False,
16
- 'template': (
17
- "Use the following pieces of context to answer the query at the end.\n"
18
- "If you don't know the answer, just say that you don't know, don't try to make up an answer.\n"
19
- "$context\n\nQuery: $query\n\nHelpful Answer:"
20
- ),
21
- 'system_prompt': (
22
- "Act as William Shakespeare. Answer the following questions in the style of William Shakespeare."
23
- ),
24
  },
25
  },
26
  "embedder": {
 
13
  "max_tokens": 1000,
14
  "top_p": 1,
15
  "stream": False,
16
+ "template": "Use the following pieces of context to answer the query at the end.\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\n$context\n\nQuery: $query\n\nHelpful Answer:",
17
+ "system_prompt": "Act as William Shakespeare. Answer the following questions in the style of William Shakespeare.",
18
+
 
 
 
 
 
19
  },
20
  },
21
  "embedder": {