Python Bug: Serialized _Chat Content_ types incompatible with .NET #9627
Labels
bug
Something isn't working
chat history
kernel.core
kernel
Issues or pull requests impacting the core kernel
python
Pull requests for the Python Semantic Kernel
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Describe the bug
Python and .NET content types are not cross compatible when serialized to JSON.
Repro #1
Repro #2
Expected behavior
Content types are compatible across platforms
Screenshots
Content Type Compatibility.xlsx
dotnet-history.json
python-history.json
In addition:
Additional context
This has compatibility has long been identified as desired, but not directly analyzed or addressed. Performed analysis for critical types as part of agent framework serialization feature and capturing here:
KernelContent
ChatMessageContent
TextContent
FunctionCallContent
FunctionResultContent
Other content types include:
AnnotationContent
AudioContent
BinaryContent
FileReferenceContent
ImageContent
The text was updated successfully, but these errors were encountered: