Skip to content

HumeSpeechResponse

Namespace: Vercel.AI.Hume

public sealed class HumeSpeechResponse

Hume speech response metadata.

Inheritance: object

View source

HumeSpeechResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>)

Section titled “HumeSpeechResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>)”
public HumeSpeechResponse(DateTimeOffset timestamp, string modelId, IReadOnlyDictionary<string, string> headers)

Creates response metadata.

Parameters

Name Type Description
timestamp DateTimeOffset
modelId string
headers IReadOnlyDictionary<string, string>

View source

public IReadOnlyDictionary<string, string> Headers { get; }

Response headers.

Value: IReadOnlyDictionary<string, string>

View source

public string ModelId { get; }

Model id. Hume speech uses an empty id.

Value: string

View source

public DateTimeOffset Timestamp { get; }

Timestamp captured when the call started.

Value: DateTimeOffset

View source

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