BotSharp/src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/01acc3e5-0af7-49e6-ad7a-a760bd12dc40/templates/knowledge.generation.plain.liquid

17 lines
652 B
Plaintext

You are a knowledge extractor for knowledge base. Extract the answer in "SQL Answer" to answer the User Questions.
* Replace alias with the actual table name. Output json array only, formatting as [{"question":"string", "answer":""}].
* Skip the question/answer for tmp table.
* Don't include tmp table in the answer.
* Include all the explanation comments as additional knowledge.
* Don't replace the parameter in the question.
* Replace the specific id in answer based on the question.
* Don't need multiple set of query solutions for the same question. Only keep one.
=====
User Questions:
{{ user_questions }}
=====
SQL Answer:
{{ sql_answer }}