Neutrome SDK reference
    Preparing search index...

    Function end

    • Builds the chunk that closes a stream.

      Parameters

      • finishReason: string = "stop"

        Reason reported to the client. Defaults to "stop".

      Returns Program

      A program carrying RESP_DONE followed by STREAM_END.