Skip to content

[FEA]: Retrieval .query functions should return concatenated full pages by default #1771

@randerzander

Description

@randerzander

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Significant improvement

Please provide a clear description of problem this feature solves

See query functions

Currently they return raw chunks of various types. Instead, the retrieval logic, when it finds a relevant chunk, it should do the work to instead fetch and return the full page of text that chunk came from.

Describe the feature, and optionally a solution or implementation and any alternatives

Users should also be able to configure they want the raw chunks:

retriever.query(query, return_chunks=True)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions