Skip to content

Database hygiene #13

@granawkins

Description

@granawkins

In some cases the database will contain outdated records, and the only way to 'update' it is to remove the database (~/.mentat/chroma). One case in particular is if you change between chunker_line and chunker_llm, it won't update the db record.

Potential solutions:

  • Add more fields or a checksum to the collection name
  • Add chunker-type-specific data so 'Chunker[type].is_complete' checks for a record of that type specifically
  • Refresh the database every time 'version' is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions