|
| enum class | Model { gpt_4o_transcribe
, gpt_4o_mini_transcribe
, whisper_1
} |
| |
|
|
| transcribe (const std::string &api_key, Model model=Model::gpt_4o_transcribe) |
| |
| continuation | operator() (message_ptr msg, const message_callbacks &emit_message) override |
| | Executes transform operation for given node data. More...
|
| |
| bool | is_leaf () const override |
| | Check if chain element is a leaf (last element which doesn't produce any messages). At this moment only exporters are leafs. More...
|
| |
|
| chain_element (chain_element &&)=default |
| |
|
chain_element & | operator= (chain_element &&)=default |
| |
|
virtual bool | is_generator () const |
| |
Definition at line 24 of file transcribe.h.
◆ is_leaf()
| bool docwire::openai::transcribe::is_leaf |
( |
| ) |
const |
|
inlineoverridevirtual |
Check if chain element is a leaf (last element which doesn't produce any messages). At this moment only exporters are leafs.
- Returns
- true if leaf
Implements docwire::chain_element.
Definition at line 42 of file transcribe.h.
◆ operator()()
| continuation docwire::openai::transcribe::operator() |
( |
message_ptr |
msg, |
|
|
const message_callbacks & |
emit_message |
|
) |
| |
|
overridevirtual |
Executes transform operation for given node data.
- See also
- docwire::message_ptr
- Parameters
-
Implements docwire::chain_element.
The documentation for this class was generated from the following file: