SongGuess
    Preparing search index...

    Interface Ai_Cf_Meta_Llama_Guard_3_8B_Output

    interface Ai_Cf_Meta_Llama_Guard_3_8B_Output {
        response?: string | { categories?: string[]; safe?: boolean };
        usage?: {
            completion_tokens?: number;
            prompt_tokens?: number;
            total_tokens?: number;
        };
    }
    Index

    Properties

    Properties

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

    Type Declaration

    • string
    • { categories?: string[]; safe?: boolean }
      • 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?: {
        completion_tokens?: number;
        prompt_tokens?: number;
        total_tokens?: number;
    }

    Usage statistics for the inference request

    Type Declaration

    • Optionalcompletion_tokens?: number

      Total number of tokens in output

    • Optionalprompt_tokens?: number

      Total number of tokens in input

    • Optionaltotal_tokens?: number

      Total number of input and output tokens