UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

26 lines (25 loc) 1.34 kB
import type { AvailableModel } from '../../execution/AvailableModel'; /** * List of available OpenAI models with pricing * * Note: Done at 2025-05-06 * * @see https://platform.openai.com/docs/models/ * @see https://openai.com/api/pricing/ * @public exported from `@promptbook/openai` */ export declare const OPENAI_MODELS: ReadonlyArray<AvailableModel>; /** * Note: [🤖] Add models of new variant * TODO: [🧠] Some mechanism to propagate unsureness * TODO: [🎰] Some mechanism to auto-update available models * TODO: [🎰][👮‍♀️] Make this list dynamic - dynamically can be listed modelNames but not modelVariant, legacy status, context length and pricing * TODO: [🧠][👮‍♀️] Put here more info like description, isVision, trainingDateCutoff, languages, strengths ( Top-level performance, intelligence, fluency, and understanding), contextWindow,... * @see https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4 * @see https://openai.com/api/pricing/ * @see /other/playground/playground.ts * TODO: [🍓][💩] Make better * TODO: Change model titles to human eg: "gpt-4-turbo-2024-04-09" -> "GPT-4 Turbo (2024-04-09)" * TODO: [🚸] Not all models are compatible with JSON mode, add this information here and use it * Note: [💞] Ignore a discrepancy between file name and entity name */