messages
Creates, updates, deletes, gets or lists a messages resource.
Overview
| Name | messages |
| Type | Resource |
| Id | digitalocean.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
inference_create_messages | exec | model, max_tokens, messages | Send 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.
| Name | Datatype | Description |
|---|
Lifecycle Methods
- inference_create_messages
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 }}"
}'
;