Replace collection settings
Changed onReplaces the collection's retrieval settings.
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/ai/collections/{uuid}/settings
- AuthHTTP bearer
Path parameters
The collection's unique identifier.
Request body
Example request
{
"retrieval": {
"top_k": 5,
"retrieval_type": "vector"
}
}Response
The updated settings.
Example response
{
"data": {
"record_type": "ai_collection_settings",
"retrieval": {
"top_k": 5,
"retrieval_type": "vector"
}
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- info
endpoint added
- info