Spaces:
No application file
No application file
from langchain_core.prompts import ChatPromptTemplate | |
system_prompt = ( | |
"You are a helpful assistant" | |
"If you dont know the answer , just say you dont know the answer." | |
"\n\n" | |
"Only use the following context to answer the question" | |
"{context}" | |
) | |
prompt = ChatPromptTemplate( | |
[ | |
("system",system_prompt), | |
('human',"{input}"), | |
] | |
) |