ttransformersSource ↗
15 declarations and 31 call references extracted from public source metadata.

Source symbols: src/transformers/utils/chat_parsing/response_parser.py

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: main@9a0fe3f5dd36ffe1888133f09eb03f1eb14b8a6e · 2026-07-20T12:47:48Z
  • Declarations: 15
  • Referenced calls: 31

Declared symbols

  • parse_response — def at line 23; references load_response_template, ResponseParser, feed, finalize, ValueError, dict
  • ResponseParser — class at line 34; references load_response_template, ValueError, dict
  • __init__ — def at line 60; references load_response_template, ValueError, dict
  • _consume_prefix — def at line 86; references truncate_past_last_anchor, _process, RuntimeError, isinstance, items, ValueError, _is_empty
  • feed — def at line 100; references RuntimeError, _process, isinstance, items, ValueError, _is_empty
  • finalize — def at line 111; references isinstance, RuntimeError, _process, items, ValueError, _is_empty
  • _is_empty — def at line 117; references isinstance, RuntimeError, _process, items, ValueError
  • _process — def at line 132; references _watchlist, _scan, start, _accumulate, end, _close_current, _open_explicit, len, values, append, search, and, _can_grow, min
  • _watchlist — def at line 171; references values, append, len, search, and, _can_grow, min, start, end
  • _scan — def at line 188; references len, search, and, _can_grow, min, start, end, append
  • _can_grow — def at line 238; references end, len, start, append
  • _accumulate — def at line 257; references append
  • _open_explicit — def at line 274; references groupdict, items
  • _close_current — def at line 281; references _reset_to_implicit, process_field, setdefault, append
  • _reset_to_implicit — def at line 297

File-level call references


Source: src/transformers/utils/chat_parsing/response_parser.py

Generated by smolify with deterministic-repository-import-v2 · 1 source file
Source symbols: src/transformers/utils/chat_parsing/response_parser.py — transformers · Smolify