Class StreamingKernelContent<T>

  • Type Parameters:
    T - The type of the content.
    Direct Known Subclasses:
    StreamingTextContent

    public abstract class StreamingKernelContent<T>
    extends KernelContent<T>
    Base class which represents the content returned by a streaming AI service.
    • Method Detail

      • getChoiceIndex

        public int getChoiceIndex()
        Gets the zero-based index of the choice in the streaming sequence.
        Returns:
        The zero-based index of the choice in the streaming sequence.