Skip to content

No error given when wrong configuration of index chat subobject #5814

@tpayet

Description

@tpayet

Describe the bug
When using the chat completions feature, if the documentTemplate field of the chat sub-object in the index index is not valid, the chat completions won't work and won't let the user know why.

To Reproduce
Configure chat completions with correct:

  • Index chat settings (description & documentTemplate)
  • Chat workspace

Then use the chat completions feature and try to get the LLMs to retrieve documents.

Expected behavior
At least Meilisearch should return an error, ideally an error that the LLM can understand and pass it back to the human user.

Meilisearch version:
v1.16.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions