Skip to content

OpenRouterAsrOptions ​

Import from: @xbbg/xnews, @xbbg/xnews/asr

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:6)

Properties ​

apiKey ​

readonly apiKey: string

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:7)


endpoint? ​

readonly optional endpoint?: string

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:10)


failureMode? ​

readonly optional failureMode?: OpenRouterFailureMode

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:17)


fetch? ​

readonly optional fetch?: SourceFetch

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:20)


language? ​

readonly optional language?: string

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:9)


maxPendingChunks? ​

readonly optional maxPendingChunks?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:13)


model? ​

readonly optional model?: string

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:8)


overlapMs? ​

readonly optional overlapMs?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:12)


responseFormat? ​

readonly optional responseFormat?: OpenRouterResponseFormat

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:18)


retryCount? ​

readonly optional retryCount?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:14)


retryDelayMs? ​

readonly optional retryDelayMs?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:15)


timeoutMs? ​

readonly optional timeoutMs?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:16)


timestampGranularities? ​

readonly optional timestampGranularities?: readonly OpenRouterTimestampGranularity[]

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:19)


windowMs? ​

readonly optional windowMs?: number

Defined in: src/asr/openrouter.ts (declaration: asr/openrouter.d.ts:11)

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.