jerpint commited on
Commit
e988d15
1 Parent(s): 2ae8bfe

modify prompt

Browse files
Files changed (1) hide show
  1. cfg.py +2 -2
cfg.py CHANGED
@@ -64,8 +64,8 @@ buster_cfg = BusterConfig(
64
  "unknown_threshold": 0.85,
65
  "embedding_model": "text-embedding-ada-002",
66
  "use_reranking": True,
67
- "invalid_question_response": "This question does not seem relevant to my current knowledge.",
68
- "check_question_prompt": """You are an chatbot answering questions on python libraries.
69
 
70
  Your job is to determine wether or not a question is valid, and should be answered.
71
  A user will submit a question. Respond 'true' if it is valid, respond 'false' if it is invalid.
 
64
  "unknown_threshold": 0.85,
65
  "embedding_model": "text-embedding-ada-002",
66
  "use_reranking": True,
67
+ "invalid_question_response": "This question does not seem relevant to my current knowledge. If you think this is a mistake, you can modify the question validation prompt.",
68
+ "check_question_prompt": """You are an chatbot answering questions on python libraries hosted on readthedocs.
69
 
70
  Your job is to determine wether or not a question is valid, and should be answered.
71
  A user will submit a question. Respond 'true' if it is valid, respond 'false' if it is invalid.