Module variable_extractor
Module variable_extractor
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Variable content detection and extraction from prompt blocks.
Structs
- ExtractedVariable: One extracted variable occurrence within a prompt block.
- ExtractionResult: Variable extraction result for one prompt block.
- VariablePattern: Regex-based pattern used to detect variable content.
Enums
- VariableCategory: Category assigned to an extracted variable.
Functions
- default_variable_patterns: Return the default regex patterns used for variable extraction.
- extract_variables: Extract variables from one content string.
- extract_variables_from_blocks: Extract variables from a set of prompt blocks.