Skip to main content

bart_large_cnn

Creates, updates, deletes, gets or lists a bart_large_cnn resource.

Overview

Namebart_large_cnn
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
workers_ai_post_run_cf_facebook_bart_large_cnninsertaccount_id, input_textqueueRequest, tagsRuns 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
queueRequeststring
tagsstring

INSERT examples

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 }}'
;