Skip to content

[new feature] filter metadata on field date/datatime #18

@SebG-js

Description

@SebG-js

Hello,

When I put data in the db, I store embeddings and metadata like filename, ext, size and modification date.
In some cases, I want old files or new files close to a query embedding.

When I search documents with python sdk, I use embeddings and some other criteria like the modification date.

Today the filter support only meta_contains.
It could be nice to support comparison like meta["date"] <= ... or meta["date"]> ...

For now, I use this workaround :
generate a big meta_contains dict

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