bart_large_cnn
Creates, updates, deletes, gets or lists a bart_large_cnn resource.
Overview
| Name | bart_large_cnn |
| Type | Resource |
| Id | cloudflare.ai.bart_large_cnn |
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_facebook_bart_large_cnn | insert | account_id, input_text | queueRequest, tags | Runs inference on the @cf/facebook/bart-large-cnn 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_facebook_bart_large_cnn
- Manifest
Runs inference on the @cf/facebook/bart-large-cnn model.
INSERT INTO cloudflare.ai.bart_large_cnn (
input_text,
max_length,
account_id,
queueRequest,
tags
)
SELECT
'{{ input_text }}' /* required */,
{{ max_length }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: bart_large_cnn
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the bart_large_cnn resource.
- name: input_text
value: "{{ input_text }}"
description: |
The text that you want the model to summarize
- name: max_length
value: {{ max_length }}
description: |
The maximum length of the generated summary in tokens
default: 1024
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"