add no context promt
Browse files
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 |
-
|
| 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 |
|