Skip to content

NoTranscriptGeneratedException

Namespace: Vercel.AI.Operations

public sealed class NoTranscriptGeneratedException : AiSdkException, ISerializable

No transcript text was produced.

Inheritance: object → Exception → AiSdkException

Implements: ISerializable

View source

NoTranscriptGeneratedException(IReadOnlyList<ProviderResponse>)

Section titled “NoTranscriptGeneratedException(IReadOnlyList<ProviderResponse>)”
public NoTranscriptGeneratedException(IReadOnlyList<ProviderResponse> responses)

Creates the exception.

Parameters

Name Type Description
responses IReadOnlyList<ProviderResponse>

View source

public IReadOnlyList<ProviderResponse> Responses { get; }

Provider responses included with the failure.

Value: IReadOnlyList<ProviderResponse>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product