Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAG to customize prompts according to the input text #3

Open
wbcbugfree opened this issue Jun 6, 2024 · 1 comment
Open

RAG to customize prompts according to the input text #3

wbcbugfree opened this issue Jun 6, 2024 · 1 comment
Assignees

Comments

@wbcbugfree
Copy link
Collaborator

wbcbugfree commented Jun 6, 2024

Currently, few-shot learning prompts contain only fixed examples and thus may not benefit from those examples when processing text that is significantly different from the examples in the prompts. Therefore, introducing Retrieval-Augmented Generation (RAG) enables the customization of prompts according to the input text, i.e., the selection of ground-truth text-RDF pairs that are semantically closest to the input text. Obviously, RAG relies on a manually annotated and/or censored dataset containing ground-truth text-RDF pairs.

@wbcbugfree wbcbugfree self-assigned this Jun 6, 2024
@robknapen
Copy link

Perhaps something else to consider is agentic RAG that can self-correct based on evaluation results.

@wbcbugfree wbcbugfree changed the title Retrieval-Augmented Generation (RAG) to customize prompts according to the input text RAG to customize prompts according to the input text Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants