UNPKG

@sap-ai-sdk/orchestration

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

38 lines 819 B
import type { LlmChoice } from './llm-choice.js'; import type { TokenUsage } from './token-usage.js'; /** * Output from LLM. Follows the OpenAI spec. */ export type LlmModuleResult = { /** * ID of the response * @example "chatcmpl-9rO0aLoPKY7RtqkWi1317bazHEVFr" */ id: string; /** * Object type * @example "chat.completion" */ object: string; /** * Unix timestamp * @example 1722510700 */ created: number; /** * Model name * @example "gpt-4o-mini" */ model: string; /** * System fingerprint * @example "fp_44709d6fcb" */ system_fingerprint?: string; /** * Choices */ choices: LlmChoice[]; usage: TokenUsage; } & Record<string, any>; //# sourceMappingURL=llm-module-result.d.ts.map