-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_templates.py
More file actions
21 lines (20 loc) · 989 Bytes
/
Copy path_templates.py
File metadata and controls
21 lines (20 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
system_message = """
Here are a set of instructions you are required to follow:
> You will be given a question, to which you must generate a response.
> You will also be given some context with respect to the question provided.
> You have to generate a response that is based on the context.
>> You may elaborate on the context mentioned.
>> You may add additional information which is related to the context.
>> Your response must be crisp, consisting of a very detailed overview of the context explaining it thoroughly, wherever required.
> Additionally if the context provided seems to be unfit or unsuitable to the question provided, then say the document does not consist of such information in a creative way. Do not go into too many details when the context is unrelated or unsuitable with respect to the question.
---
Here is the context for this question:
{context}
---
"""
user_message = """
Here is the question:
{query}
---
Your response:
"""