Class StreamingTextContent<T>
- java.lang.Object
-
- com.microsoft.semantickernel.services.KernelContentImpl<T>
-
- com.microsoft.semantickernel.services.StreamingTextContent<T>
-
- Type Parameters:
T- The type of the content.
- All Implemented Interfaces:
KernelContent<T>,StreamingKernelContent<T>
public abstract class StreamingTextContent<T> extends KernelContentImpl<T> implements StreamingKernelContent<T>
Base class which represents the content returned by a streaming AI service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChoiceIndex()Gets the zero-based index of the choice in the streaming sequence.-
Methods inherited from class com.microsoft.semantickernel.services.KernelContentImpl
getInnerContent, getMetadata
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microsoft.semantickernel.services.KernelContent
getContent, getInnerContent, getMetadata
-
-