documentation icon indicating copy to clipboard operation
documentation copied to clipboard

The supported keys for the prompts parameter for chat settings are incorrect

Open MoritzLost opened this issue 2 months ago • 1 comments

This page lists four supported fields inside the prompts object: https://www.meilisearch.com/docs/reference/api/chats#prompts

  • prompts.system
  • prompts.searchDescription
  • prompts.QParam
  • prompts.IndexUidParam

When I call the API with those four keys, it returns the following error:

Json deserialize error: unknown field QParam, expected one of system, searchDescription, searchQParam, searchFilterParam, searchIndexUidParam at line 1 column 946'

So apparently:

  • QParam should be searchQParam
  • IndexUidParam should be searchIndexUidParam
  • An additional searchFilterParam is also supported, which is not documented

MoritzLost avatar Dec 09 '25 17:12 MoritzLost

Found another one in the docs for the _meiliSearchSources tool:

https://www.meilisearch.com/docs/learn/chat/chat_tooling_reference#meilisearchsources

The documentation lists an argument documents, but the API actually returns sources.

MoritzLost avatar Dec 10 '25 16:12 MoritzLost