See source code in Results01
See source code in Results02 and its default index definition
See source code in Results03 and its sort index definition
See source code in Results04 and its sort index definition
See source code in Results05 and SearchBarAutocomplete and its autocomplete index definition
See source code in Results06 and its facet index definition
See source code in Results06 and MovieDetails and its facet index definition
As of MongoDB .Local NYC 2023, MongoDB announced a Public Preview of Vector Search. The default data set for movies now distributes a collection which uses OpenAI's ada-002-text
embeddings.
To use this feature, in your .env
file include the additional OPENAI
environment variables. Note that the app can use the native OpenAI API (only use OPENAIAPIKEY
) or Azure's (use OPENAIAPIKEY
and OPENAIDEPLOYMENT
and OPENAIENDPOINT
)