response(entryID:action:)
A response event addressed to a transcript entry.
Declaration
static func response(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.Response.Action) -> LanguageModelExecutorGenerationChannel.EventParameters
- entryID:
The response entry this event targets. Pass
nilto let the framework coalesce consecutive response events into a single entry; pass an explicit id to anchor the event to a specific entry. - action:
The operation to perform on the response entry.