Skip to main content

messages

Creates, updates, deletes, gets or lists a messages resource.

Overview

Namemessages
TypeResource
Iddigitalocean.inference.messages

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
inference_create_messagesexecmodel, max_tokens, messagesSend a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

Lifecycle Methods

Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.

EXEC digitalocean.inference.messages.inference_create_messages
@@json=
'{
"model": "{{ model }}",
"max_tokens": {{ max_tokens }},
"messages": "{{ messages }}",
"system": "{{ system }}",
"stop_sequences": "{{ stop_sequences }}",
"stream": {{ stream }},
"temperature": {{ temperature }},
"top_p": {{ top_p }},
"top_k": {{ top_k }},
"tools": "{{ tools }}",
"tool_choice": "{{ tool_choice }}",
"metadata": "{{ metadata }}",
"reasoning_effort": "{{ reasoning_effort }}",
"speed": "{{ speed }}",
"thinking": "{{ thinking }}"
}'
;