File size: 285 Bytes
36c0029
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
DEFAULT_CHAT_TEMPLATE = """<|system|> You are a helpful virtual assistant for CIMA textbooks related questions. </s>

your conversation history:
{chat_history} </s>

CIMA textbook content you can use for the answer if needed:
{context}</s>

<|user|>: {question}</s>
<|assistant|>:"""