Skip to main content

llama_guard_3_8b

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

Overview

Namellama_guard_3_8b
TypeResource
Idcloudflare.ai.llama_guard_3_8b

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_meta_llama_guard_3_8binsertaccount_id, messagesqueueRequest, tagsRuns inference on the @cf/meta/llama-guard-3-8b 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/meta/llama-guard-3-8b model.

INSERT INTO cloudflare.ai.llama_guard_3_8b (
max_tokens,
messages,
response_format,
temperature,
account_id,
queueRequest,
tags
)
SELECT
{{ max_tokens }},
'{{ messages }}' /* required */,
'{{ response_format }}',
{{ temperature }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;