MediaContentExtractor

Extracts media content (e.g., images, audio, files) from a JSON array (likely, requests to/responses of LLM-specific APIs, e.g., OpenAI APIs) and attaches it to the span under certain keys described by UploadableMediaContentAttributeKeys.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun setUploadableContentAttributes(span: Span, field: String, content: MediaContent)