m2m100_1_2b
Creates, updates, deletes, gets or lists a m2m100_1_2b resource.
Overview
| Name | m2m100_1_2b |
| Type | Resource |
| Id | cloudflare.ai.m2m100_1_2b |
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_meta_m2m100_1_2b | insert | account_id | queueRequest, tags | Runs inference on the @cf/meta/m2m100-1.2b 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_meta_m2m100_1_2b
- Manifest
Runs inference on the @cf/meta/m2m100-1.2b model.
INSERT INTO cloudflare.ai.m2m100_1_2b (
source_lang,
target_lang,
text,
requests,
account_id,
queueRequest,
tags
)
SELECT
'{{ source_lang }}',
'{{ target_lang }}',
'{{ text }}',
'{{ requests }}',
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: m2m100_1_2b
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the m2m100_1_2b resource.
- name: source_lang
value: "{{ source_lang }}"
description: |
The language code of the source text (e.g., 'en' for English). Defaults to 'en' if not specified
default: en
- name: target_lang
value: "{{ target_lang }}"
description: |
The language code to translate the text into (e.g., 'es' for Spanish)
- name: text
value: "{{ text }}"
description: |
The text to be translated
- name: requests
description: |
Batch of the embeddings requests to run using async-queue
value:
- source_lang: "{{ source_lang }}"
target_lang: "{{ target_lang }}"
text: "{{ text }}"
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"