Skip to main content

llama_3_1_8b_instruct_awq

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

Overview

Namellama_3_1_8b_instruct_awq
TypeResource
Idcloudflare.ai.llama_3_1_8b_instruct_awq

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_3_1_8b_instruct_awqinsertaccount_idqueueRequest, tagsRuns inference on the @cf/meta/llama-3.1-8b-instruct-awq 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-3.1-8b-instruct-awq model.

INSERT INTO cloudflare.ai.llama_3_1_8b_instruct_awq (
frequency_penalty,
lora,
max_tokens,
presence_penalty,
prompt,
raw,
repetition_penalty,
response_format,
seed,
stream,
temperature,
top_k,
top_p,
functions,
messages,
tools,
account_id,
queueRequest,
tags
)
SELECT
{{ frequency_penalty }},
'{{ lora }}',
{{ max_tokens }},
{{ presence_penalty }},
'{{ prompt }}',
{{ raw }},
{{ repetition_penalty }},
'{{ response_format }}',
{{ seed }},
{{ stream }},
{{ temperature }},
{{ top_k }},
{{ top_p }},
'{{ functions }}',
'{{ messages }}',
'{{ tools }}',
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;