TranslationStreamStart
Namespace: Vercel.AI.Operations
public sealed class TranslationStreamStartA started translation stream.
Inheritance: object
Constructors
Section titled “Constructors”TranslationStreamStart(ModelPartStream, ProviderResponse?)
Section titled “TranslationStreamStart(ModelPartStream, ProviderResponse?)”public TranslationStreamStart(ModelPartStream stream, ProviderResponse? response = null)Creates a start payload.
Parameters
| Name | Type | Description |
|---|---|---|
stream |
ModelPartStream | |
response |
ProviderResponse |
Properties
Section titled “Properties”Response
Section titled “Response”public ProviderResponse? Response { get; }Initial response metadata.
Value: ProviderResponse
Stream
Section titled “Stream”public ModelPartStream Stream { get; }Model parts.
Value: ModelPartStream
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product