Vowpal Wabbit
Loading...
Searching...
No Matches
Functions
parse_slates_example_json.h File Reference
#include "vw/common/future_compat.h"
#include "vw/json_parser/parse_example_slates_json.h"

Functions

template<bool audit>
void parse_slates_example_json (const VW::label_parser &lbl_parser, VW::hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples=nullptr)
 
template<bool audit>
void parse_slates_example_json (const VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples=nullptr)
 
template<bool audit>
void parse_slates_example_dsjson (VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, VW::parsers::json::decision_service_interaction *data, const std::unordered_map< uint64_t, VW::example * > *dedup_examples=nullptr)
 
template void parse_slates_example_json< true > (const VW::label_parser &lbl_parser, VW::hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 
template void parse_slates_example_json< false > (const VW::label_parser &lbl_parser, VW::hash_func_t hash_func, uint64_t hash_seed, uint64_t parse_mask, bool chain_hash, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 
template void parse_slates_example_json< true > (const VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 
template void parse_slates_example_json< false > (const VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 
template void parse_slates_example_dsjson< true > (VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, VW::parsers::json::decision_service_interaction *data, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 
template void parse_slates_example_dsjson< false > (VW::workspace &all, VW::multi_ex &examples, char *line, size_t length, VW::example_factory_t example_factory, VW::parsers::json::decision_service_interaction *data, const std::unordered_map< uint64_t, VW::example * > *dedup_examples)
 

Function Documentation

◆ parse_slates_example_dsjson()

template<bool audit>
void parse_slates_example_dsjson ( VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
VW::parsers::json::decision_service_interaction data,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples = nullptr 
)
Deprecated:
"parse_slates_example_dsjson moved to VW::parsers::json::details::parse_slates_example_dsjson"

◆ parse_slates_example_dsjson< false >()

template void parse_slates_example_dsjson< false > ( VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
VW::parsers::json::decision_service_interaction data,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)

◆ parse_slates_example_dsjson< true >()

template void parse_slates_example_dsjson< true > ( VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
VW::parsers::json::decision_service_interaction data,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)

◆ parse_slates_example_json() [1/2]

template<bool audit>
void parse_slates_example_json ( const VW::label_parser lbl_parser,
VW::hash_func_t  hash_func,
uint64_t  hash_seed,
uint64_t  parse_mask,
bool  chain_hash,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples = nullptr 
)
Deprecated:
"parse_slates_example_json moved to VW::parsers::json::details::parse_slates_example_json"

◆ parse_slates_example_json() [2/2]

template<bool audit>
void parse_slates_example_json ( const VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples = nullptr 
)
Deprecated:
"parse_slates_example_json moved to VW::parsers::json::details::parse_slates_example_json"

◆ parse_slates_example_json< false >() [1/2]

template void parse_slates_example_json< false > ( const VW::label_parser lbl_parser,
VW::hash_func_t  hash_func,
uint64_t  hash_seed,
uint64_t  parse_mask,
bool  chain_hash,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)

◆ parse_slates_example_json< false >() [2/2]

template void parse_slates_example_json< false > ( const VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)

◆ parse_slates_example_json< true >() [1/2]

template void parse_slates_example_json< true > ( const VW::label_parser lbl_parser,
VW::hash_func_t  hash_func,
uint64_t  hash_seed,
uint64_t  parse_mask,
bool  chain_hash,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)

◆ parse_slates_example_json< true >() [2/2]

template void parse_slates_example_json< true > ( const VW::workspace all,
VW::multi_ex examples,
char *  line,
size_t  length,
VW::example_factory_t  example_factory,
const std::unordered_map< uint64_t, VW::example * > *  dedup_examples 
)