Skip to content

HumeSpeechResult

Namespace: Vercel.AI.Hume

public sealed class HumeSpeechResult

Synthesized Hume audio.

Inheritance: object

View source

HumeSpeechResult(byte[], string, IReadOnlyList<HumeWarning>, HumeSpeechResponse)

Section titled “HumeSpeechResult(byte[], string, IReadOnlyList<HumeWarning>, HumeSpeechResponse)”
public HumeSpeechResult(byte[] audio, string mediaType, IReadOnlyList<HumeWarning> warnings, HumeSpeechResponse response)

Creates a speech result.

Parameters

Name Type Description
audio byte[]
mediaType string
warnings IReadOnlyList<HumeWarning>
response HumeSpeechResponse

View source

public byte[] Audio { get; }

Audio bytes.

Value: byte[]

View source

public string MediaType { get; }

Response media type.

Value: string

View source

public HumeSpeechResponse Response { get; }

Response metadata.

Value: HumeSpeechResponse

View source

public IReadOnlyList<HumeWarning> Warnings { get; }

Warnings for ignored settings.

Value: IReadOnlyList<HumeWarning>

View source

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