Back to Home
Towards Data Science··Industry Media

Assemble Each RAG Generation Prompt from a Base Prompt Plus the Rules Each Question Needs

中文摘要

本文介绍如何结合基础提示词、问题特定规则及调度器,将解析后的问题转化为LLM调用,从而构建RAG生成提示词。

English Summary

This article describes assembling RAG prompts by combining a base prompt with question-specific rules and a dispatcher that converts parsed questions into typed LLM calls.

Original Excerpt

Enterprise Document Intelligence [Vol.1 #8B] - A fixed BASE, the rules each question needs, one registry: the dispatcher that turns a parsed question into a typed LLM call The post Assemble Each RAG Generation Prompt from a Base Prompt Plus the Rules Each Question Needs appeared first on Towards Data Science.