Skip to main content
Version: Beta

GenSearchResponseDelta

description

Union of markdown delta events for streaming response content. Supports both incremental append operations and markdown set events

For some flows, we will have to restart the content generation. In that case, a markdown set event will be emitted to reset the content with the correct value.

union GenSearchResponseDelta = GenSearchConversationCreate | GenSearchResponseMarkdownAppend | GenSearchResponseMarkdownSet

Possible types​

GenSearchResponseDelta.GenSearchConversationCreate object graph-ql-types​

GenSearchResponseDelta.GenSearchResponseMarkdownAppend object graph-ql-types​

Delta event to append a chunk of markdown content to the response stream.

The value of the markdown append event will be appended to the current response.

GenSearchResponseDelta.GenSearchResponseMarkdownSet object graph-ql-types​

Delta/Snapshot event to set the complete markdown text for the response.

When this event is emitted, the current response should be updated with the value in the event.

Member Of​

AssistantAskQuestionEventBatch object ● GenSearchSubscriptionResponse object