Skip to content

Standardize several additional forms of content #6057

@stephentoub

Description

@stephentoub

It's possible for implementations to create their own custom AIContent-derived types, and that's valuable when there's something the service consumes or produces that's non-standard. However, there are a variety of kinds of content that are becoming more standard and that could be abstracted over if the right types were in the core abstractions library:

  • Tool execution results. When a code interpreter tool is used, or a web search tool, etc., some services send back a piece of content containing the result. We might want a Code Result Content, or a ServerToolResultContent. Or maybe we add a ToolResultContent that's a base for FunctionResultContent.
  • Citation / reference content. Investigate adding new AIContent-derived type for citations/references #5527
    -....

We need to do a pass through all of the currently available services and determine what is common enough (and/or simple enough with little need for future variation) now to warrant standardization.

cc: @luisquintanilla, @SteveSandersonMS

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-aiMicrosoft.Extensions.AI libraries

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions