Initial_prompt easily accessible#283
Conversation
Made initial_prompt more easily accessible to be able to give context
|
I do notice that the initial_context does not always work well. In my testing the first word was not really used, but that can be fixed by just putting another word at the front when using it. |
|
@Spudra can we fix the tests according to the new param |
Sure you can! (: |
|
@Spudra I see the tests are still failing, would you mind updating the tests? |
|
Thanks for this @Spudra — the goal of exposing
#518 instead adds |
Expose initial_prompt and vad_parameters as flat client parameters (consistent with hotwords, send_last_n_segments, etc.), send them as flat handshake keys, and read them server-side with null-safe options.get(...). Supersedes collabora#283; avoids the options-bag None.get crash. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Expose initial_prompt and vad_parameters as flat client parameters (consistent with hotwords, send_last_n_segments, etc.), send them as flat handshake keys, and read them server-side with null-safe options.get(...). Supersedes #283; avoids the options-bag None.get crash. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Thank again for the PR. It has been superseded by #518 - closing. |
Made initial_prompt more easily accessible to be able to give context.
Fixed how the options.get is used.
Client now contains a parameter, which is now also described in the readme.
Only tested with faster_whisper, not TensorRT.