Neutrome SDK reference
    Preparing search index...

    Function textResponse

    • Builds a complete single-message stream.

      Parameters

      • value: string

        Full response text.

      Returns Program[]

      The start, text and end chunks, ready to write in order.

      for (const chunk of delta.textResponse("hello")) yield chunk;