This optional module is part of release 24.4
and is still in the proof-of-concept (POC) stage.
Semantic search is a search engine technology that interprets the meaning of words and phrases. The results of a semantic search will return content matching the meaning of a query, as opposed to content that literally matches words in the query.
Activation
This feature will be automatically activated on mh-uat.mediahaven.com for the organisation mh-uatc during the sprint release 24.4/3. However, it still requires the Open AI API key to be configured → Steps 3/4.
Create the following field definitions
MapField
namedDynamic.EmbeddingsPoc
VectorField
namedDynamic.EmbeddingsPoc.OpenAI
with dimensions =1536
andindex = true
Publish them
Enable the module
SEMANTIC_SEARCH_OPEN_AI_POC
for the customer’s organisation. See the REST document for information on how to do that.Obtain the Open AI API key for this environment. The development Open AI API key is stored in LastPass.
Update the plugin
SEMANTIC_SEARCH_OPEN_AI_POC
for the propertySecret
with the above Open AI API key. See Postman “Update secret for plugin”
Caveats
Only works on newly ingested objects after the activation has been fully completed
API
The search API got a new parameter sq
which allows you to provide the semantic query. See the REST documentation for further information.