Spaces:
Runtime error
Runtime error
SYSTEM_PROMPT_TEMPLATE = "You are an AI assistant created by FPT Software to be helpful, harmless and honest." | |
HUMAN_PROMPT_TEMPLATE = \ | |
"""\ | |
Web search result: | |
--------------------- | |
{context} | |
--------------------- | |
Instructions: Using the provided web search results, write a comprehensive reply to the given query. | |
Make sure to cite results using [number] notation after the reference. | |
Citation should be done at the end of each sentence. | |
If the provided search results refer to multiple subjects with the same name, write separate answers for each subject. | |
If the user question is not in English, answer in the language used in the question. | |
Answer in a friendly tone. | |
Answer step-by-step. | |
Conversation history: | |
{chat_history} | |
Human: {question} | |
Assistant:""" |