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 = \ | |
"""\ | |
Based on the user query, decide on what source to use. Your possible sources are given below: | |
1. LLM Model: Useful for answering conversational queries and for queries that you can fully answer | |
with just the knowledge from your database. | |
2. Google Web Search: Useful when the query is related to time-sensitive information, recent developments, or needs current data. | |
Please answer only the source used as "LLM Model" or "Google Web Search" and nothing else. | |
User query: {question}""" |