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

Modular RAG: Query Augmentor #1644

Closed

Commits on Oct 31, 2024

  1. Modular RAG: Query Augmentor

    * Add new QueryAugmentor API, a component for augmenting a user query with contextual data.
    * Implement ContextualQueryAugmentor that combines the content of each document and add it to the original user prompt, with support for the scenario where the context is empty.
    * Extend RetrievalAugmentationAdvisor to use the new augmentation building block.
    * Introduce utility to assist in validating arguments for prompt-related operations.
    
    Relates to gh-spring-projects#1603
    
    Signed-off-by: Thomas Vitale <[email protected]>
    ThomasVitale committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    4b5a491 View commit details
    Browse the repository at this point in the history