responses
Creates, updates, deletes, gets or lists a responses resource.
Overview
| Name | responses |
| Type | Resource |
| Id | digitalocean.inference.responses |
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_response | exec | model, input | Generate text responses from text prompts. This endpoint supports both streaming and non-streaming responses for supported text models. |
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_response
Generate text responses from text prompts. This endpoint supports both streaming and non-streaming responses for supported text models.
EXEC digitalocean.inference.responses.inference_create_response
@@json=
'{
"model": "{{ model }}",
"input": "{{ input }}",
"max_output_tokens": {{ max_output_tokens }},
"temperature": {{ temperature }},
"stream": {{ stream }},
"instructions": "{{ instructions }}",
"top_p": {{ top_p }},
"stream_options": "{{ stream_options }}",
"tools": "{{ tools }}",
"tool_choice": "{{ tool_choice }}",
"stop": "{{ stop }}",
"metadata": "{{ metadata }}",
"user": "{{ user }}"
}'
;