Chat_QnA_v2 / prompts /decision_maker.py
binh99's picture
update cosmos db
a4b89be
raw
history blame contribute delete
637 Bytes
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}"""