Context mipmaps — progressive detail levels for retrieval.
Stores entries at multiple detail levels:
:full- Full content:summary- First 200 chars + key metadata:abstract- Single line + type + tags:anchor- Type + single key term
Usage
# Generate mipmaps for an entry
mipmaps = Recollect.Mipmap.generate_for(entry)
# Query at specific level
{:ok, results} = Recollect.Mipmap.retrieve("auth", scope_id, level: :abstract)
Summary
Functions
Determine appropriate mipmap level for a query.
Generate mipmap entries for a source entry.
Get available mipmap levels.
Store mipmaps for an entry in the database, including embeddings.
Persist mipmaps asynchronously (for use after entry embedding).
Retrieve mipmaps at a specific detail level.
Functions
Determine appropriate mipmap level for a query.
Generate mipmap entries for a source entry.
Get available mipmap levels.
Store mipmaps for an entry in the database, including embeddings.
Persist mipmaps asynchronously (for use after entry embedding).
Retrieve mipmaps at a specific detail level.