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

feat(document-search): add location metadata to Element(s) #83

Closed
mhordynski opened this issue Oct 10, 2024 · 0 comments · Fixed by #122
Closed

feat(document-search): add location metadata to Element(s) #83

mhordynski opened this issue Oct 10, 2024 · 0 comments · Fixed by #122
Assignees
Labels
document search Changes to the document search package feature New feature or request
Milestone

Comments

@mhordynski
Copy link
Member

mhordynski commented Oct 10, 2024

Feature description

Some providers (like unstructured) provide additional information about location of the element (chunk) in the source document. It may be something like page number, XY location, location of the first character, etc.

Element base type should have an extra optional field called location with that information stored.

Motivation

With location being stored in returned elements, ragbits users would be able to more accuratly point document reference in rag use-cases

Additional context

No response

@mhordynski mhordynski added the feature New feature or request label Oct 10, 2024
@mhordynski mhordynski moved this to Backlog in ragbits Oct 10, 2024
@mhordynski mhordynski moved this from Backlog to Ready in ragbits Oct 10, 2024
@mhordynski mhordynski added this to the Ragbit 0.4 milestone Oct 10, 2024
@micpst micpst added the document search Changes to the document search package label Oct 11, 2024
@mhordynski mhordynski moved this from Ready to In Progress in ragbits Oct 21, 2024
@micpst micpst linked a pull request Oct 23, 2024 that will close this issue
@mhordynski mhordynski modified the milestones: Ragbits 0.4, Ragbits 0.3 Oct 23, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in ragbits Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
document search Changes to the document search package feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants