from pydantic import BaseModel, Field, HttpUrl from typing import Annotated class OutputFormat(BaseModel): text: Annotated[str, Field(description="Clean text content with links removed and natural flow maintained with line breaks as is.")] links: Annotated[list[HttpUrl], Field(description="The non-redundant `links` extracted from provided content.")]