NoSpeechGeneratedException
Namespace: Vercel.AI.Operations
public sealed class NoSpeechGeneratedException : AiSdkException, ISerializableNo speech audio was produced.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”NoSpeechGeneratedException(IReadOnlyList<ProviderResponse>)
Section titled “NoSpeechGeneratedException(IReadOnlyList<ProviderResponse>)”public NoSpeechGeneratedException(IReadOnlyList<ProviderResponse> responses)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
responses |
IReadOnlyList<ProviderResponse> |
NoSpeechGeneratedException(IReadOnlyList<ProviderResponse>, Exception?)
Section titled “NoSpeechGeneratedException(IReadOnlyList<ProviderResponse>, Exception?)”public NoSpeechGeneratedException(IReadOnlyList<ProviderResponse> responses, Exception? cause)Creates the exception with the provider error that caused it.
Parameters
| Name | Type | Description |
|---|---|---|
responses |
IReadOnlyList<ProviderResponse> | |
cause |
Exception |
Properties
Section titled “Properties”Responses
Section titled “Responses”public IReadOnlyList<ProviderResponse> Responses { get; }Provider responses included with the failure.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product