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 existingwhere
filters currently present in the GraphQL API.
Fixes
- Incorrect defaults in classification of type
contextual
(#1045)
Prior to this version the optional fieldk
would always default to3
. This is indeed the desired behavior for a classification of typeknn
. However, it would also be set forcontextual
where the field doesn't make sense. This fix makes sure that the defaults are only set where appropriate.