Vowpal Wabbit
Loading...
Searching...
No Matches
Namespaces | Functions
parse_example_slates_json.h File Reference
#include "vw/common/future_compat.h"
#include "vw/core/example.h"
#include "vw/core/hashstring.h"
#include "vw/core/label_parser.h"
#include "vw/json_parser/decision_service_utils.h"
#include <unordered_map>

Namespaces

namespace  VW
 
namespace  VW::parsers
 
namespace  VW::parsers::json
 
namespace  VW::parsers::json::details
 

Functions

template<bool audit>
void VW::parsers::json::details::parse_slates_example_json (const VW::label_parser &lbl_parser, 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 VW::parsers::json::details::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 VW::parsers::json::details::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 VW::parsers::json::details::parse_slates_example_json< true > (const VW::label_parser &lbl_parser, 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 VW::parsers::json::details::parse_slates_example_json< false > (const VW::label_parser &lbl_parser, 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 VW::parsers::json::details::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 VW::parsers::json::details::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 VW::parsers::json::details::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 VW::parsers::json::details::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)