Chat
Removes a prompt template reference from the chat session.
Removes a prompt template reference from the chat session.
delete/chats/{session_id}/prompt_template
Request
- Base URLhttps://h2ogpte.genai.h2o.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
session_idstring required
Id of the chat session
Response
Successful operation
Example response
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"name": "Discussion about sci-fi heroes.",
"collection_id": "c91e7c84-65df-4b43-ba15-fbd3afb2e86f",
"prompt_template_id": "4e400991-c459-455f-995c-dc6f55ffdb90",
"latest_message_content": "The strongest hero is superman!",
"status": "active"
}Changes
No recorded changes to this operation across all 1 revision of this API.