Enhancements
8.11.0 release includes AI support for performing KNN search and Question Answering, and includes bug fixes related to analytics tracking and time reporting.
Built with with Go 1.19.7.
Adds support for OpenAI embeddings stage to perform vectorization at index and query time
How it works:
- Using the
OpenAIEmbeddingsIndex
stage, add embeddings at index time specifying the fields to use for vectorization, an extra vector field is added to your search index - At query time, perform embedding using the
OpenAIEmbeddings
stage and then do akNN
search to retrieve the search results
Adds support for AIAnswer for both pipelines and ReactiveSearch API
How it works:
- When enabled, based on the user search request, the BE generates an AI session
- End-users can ask follow-up questions
API Reference: https://api.reactivesearch.io/#44009fda-61f7-4d1b-81b5-9f495d3111a3
ReactiveSearch UI components AIAnswer
and SearchBox
allow for building a chat interface for Search UIs. An example UI is here: https://codesandbox.io/s/github/awesome-reactivesearch/q-n-a-search-ui/tree/main/
Other Enhancements
- Returns both the
took
time (total time for ReactiveSearch) andsearchTime
keys (search engine's total time) in a ReactiveSearch query response. Earlier,took
time representedsearchTime
, having took represent the entire time ReactiveSearch takes to resolve a client request including running its middlewares, logging, analytics and search engine communication is a better reflection of the latency for the search UIs using ReactiveSearch - Adds support for a
select
actionType for SearchBox. This enables setting curated suggestions for SearchBox.
Bug Fixes
- Fixes a bug with synonym support where synonyms were pointer assigned instead of being distinctly copied when cloning data from an existing index
- Fixes a bug with syncing of variables in pipelines and rules APIs in a HA (multi-node) setup
- Fixes a bug with pipeline where a user-defined stage returns a nil value
- Fixes a bug with tracking of analytics after shifting the base image to Go 1.19