| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| public static List | Returns: a list of extracted non-blank items; empty list if no valid items foundthe raw LLM response response)Extracts a numbered or bulleted list from an LLM response. |
| private static boolean |
| BULLET_LINE_PATTERN | back to summary |
|---|---|
| private static final Pattern BULLET_LINE_PATTERN | |
| NUMBERED_PATTERN | back to summary |
|---|---|
| private static final Pattern NUMBERED_PATTERN | |
| QUOTE_REMOVAL_PATTERN | back to summary |
|---|---|
| private static final String QUOTE_REMOVAL_PATTERN | |
| LlmResponseParser | back to summary |
|---|---|
| private LlmResponseParser() | |
| extractByGroups | back to summary |
|---|---|
| private static List | |
| extractNumberedList | back to summary |
|---|---|
| public static List Extracts a numbered or bulleted list from an LLM response. | |
| isValidItem | back to summary |
|---|---|
| private static boolean isValidItem(String item) | |