Docker image/tag: semitechnologies/weaviate:0.21.4
See also: example docker compose files in english and dutch.
Breaking Changes
none
New Features
-
Contextual Classification (#1033)
This release adds a second type of classifications to Weaviate. Prior to this release all classifications had to be oftype: knn
. (Note: Omitting the type, defaults toknn
).With this release a second classification type was added:
contextual
classification. In a contextual classification, there is no training data. Instead for each to-be-classified object the classification target is chosen by vector distance. For an example of such a classification use-case, see the intro post of this issue.To start a
contextual
classification, use the sameclassification
payload as previously, however make the following two changes:- Omit the optional field 'k:
as this one can only be used for classifications of type
knn` - Explicitly set the
type: contextual
field in the classification body
For a more technical understanding of how
knn
classifications differs fromcontextual
ones, see this detailed post which explains how they work under the hood. - Omit the optional field 'k:
Fixes
- Bugfixes in
contextionary
service
While not a change in Weaviate itself, this version links the latestcontextionary
version (...v0.4.2
) in all docker-compose files as two critical bugs were fixed in the contextionary, see weaviate/contextionary#18 and weaviate/contextionary#19 for details.