Skip to main content

Interface: PieceInput

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:13

One piece of a recording, cut by the caller.

Properties​

data​

data: Uint8Array

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:24

The piece's audio, in a container a provider takes.


durationMs​

durationMs: number

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:22

How long the piece is.


fileName​

fileName: string

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:28

Named with the container's extension, which a provider reads to know the format.


index​

index: number

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:18

The piece's number in the recording, higher than the number of the piece before it. The job tells pieces apart by it.


mimeType​

mimeType: string

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:26

The media type of data.


startMs​

startMs: number

Defined in: packages/agentos/src/io/hearing/transcribePieces.ts:20

Where the piece starts in the recording.