Skip to main content

Stored search configurations

Nuclia allows you to store search configurations, which are a set of parameters that define how a search should be performed. You can create, update and delete these configurations.

Then, they can be used in the /find and /ask endpoints through the search_configuration parameter. When using this parameter, you do not need to pass the individual parameters for the search, as they will be automatically loaded from the stored configuration, you just pass the query parameter containing the user question.

It can be useful in different scenarios, such as:

  • Centralizing the search configuration in a single place, making it easier to manage and update.
  • Switching between different search configurations without having to modify your code.