/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Vectara from "../../../index"; export declare namespace Llms { interface Options { environment?: core.Supplier; token?: core.Supplier; /** Override the x-api-key header */ apiKey?: core.Supplier; fetcher?: core.FetchFunction; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; /** Override the x-api-key header */ apiKey?: string | undefined; /** Additional headers to include in the request. */ headers?: Record; } } export declare class Llms { protected readonly _options: Llms.Options; constructor(_options?: Llms.Options); /** * List LLMs that can be used with query and chat endpoints. The LLM is not directly specified in a query, * but instead a `generation_preset_name` is used. The `generation_preset_name` property in generation parameters * can be found as the `name` property on the Generations Presets retrieved from `/v2/generation_presets`. * * @param {Vectara.LlmsListRequest} request * @param {Llms.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Vectara.ForbiddenError} * * @example * await client.llms.list() */ list(request?: Vectara.LlmsListRequest, requestOptions?: Llms.RequestOptions): Promise>; protected _getAuthorizationHeader(): Promise; }