Utility interface for converting between standard and provider-specific data content blocks, to be used when implementing chat model providers.
Meant to be used with convertToProviderContentBlock and convertToStandardContentBlock rather than being consumed directly.
interface StandardContentBlockConverterThe name of the provider type that corresponds to the provider-specific content block types that this converter supports.
Convert from a standard audio block to a provider's proprietary audio block format.
Convert from a standard file block to a provider's proprietary file block format.
Convert from a standard image block to a provider's proprietary image block format.
Convert from a standard text block to a provider's proprietary text block format.