flux
Creates, updates, deletes, gets or lists a flux resource.
Overview
| Name | flux |
| Type | Resource |
| Id | cloudflare.ai.flux |
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 |
|---|---|---|---|---|
workers_ai_post_run_cf_deepgram_flux | insert | account_id, sample_rate, encoding | queueRequest, tags | Runs inference on the @cf/deepgram/flux model. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
queueRequest | string | |
tags | string |
INSERT examples
- workers_ai_post_run_cf_deepgram_flux
- Manifest
Runs inference on the @cf/deepgram/flux model.
INSERT INTO cloudflare.ai.flux (
eager_eot_threshold,
encoding,
eot_threshold,
eot_timeout_ms,
keyterm,
mip_opt_out,
sample_rate,
tag,
account_id,
queueRequest,
tags
)
SELECT
'{{ eager_eot_threshold }}',
'{{ encoding }}' /* required */,
'{{ eot_threshold }}',
'{{ eot_timeout_ms }}',
'{{ keyterm }}',
'{{ mip_opt_out }}',
'{{ sample_rate }}' /* required */,
'{{ tag }}',
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: flux
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the flux resource.
- name: eager_eot_threshold
value: "{{ eager_eot_threshold }}"
description: |
End-of-turn confidence required to fire an eager end-of-turn event. When set, enables EagerEndOfTurn and TurnResumed events. Valid Values 0.3 - 0.9.
- name: encoding
value: "{{ encoding }}"
description: |
Encoding of the audio stream. Currently only supports raw signed little-endian 16-bit PCM.
valid_values: ['linear16']
- name: eot_threshold
value: "{{ eot_threshold }}"
description: |
End-of-turn confidence required to finish a turn. Valid Values 0.5 - 0.9.
default: 0.7
- name: eot_timeout_ms
value: "{{ eot_timeout_ms }}"
description: |
A turn will be finished when this much time has passed after speech, regardless of EOT confidence.
default: 5000
- name: keyterm
value: "{{ keyterm }}"
description: |
Keyterm prompting can improve recognition of specialized terminology. Pass multiple keyterm query parameters to boost multiple keyterms.
- name: mip_opt_out
value: "{{ mip_opt_out }}"
description: |
Opts out requests from the Deepgram Model Improvement Program. Refer to Deepgram Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip
valid_values: ['true', 'false']
default: false
- name: sample_rate
value: "{{ sample_rate }}"
description: |
Sample rate of the audio stream in Hz.
- name: tag
value: "{{ tag }}"
description: |
Label your requests for the purpose of identification during usage reporting
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"