Generate conversation title
POST /api/conversations/{conversation_id}/generate_title
Generate a title for the conversation using LLM.
Parameters
| Name | In | Type | Required | Description |
|---|
conversation_id | path | string | yes | — |
Request body
| Field | Type | Required | Description |
|---|
max_length | integer | no | Maximum length of the generated title |
llm | `LLM | null` | no |
Responses
| Status | Description |
|---|
200 | Successful Response |
404 | Item not found |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|
title | string | yes | The generated title for the conversation |
Operation ID: generate_conversation_title_api_conversations__conversation_id__generate_title_post