Skip to content

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

optional response: 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

string

{ categories?: string[]; safe?: boolean; }

optional categories: string[]

A list of what hazard categories predicted for the conversation, if the conversation is deemed unsafe.

optional safe: boolean

Whether the conversation is safe or not.


optional usage: 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

optional completion_tokens: number

Total number of tokens in output

optional prompt_tokens: number

Total number of tokens in input

optional total_tokens: number

Total number of input and output tokens