|
| Template | microtorch::chat::v1 () |
| |
| Template | microtorch::chat::v2 () |
| |
| Template | microtorch::chat::legacy_word () |
| |
| Template | microtorch::chat::chatml (const std::string &name, bool qwen25) |
| |
| Template | microtorch::chat::gemma3 () |
| |
| std::vector< Template > | microtorch::chat::registry () |
| |
| Template | microtorch::chat::get (const std::string &id) |
| |
| template<class J > |
| std::vector< Message > | microtorch::chat::messages_from_json (const J &a) |
| |
| std::vector< Message > | microtorch::chat::from_pairs (const std::vector< std::pair< std::string, std::string > > &turns, const std::string *user=nullptr, const std::string *system=nullptr) |
| |
| size_t | microtorch::chat::check_structure (const std::vector< Message > &m, bool prompt, bool tools_ok=false) |
| |
| bool | microtorch::chat::py_space (uint32_t c) |
| |
| std::string | microtorch::chat::strip_py_ws (const std::string &s) |
| |
| std::string | microtorch::chat::detail::dump_py (const json &x) |
| |
| std::string | microtorch::chat::tool_json (const json &d) |
| |
| std::vector< Piece > | microtorch::chat::render_pieces (const std::vector< Message > &m, const Template &t, bool generation_prompt, int thinking=-1, const std::vector< json > &tools={}) |
| |
| std::string | microtorch::chat::render (const std::vector< Message > &m, const Template &t, bool generation_prompt, int thinking=-1, const std::vector< json > &tools={}) |
| |
| std::vector< std::pair< size_t, size_t > > | microtorch::chat::exchanges (const std::vector< Message > &m) |
| |
| template<class Decode > |
| ParsedReply | microtorch::chat::parse_reply (const std::vector< int > &ids, int call_id, Decode decode) |
| |
| void | microtorch::chat::check_control_tokens (const Template &t, const std::vector< std::string > &tokens, const std::vector< int32_t > &types) |
| |
| std::string | microtorch::chat::detail::jstr (const std::string &s) |
| |
| std::string | microtorch::chat::detail::go (const std::string &s) |
| |
| void | microtorch::chat::detail::paperkiln_only (const Template &t, const char *what) |
| |
| std::string | microtorch::chat::detail::jinja_tools (const Template &t) |
| |
| std::string | microtorch::chat::detail::modelfile_tools (const std::string &gguf_name, const Template &t) |
| |
| std::string | microtorch::chat::jinja (const Template &t) |
| |
| std::string | microtorch::chat::modelfile (const std::string &gguf_name, const Template &t) |
| |
| std::string | microtorch::chat::detail::sha256_hex (const std::string &msg) |
| |
| Resolution | microtorch::chat::resolve (const std::string &declared, const std::vector< std::string > &tokens, const std::string &model, const std::string &chat_template, const std::string &arch) |
| |