Skip to content

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

@MoritzLost

Description

@MoritzLost

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions