Learn how to use the wishlist
wishlist
is a way to specify metadata filters
that get applied on a best-effort basis. For example, if you want
documents authored by John von Neumann. You can just set the author
filter
to “John von Neumann”. Amazingly, this will work even if no
items have the author
field, but instead have a creator
,
created_by
, authored_by
, or author_
fields.
This doesn’t just make it easier for humans to write metadata
filters, it is easier for LLMs too.
You can let an LLM hallucinate
any parameters, and we match it to metadata
that actually exists. No knowledge about the data is required.
$and
: all conditions must be true$or
: at least one condition must be true$not
: the condition must be false$eq
: equal to$ne
: not equal to$gt
: greater than$gte
: greater than or equal to$lt
: less than$lte
: less than or equal to$in
: in a list$nin
: not in a list$exists
: either “true” or “false”$strict
to true
in the metadata filter.