Skip to content

[1.15.1] Add conversational search via Chats API #765

@tacman

Description

@tacman

Although it's still an experimental feature, it'd be nice to have the chat methods available to the client.

In particular, it's a bit confusing because to create an assistant you send a PATCH to the endpoint.

curl \
  -X PATCH 'http://localhost:7700/chats/my-assistant/settings' \
  -H 'Authorization: Bearer MASTER_KEY' \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "source": "openAi",
    "apiKey": "sk-abc...",
    "prompts": {
      "system": "You are a helpful assistant. Answer questions based only on the provided context."
    }
  }'

https://www.meilisearch.com/docs/guides/ai/getting_started_with_chat

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions