Weaviate v0.22.14 Release Notes
Release Date: 2020-07-14 // almost 4 years ago-
๐ณ Docker image/tag:
semitechnologies/weaviate:0.22.14
๐ See also: example docker compose files in English, German, Dutch, Italian and Czech.๐ฅ Breaking Changes
none
๐ New Features
๐ Improved noise filtering in
_nearestNeighbors
and_semanticPath
(semi-technologies/contextionary#35)
Prior to this release the features relying on nearest neighbors (namely_nearestNeighbors
and_semanticPath
) might have contained "noise words", i.e. concatenated words of random words with no easily recognizable meaning. These words are present in the Contextionary training space, but are extremely rare and therefore distributed seemingly randomly. As a result an "ordinary" result might have such a noise word as it's immediate neighbor.To combat this noise, a neighbor filtering feature was introduced in the contextionary, which ignores words of the configured bottom percentile - ranked by occurrence in the respective training set. By default this value is set to the bottom 5th percentile. This setting can be overridden. To set another value, e.g. to ignore the bottom 10th percentile, provide the environment variable
NEIGHBOR_OCCURRENCE_IGNORE_PERCENTILE=10
to thecontextionary
container. An example of this variable set correctly can be found here (english version) for example.Note that this feature requires at least contextionary version
...-v0.4.15
.๐ Fixes
๐ง Check if required contextionary container is running and configured at startup (gh-1190)
๐ง Prior to this version, it was possible to run a new version of weaviate together with an outdated and incompatible contextionary version. This (invalid) combination would start up fine, but eventually lead to runtime errors when a contextionary method was called that was incompatible with the configured contextionary container.๐ง This fix makes this impossible. If a contextionary version is configured that does not meet the required conditions, Weaviate will no longer start up. The logs will show one of the following options:
Option 1: Wrong version
FATA[0001] insufficient contextionary version, cannot start up action=startup_check_contextionary contextionaryVersion=en0.16.0-v0.4.14 requiredMinimumContextionaryVersion=0.4.15 exit status 1
Option 2: Happy path
INFO[0001] found a valid contextionary version action=startup_check_contextionary contextionaryVersion=en0.16.0-v0.4.15 requiredMinimumContextionaryVersion=0.4.15