i-dot-ai / redbox

Bringing Generative AI to the way the Civil Service works
https://i-dot-ai.github.io/redbox/
MIT License
85 stars 28 forks source link

Remove chunk model #909

Closed jamesrichards4 closed 1 month ago

jamesrichards4 commented 1 month ago

Context

We no longer use chunks so we should tidy up the remaining references

Changes proposed in this pull request

Remove the get_chunks endpoint in the file app Remove chunk actions from storage_handler. It no longer maps chunks or is aware of the parent_file_uuid linking. Storage Handler now only manages files (but can manage other types in future as needed) Remove Chunk and Metadata models and tests

Things to check