initial_prompt property

Pointer<Char> initial_prompt
getter/setter pair

tokens to provide to the whisper decoder as initial prompt these are prepended to any existing text context from a previous call use whisper_tokenize() to convert text to tokens maximum of whisper_n_text_ctx()/2 tokens are used (typically 224)

Implementation

external ffi.Pointer<ffi.Char> initial_prompt;