|
DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
|
Public Types | |
| enum class | Model { gpt_4o_mini_tts , tts_1 , tts_1_hd } |
| enum class | Voice { alloy , echo , fable , onyx , nova , shimmer } |
Public Member Functions | |
| text_to_speech (const std::string &api_key, Model model=Model::gpt_4o_mini_tts, Voice voice=Voice::alloy) | |
| 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... | |
Public Member Functions inherited from docwire::chain_element | |
| chain_element (chain_element &&)=default | |
| chain_element & | operator= (chain_element &&)=default |
| virtual bool | is_generator () const |
Additional Inherited Members | |
Protected Types inherited from docwire::with_pimpl< chain_element > | |
| using | impl_type = pimpl_impl< chain_element > |
Protected Types inherited from docwire::with_pimpl< text_to_speech > | |
| using | impl_type = pimpl_impl< text_to_speech > |
Protected Member Functions inherited from docwire::with_pimpl< chain_element > | |
| impl_type * | create_impl (Args &&... args) |
| with_pimpl (Args &&... args) | |
| with_pimpl (with_pimpl< chain_element > &&other) noexcept | |
| with_pimpl (std::nullptr_t) | |
| with_pimpl & | operator= (with_pimpl &&other) noexcept |
| impl_type & | impl () |
| const impl_type & | impl () const |
Protected Member Functions inherited from docwire::with_pimpl< text_to_speech > | |
| impl_type * | create_impl (Args &&... args) |
| with_pimpl (Args &&... args) | |
| with_pimpl (with_pimpl< text_to_speech > &&other) noexcept | |
| with_pimpl (std::nullptr_t) | |
| with_pimpl & | operator= (with_pimpl &&other) noexcept |
| impl_type & | impl () |
| const impl_type & | impl () const |
Definition at line 25 of file text_to_speech.h.
|
inlineoverridevirtual |
Check if chain element is a leaf (last element which doesn't produce any messages). At this moment only exporters are leafs.
Implements docwire::chain_element.
Definition at line 48 of file text_to_speech.h.
|
overridevirtual |
Executes transform operation for given node data.
| msg | |
| emit_message |
Implements docwire::chain_element.