Expand description
Low-level FFI bindings for whisper.cpp.
Structs§
- whisper_
ahead - whisper_
aheads - whisper_
context_ params - whisper_
full_ params - whisper_
full_ params__ bindgen_ ty_ 1 - whisper_
full_ params__ bindgen_ ty_ 2 - whisper_
token_ data - whisper_
vad_ context_ params - whisper_
vad_ params
Constants§
- GGML_
FTYPE_ ALL_ F32 - GGML_
FTYPE_ MOSTLY_ F16 - GGML_
FTYPE_ MOSTLY_ Q2_ K - GGML_
FTYPE_ MOSTLY_ Q3_ K - GGML_
FTYPE_ MOSTLY_ Q4_ 0 - GGML_
FTYPE_ MOSTLY_ Q4_ 1 - GGML_
FTYPE_ MOSTLY_ Q4_ 1_ SOME_ F16 - GGML_
FTYPE_ MOSTLY_ Q4_ K - GGML_
FTYPE_ MOSTLY_ Q5_ 0 - GGML_
FTYPE_ MOSTLY_ Q5_ 1 - GGML_
FTYPE_ MOSTLY_ Q5_ K - GGML_
FTYPE_ MOSTLY_ Q6_ K - GGML_
FTYPE_ MOSTLY_ Q8_ 0 - GGML_
FTYPE_ UNKNOWN - WHISPER_
CHUNK_ SIZE - WHISPER_
ERR_ FAILED_ TO_ PROCESS - WHISPER_
ERR_ INVALID_ CONTEXT - WHISPER_
ERR_ INVALID_ MODEL - WHISPER_
ERR_ NOT_ ENOUGH_ MEMORY - WHISPER_
HOP_ LENGTH - WHISPER_
N_ FFT - WHISPER_
SAMPLE_ RATE - whisper_
sampling_ strategy_ WHISPER_ SAMPLING_ BEAM_ SEARCH - whisper_
sampling_ strategy_ WHISPER_ SAMPLING_ GREEDY
Functions§
- whisper_
context_ ⚠default_ params - whisper_
ctx_ ⚠init_ openvino_ encoder - whisper_
free ⚠ - whisper_
free_ ⚠state - whisper_
full ⚠ - whisper_
full_ ⚠default_ params - whisper_
full_ ⚠get_ segment_ no_ speech_ prob - whisper_
full_ ⚠get_ segment_ no_ speech_ prob_ from_ state - whisper_
full_ ⚠get_ segment_ speaker_ turn_ next - whisper_
full_ ⚠get_ segment_ speaker_ turn_ next_ from_ state - whisper_
full_ ⚠get_ segment_ t0 - whisper_
full_ ⚠get_ segment_ t0_ from_ state - whisper_
full_ ⚠get_ segment_ t1 - whisper_
full_ ⚠get_ segment_ t1_ from_ state - whisper_
full_ ⚠get_ segment_ text - whisper_
full_ ⚠get_ segment_ text_ from_ state - whisper_
full_ ⚠get_ token_ data - whisper_
full_ ⚠get_ token_ data_ from_ state - whisper_
full_ ⚠get_ token_ id - whisper_
full_ ⚠get_ token_ id_ from_ state - whisper_
full_ ⚠get_ token_ p - whisper_
full_ ⚠get_ token_ p_ from_ state - whisper_
full_ ⚠get_ token_ text - whisper_
full_ ⚠get_ token_ text_ from_ state - whisper_
full_ ⚠lang_ id - whisper_
full_ ⚠lang_ id_ from_ state - whisper_
full_ ⚠n_ segments - whisper_
full_ ⚠n_ segments_ from_ state - whisper_
full_ ⚠n_ tokens - whisper_
full_ ⚠n_ tokens_ from_ state - whisper_
full_ ⚠parallel - whisper_
full_ ⚠with_ state - whisper_
init_ ⚠from_ buffer_ with_ params - whisper_
init_ ⚠from_ file_ with_ params - whisper_
init_ ⚠state - whisper_
is_ ⚠multilingual - whisper_
lang_ ⚠auto_ detect - whisper_
lang_ ⚠auto_ detect_ with_ state - whisper_
lang_ ⚠id - whisper_
lang_ ⚠max_ id - whisper_
lang_ ⚠str - whisper_
lang_ ⚠str_ full - whisper_
n_ ⚠audio_ ctx - whisper_
n_ ⚠audio_ state - whisper_
n_ ⚠len - whisper_
n_ ⚠len_ from_ state - whisper_
n_ ⚠mels - whisper_
n_ ⚠text_ ctx - whisper_
n_ ⚠text_ head - whisper_
n_ ⚠text_ layer - whisper_
n_ ⚠text_ state - whisper_
n_ ⚠vocab - whisper_
print_ ⚠system_ info - whisper_
print_ ⚠timings - whisper_
reset_ ⚠timings - whisper_
token_ ⚠beg - whisper_
token_ ⚠eot - whisper_
token_ ⚠lang - whisper_
token_ ⚠not - whisper_
token_ ⚠prev - whisper_
token_ ⚠solm - whisper_
token_ ⚠sot - whisper_
token_ ⚠to_ str - whisper_
token_ ⚠transcribe - whisper_
token_ ⚠translate - whisper_
vad_ ⚠default_ context_ params - whisper_
vad_ ⚠default_ params - whisper_
vad_ ⚠detect_ speech - whisper_
vad_ ⚠free - whisper_
vad_ ⚠free_ segments - whisper_
vad_ ⚠init - whisper_
vad_ ⚠init_ from_ buffer - whisper_
vad_ ⚠init_ from_ buffer_ with_ params - whisper_
vad_ ⚠init_ from_ file_ with_ params - whisper_
vad_ ⚠init_ with_ params - whisper_
vad_ ⚠n_ probs - whisper_
vad_ ⚠probs - whisper_
vad_ ⚠segments_ free - whisper_
vad_ ⚠segments_ from_ probs - whisper_
vad_ ⚠segments_ from_ samples - whisper_
vad_ ⚠segments_ get_ segment_ t0 - whisper_
vad_ ⚠segments_ get_ segment_ t1 - whisper_
vad_ ⚠segments_ n_ segments