SAP AI SDK for JavaScript - v2.8.0
    Preparing search index...

    Type Alias GlobalStreamOptions

    Options for streaming. Will be ignored if enabled is false.

    type GlobalStreamOptions = {
        chunk_size?: number;
        delimiters?: string[];
        enabled?: boolean;
    }
    Index

    Properties

    chunk_size?: number

    Minimum number of characters per chunk that post-LLM modules operate on. Default: 100. Maximum: 10000. Minimum: 1.

    delimiters?: string[]

    List of delimiters to split the input text into chunks.Please note, this is a required parameter when input_translation_module_config or output_translation_module_config are configured.

    [
    "\n",
    ".",
    "?",
    "!"
    ]
    Min Items: 1.
    enabled?: boolean

    If true, the response will be streamed back to the client

    Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.