Package com.sap.ai.sdk.orchestration
Class OrchestrationStreamConfig
java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationStreamConfig
Configuration for orchestration streaming options.
- Since:
- 1.12.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for OrchestrationStreamConfig. -
Method Summary
Modifier and TypeMethodDescriptionbooleanSize of the chunks the response will be split into when streaming.List of delimiters to use for chunking the response when streaming.Number of characters that should be additionally sent to content filtering services from previous chunks as additional context.inthashCode()toString()withChunkSize(Integer chunkSize) Size of the chunks the response will be split into when streaming.withDelimiters(List<String> delimiters) List of delimiters to use for chunking the response when streaming.withFilterOverlap(Integer filterOverlap) Number of characters that should be additionally sent to content filtering services from previous chunks as additional context.
-
Constructor Details
-
OrchestrationStreamConfig
public OrchestrationStreamConfig()Default constructor for OrchestrationStreamConfig.
-
-
Method Details
-
getFilterOverlap
Number of characters that should be additionally sent to content filtering services from previous chunks as additional context. -
getChunkSize
Size of the chunks the response will be split into when streaming. -
getDelimiters
List of delimiters to use for chunking the response when streaming. -
equals
-
hashCode
public int hashCode() -
toString
-
withFilterOverlap
Number of characters that should be additionally sent to content filtering services from previous chunks as additional context.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChunkSize
Size of the chunks the response will be split into when streaming.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDelimiters
List of delimiters to use for chunking the response when streaming.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-