Jasur05 commited on
Commit
7923066
·
verified ·
1 Parent(s): 1991495

add no context promt

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -76,10 +76,9 @@ def get_prompt_plain(context: str, question: str) -> str:
76
  return f"""
77
  <<START>>
78
  You are a responsible person for answering Inha University (South Korea) information. Using the context below, answer within 300 tokens.
79
- Provide concise, well-structured, answer-oriented responses using markdown formatting for better readability.
80
- Use bullet points, bold text, and proper formatting to make the information interactive, clear and easy to read.
81
  Do not repeat the prompt text in your output.
82
-
83
  Context:
84
  "{context}"
85
 
 
76
  return f"""
77
  <<START>>
78
  You are a responsible person for answering Inha University (South Korea) information. Using the context below, answer within 300 tokens.
79
+ Create interactive, well-structured answers using bullet points, bold text, and proper formatting to make the information, Provide concise, answer-oriented, clear and easy to read.
 
80
  Do not repeat the prompt text in your output.
81
+ And when context doesn't provide what user hasn't asked, don't mention it. Instead, just say in polite way you don't know it
82
  Context:
83
  "{context}"
84