优化原始提问,强化RAG(单轮对话优化)

优化原始提问,强化RAG(单轮对话优化)

P
pptt1212
·May 3, 2026·
124 0 485
$3.99
Prompt
58 words

为建立解题,由"##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")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Coding & Development

View All
Coding & Development
Universal

This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613

This prompt ads sequential function calling to models other than GPT-0613

H
homanp$2.99
39,910 89,588
Coding & Development
Universal

Create a personalized workout routine

Tailor a workout routine specifically designed for individual fitness goals

K
Kay Tam$2.99
23,370 23,405
Coding & Development
Universal

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.

D
digitaljeff$3.99
13,574 13,622
Coding & Development
Universal

Creating a Personal Finance Tracker with [Technology/Tool]

Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.

B
BowTiedThinkerFree
376 385
Coding & Development
ChatGPT

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.

T
Tristanyway$5.99
1,280 1,300
Coding & Development
Universal

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.

C
Chase Curtis$2.99
1,063 1,076