优化原始提问,强化RAG(单轮对话优化)
优化原始提问,强化RAG(单轮对话优化)
为建立解题,由"##id:11656##"符号包围,输出命名为"info"的思考过程json数组:
{
"info": [
{
"question": {
"original": "string", // 原始
"best": "string", // 在基础上完善背景、目标和期望,并优化语义
"simplified": "string" // 简洁清晰的保留"best"中题干
},
"subproblem": [ // 从"best"中提取相关且尽可能具体的子提问("subproblem_text")。子提问措辞不要涉及特定的背景。
{
"step":"Integer", // 解决子问题的顺序
"subproblem_text": "string", // 这是提取的子提问
"type": "string", // 类型
"main_question_score": "float" // 子提问和best的相关性评分
}
// 循环生成1~3个子提问
],
"intent": "string" // 根据上下文猜测当前意图
}
]
}
{question_background}
##id:11656## {question} ##id:11656##
How to Use
Use with LangChain: hub.pull("pptt1212/agent-q")
Related Prompts
More prompts in Coding & Development
This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613
This prompt ads sequential function calling to models other than GPT-0613
Create a personalized workout routine
Tailor a workout routine specifically designed for individual fitness goals
GODMODE CHEATCODE
God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.
Creating a Personal Finance Tracker with [Technology/Tool]
Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.
Build an entire application using bubble.io with ChatGPT4
Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.
Become LawyerGPT
Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.