18 lines
390 B
Python
18 lines
390 B
Python
# SPDX-FileCopyrightText: 2026 Art Sea LLC
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Any
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class JsonArraySection:
|
|
"""_JsonArraySection stores the parsed JSON array section and surrounding prompt text."""
|
|
|
|
before_array: str
|
|
items: list[Any]
|
|
after_array: str
|
|
|