/** * Typesense API * An open source search engine for building delightful search experiences. * * The version of the OpenAPI document: 30.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface NLSearchModelBase */ export interface NLSearchModelBase { /** * Name of the NL model to use * @type {string} * @memberof NLSearchModelBase */ modelName?: string; /** * API key for the NL model service * @type {string} * @memberof NLSearchModelBase */ apiKey?: string; /** * Custom API URL for the NL model service * @type {string} * @memberof NLSearchModelBase */ apiUrl?: string; /** * Maximum number of bytes to process * @type {number} * @memberof NLSearchModelBase */ maxBytes?: number; /** * Temperature parameter for the NL model * @type {number} * @memberof NLSearchModelBase */ temperature?: number; /** * System prompt for the NL model * @type {string} * @memberof NLSearchModelBase */ systemPrompt?: string; /** * Top-p parameter for the NL model (Google-specific) * @type {number} * @memberof NLSearchModelBase */ topP?: number; /** * Top-k parameter for the NL model (Google-specific) * @type {number} * @memberof NLSearchModelBase */ topK?: number; /** * Stop sequences for the NL model (Google-specific) * @type {Array} * @memberof NLSearchModelBase */ stopSequences?: Array; /** * API version for the NL model service * @type {string} * @memberof NLSearchModelBase */ apiVersion?: string; /** * Project ID for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ projectId?: string; /** * Access token for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ accessToken?: string; /** * Refresh token for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ refreshToken?: string; /** * Client ID for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ clientId?: string; /** * Client secret for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ clientSecret?: string; /** * Region for GCP Vertex AI * @type {string} * @memberof NLSearchModelBase */ region?: string; /** * Maximum output tokens for GCP Vertex AI * @type {number} * @memberof NLSearchModelBase */ maxOutputTokens?: number; /** * Account ID for Cloudflare-specific models * @type {string} * @memberof NLSearchModelBase */ accountId?: string; } /** * Check if a given object implements the NLSearchModelBase interface. */ export declare function instanceOfNLSearchModelBase(value: object): value is NLSearchModelBase; export declare function NLSearchModelBaseFromJSON(json: any): NLSearchModelBase; export declare function NLSearchModelBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NLSearchModelBase; export declare function NLSearchModelBaseToJSON(json: any): NLSearchModelBase; export declare function NLSearchModelBaseToJSONTyped(value?: NLSearchModelBase | null, ignoreDiscriminator?: boolean): any;