LanguageModelSession.ResponseStream
An async sequence of snapshots of partially generated content.
Declaration
struct ResponseStream<Content> where Content : GenerableTopics
Collecting the response stream
Getting a snapshot of a partial response
See Also
Streaming a response
streamResponse(to:options:)streamResponse(to:generating:includeSchemaInPrompt:options:)streamResponse(to:schema:includeSchemaInPrompt:options:)streamResponse(options:prompt:)streamResponse(generating:includeSchemaInPrompt:options:prompt:)streamResponse(schema:includeSchemaInPrompt:options:prompt:)GeneratedContentConvertibleFromGeneratedContentConvertibleToGeneratedContent