Ai_Cf_Meta_Llama_Guard_3_8B_Output
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:5094
Properties
Section titled “Properties”response?
Section titled “response?”
optionalresponse:string| {categories?:string[];safe?:boolean; }
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:5095
Type Declaration
Section titled “Type Declaration”string
{ categories?: string[]; safe?: boolean; }
categories?
Section titled “categories?”
optionalcategories:string[]
A list of what hazard categories predicted for the conversation, if the conversation is deemed unsafe.
optionalsafe:boolean
Whether the conversation is safe or not.
usage?
Section titled “usage?”
optionalusage:object
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:5110
Usage statistics for the inference request
completion_tokens?
Section titled “completion_tokens?”
optionalcompletion_tokens:number
Total number of tokens in output
prompt_tokens?
Section titled “prompt_tokens?”
optionalprompt_tokens:number
Total number of tokens in input
total_tokens?
Section titled “total_tokens?”
optionaltotal_tokens:number
Total number of input and output tokens