@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**.
23 lines • 1.21 kB
TypeScript
import type { Prompt, StreamOptions, LlmModuleConfig, OrchestrationModuleConfig } from '../orchestration-types.js';
import type { CompletionPostRequest, FilteringStreamOptions, ModuleConfigs, OrchestrationConfig, OutputFilteringConfig } from '../client/api/schema/index.js';
/**
* @internal
*/
export declare function constructCompletionPostRequestFromJsonModuleConfig(config: Record<string, any>, prompt?: Prompt, stream?: boolean): Record<string, any>;
/**
* @internal
*/
export declare function addStreamOptionsToLlmModuleConfig(llmModuleConfig: LlmModuleConfig, streamOptions?: StreamOptions): LlmModuleConfig;
/**
* @internal
*/
export declare function addStreamOptionsToOutputFilteringConfig(outputFilteringConfig: OutputFilteringConfig, filteringStreamOptions: FilteringStreamOptions): OutputFilteringConfig;
/**
* @internal
*/
export declare function addStreamOptions(moduleConfigs: ModuleConfigs, streamOptions?: StreamOptions): OrchestrationConfig;
/**
* @internal
*/
export declare function constructCompletionPostRequest(config: OrchestrationModuleConfig, prompt?: Prompt, stream?: boolean, streamOptions?: StreamOptions): CompletionPostRequest;
//# sourceMappingURL=module-config.d.ts.map