Public declaration syntax from forge-ts/packages/forge-core/src/config.ts Original source SHA-256: 26569e5ce37fddb2427911d10d8d8bfa292e6b034842575337741be1a4fab676 Function bodies and constant values are omitted. This is not the complete implementation. Source line 29 export interface GenerateOptions { /** Sampling temperature (0.0 = deterministic, 2.0 = maximum randomness). */ readonly temperature?: number; /** Maximum tokens to generate. */ readonly maxTokens?: number; /** Top-p (nucleus) sampling threshold. */ readonly topP?: number; /** Stop sequences -- generation stops when any of these are produced. */ readonly stopSequences?: readonly string[]; /** Frequency penalty (-2.0 to 2.0). */ readonly frequencyPenalty?: number; /** Presence penalty (-2.0 to 2.0). */ readonly presencePenalty?: number; /** Seed for deterministic generation (if supported by provider). */ readonly seed?: number; /** JSON schema for structured output enforcement. */ readonly outputSchema?: JsonSchema; } Source line 58 export function defaultGenerateOptions(): GenerateOptions; Source line 70 export interface EmbedOptions { /** The embedding model to use (if different from default). */ readonly model?: string; /** Dimensionality of the output embeddings (if configurable). */ readonly dimensions?: number; }