github weaviate/weaviate 0.21.5
0.21.5 - Where-Filter in classifications

latest releases: v1.24.13, v1.25.0, v1.24.12...
4 years ago

Docker image/tag: semitechnologies/weaviate:0.21.5
See also: example docker compose files in english and dutch.

Breaking Changes

none

New Features

  • Set where filters in all classification types (#985)
    This feature allows narrowing down objects in a classification through setting where filters.

    A total of three filters can be set (all three are optional).

    • sourceWhere: This limits the to-be-classified (or "unclassified") items which will be processed during a classification run.
    • trainingSetWhere: This limits the training set. This filter can only be used with classification types which rely on a training set, such as "type": "knn"
    • targetWhere: This limits the potential targets (or "labels") of a classification. This filter can only be used on classification types which don't have a training set, but rather produce a direct relationship between source and target, such as "type": "contextual"

    For more elaborate examples on when to use which filter, see this post.

    The type/structure of the where filter object for all three options is identical to the those of the existing where filters currently present in the GraphQL API.

Fixes

  • Incorrect defaults in classification of type contextual (#1045)
    Prior to this version the optional field k would always default to 3. This is indeed the desired behavior for a classification of type knn. However, it would also be set for contextual where the field doesn't make sense. This fix makes sure that the defaults are only set where appropriate.

Don't miss a new weaviate release

NewReleases is sending notifications on new releases.