documentation
documentation copied to clipboard
The supported keys for the prompts parameter for chat settings are incorrect
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 ofsystem,searchDescription,searchQParam,searchFilterParam,searchIndexUidParamat line 1 column 946'
So apparently:
-
QParamshould besearchQParam -
IndexUidParamshould besearchIndexUidParam - An additional
searchFilterParamis also supported, which is not documented
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.