template<typename auditor_type = audit::null_auditor>
class df0::openai::embed< auditor_type >
Definition at line 38 of file embed.h.
template<typename auditor_type = audit::null_auditor>
template<audit::stateless_auditor stateless_auditor_type = auditor_type>
| df0::openai::embed< auditor_type >::embed |
( |
const std::string & | api_key, |
|
|
embed_model | model = embed_model::text_embedding_3_small ) |
|
inline |
Constructs the component with the default stateless auditing policy.
This overload is available only when the configured auditor is stateless and therefore default-constructible.
- Template Parameters
-
| stateless_auditor_type | Injected auditor type selected by this overload. |
Definition at line 53 of file embed.h.