LanguageModelStreamResponse
Namespace: Vercel.AI.Provider
public sealed class LanguageModelStreamResponseResponse info for a stream call. Maps to the response field of doStream.
Inheritance: object
Constructors
Section titled “Constructors”LanguageModelStreamResponse(IReadOnlyDictionary<string, string>?)
Section titled “LanguageModelStreamResponse(IReadOnlyDictionary<string, string>?)”public LanguageModelStreamResponse(IReadOnlyDictionary<string, string>? headers = null)Creates response info.
Parameters
| Name | Type | Description |
|---|---|---|
headers |
IReadOnlyDictionary<string, string> |
Properties
Section titled “Properties”Headers
Section titled “Headers”public IReadOnlyDictionary<string, string> Headers { get; }HTTP response headers.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product