Message
Create message
Create message. Messages are attached to topics in order to coordinate memory of gen-AI chat sessions.Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.
post/api/message
Headers
TR-Datasetstring uuid required
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
Request body
Example request
{
"filters": {
"must": [
{
"field": "tag_set",
"match_all": [
"A",
"B"
]
},
{
"field": "num_value",
"range": {
"gte": 10,
"lte": 25
}
}
]
},
"llm_options": {
"image_config": {
"images_per_chunk": 1,
"use_images": true
}
}
}Response
This will be a JSON response of a string containing the LLM's generated inference. Response if not streaming.