Skip to main content

Module list

Module list 

Source
Expand description

String list extraction from LLM responses (generalized parse_tags).

This module provides parse_string_list (the successor to ollama-vision’s parse_tags) and parse_string_list_raw for general-purpose list extraction.

The parse_string_list_with_trace variant returns a ParseTrace alongside the result for observability.

Functions§

parse_string_list
Parse an LLM response into a cleaned list of strings.
parse_string_list_raw
Parse into a list without tag-specific cleaning.
parse_string_list_with_trace
Parse an LLM response into a cleaned list of strings with diagnostic trace.