## API Report File for "@livekit/agents-plugin-perplexity"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import type { llm } from '@livekit/agents';
import { LLM as LLM_2 } from '@livekit/agents-plugin-openai';
import OpenAI from 'openai';
import { responses as responses_2 } from '@livekit/agents-plugin-openai';

// @public
export class LLM extends LLM_2 {
    constructor(opts?: Partial<LLMOptions>);
    // (undocumented)
    label(): string;
    // (undocumented)
    get provider(): string;
}

// @public
class LLM_3 extends responses_2.LLM {
    constructor(opts?: Partial<LLMOptions_2>);
    // (undocumented)
    label(): string;
    // (undocumented)
    get provider(): string;
}

// @public (undocumented)
export interface LLMOptions {
    // (undocumented)
    apiKey?: string;
    // (undocumented)
    baseURL?: string;
    // (undocumented)
    client?: OpenAI;
    // (undocumented)
    model: string | PerplexityChatModels;
    // (undocumented)
    parallelToolCalls?: boolean;
    // (undocumented)
    temperature?: number;
    // (undocumented)
    toolChoice?: llm.ToolChoice;
    // (undocumented)
    topP?: number;
    // (undocumented)
    user?: string;
}

// @public (undocumented)
interface LLMOptions_2 {
    // (undocumented)
    apiKey?: string;
    // (undocumented)
    baseURL?: string;
    // (undocumented)
    client?: OpenAI;
    // (undocumented)
    maxOutputTokens?: number;
    // (undocumented)
    metadata?: Record<string, string>;
    // (undocumented)
    model: string | PerplexityResponsesModels;
    // (undocumented)
    parallelToolCalls?: boolean;
    // (undocumented)
    serviceTier?: string;
    // (undocumented)
    store?: boolean;
    // (undocumented)
    strictToolSchema?: boolean;
    // (undocumented)
    temperature?: number;
    // (undocumented)
    toolChoice?: llm.ToolChoice;
}

// @public (undocumented)
export const PERPLEXITY_BASE_URL = "https://api.perplexity.ai";

// @public (undocumented)
const PERPLEXITY_RESPONSES_BASE_URL = "https://api.perplexity.ai/v1";

// @public (undocumented)
export type PerplexityChatModels = 'sonar-pro';

// @public (undocumented)
export type PerplexityResponsesModels = 'perplexity/sonar';

declare namespace responses {
    export {
        LLM_3 as LLM,
        PERPLEXITY_RESPONSES_BASE_URL,
        LLMOptions_2 as LLMOptions
    }
}
export { responses }

// (No @packageDocumentation comment for this package)

```
