From e15c43cd324be2059a5abd329da9eb5500493ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81=E3=83=BC?= <47295014+ymuichiro@users.noreply.github.com> Date: Thu, 21 Aug 2025 17:36:40 +0900 Subject: [PATCH] Python: Add container_id and filename fields to AnnotationContent class --- python/semantic_kernel/contents/annotation_content.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/semantic_kernel/contents/annotation_content.py b/python/semantic_kernel/contents/annotation_content.py index 74f81ccc1775..e1a7854450e8 100644 --- a/python/semantic_kernel/contents/annotation_content.py +++ b/python/semantic_kernel/contents/annotation_content.py @@ -23,6 +23,7 @@ class CitationType(str, Enum): URL_CITATION = "url_citation" FILE_PATH = "file_path" FILE_CITATION = "file_citation" + CONTAINER_FILE_CITATION = "container_file_citation" @experimental @@ -38,6 +39,8 @@ class AnnotationContent(KernelContent): url: str | None = None title: str | None = None citation_type: CitationType | None = Field(None, alias="type") + container_id: str | None = None + filename: str | None = None model_config = ConfigDict( extra="ignore",