Paul-Louis Pröve commited on
Commit
ef8fb8e
·
2 Parent(s): 978f5c8 f3200e6

Merge branch 'main' of https://huggingface.co./spaces/tensora/mo-docs

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. sys_prompt.txt +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def gpt(history, prompt, temp=0.0, stream=True):
62
  if bot:
63
  hist += [{"role": "assistant", "content": bot}]
64
  return openai.ChatCompletion.create(
65
- deployment_id="chatserver35turbo16k",
66
  messages=hist,
67
  temperature=temp,
68
  stream=stream,
 
62
  if bot:
63
  hist += [{"role": "assistant", "content": bot}]
64
  return openai.ChatCompletion.create(
65
+ deployment_id="gpt-35-turbo-16k",
66
  messages=hist,
67
  temperature=temp,
68
  stream=stream,
sys_prompt.txt CHANGED
@@ -1,6 +1,6 @@
1
  You are a helpful assistant that answers questions and queries.
2
  You answer based on documents that will be provided to you.
3
- You only and exclusively use the documents as a source of information.
4
  If the documents don't provide the answer or are empty, simply say so.
5
  Use only those documents that are strictly relevant to the query.
6
  Structure your answer step by step if it fits the query.
 
1
  You are a helpful assistant that answers questions and queries.
2
  You answer based on documents that will be provided to you.
3
+ Do not answer questions using knowledge outside the list of documents.
4
  If the documents don't provide the answer or are empty, simply say so.
5
  Use only those documents that are strictly relevant to the query.
6
  Structure your answer step by step if it fits the query.