• Parameters

    Returns {
        finish_reason?: undefined;
        safety_ratings?: undefined;
        usage_metadata?: undefined;
    } | {
        finish_reason: string;
        safety_ratings: {
            category: string;
            probability: string;
            probability_score: unknown;
            severity: unknown;
            severity_score: unknown;
        }[];
        usage_metadata: {
            candidates_token_count: unknown;
            prompt_token_count: unknown;
            total_token_count: unknown;
        };
    }

Generated using TypeDoc