Package com.sap.ai.sdk.foundationmodels.openai.model

# Interface DeltaAggregatable<D>

Type Parameters:
  `D` - the delta type.

All Known Implementing Classes:
  `OpenAiChatCompletionOutput`

@Deprecated public interface DeltaAggregatable<D>
Deprecated.
Interface for model classes that can be created from aggregated streamed deltas.

For example aggregating chat completions deltas into a single chat completion output.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addDelta(D delta)`
  Deprecated.
  Add a streamed delta to the total output.

- ## Method Details

  - ### addDelta

    void addDelta(@Nonnull D delta)
    Deprecated.
    Add a streamed delta to the total output.
    Parameters:
      `delta` - the delta to add.