Neutrome SDK reference
    Preparing search index...

    Function extractContentText

    • Concatenates the response text carried by streaming chunks.

      Parameters

      • program: Program

        Stream chunk to read.

      Returns string

      The chunk text, empty when it carries none.

      Reads STREAM_DELTA instructions. Use extractContentText from the package root for text on a completed, non-streaming response.