Interface Content
- All Known Implementing Classes:
DefaultContent
public interface Content
Represents content relevant to a user
Currently, it is limited to text content (i.e.,
Query with the potential to enhance and ground the LLM's response.
Currently, it is limited to text content (i.e.,
TextSegment),
but future expansions may include support for other modalities (e.g., images, audio, video, etc.).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Contentfrom(TextSegment textSegment) static Contentfrom(TextSegment textSegment, Map<ContentMetadata, Object> metadata) static Contentmetadata()
-
Method Details
-
textSegment
TextSegment textSegment() -
metadata
Map<ContentMetadata, Object> metadata() -
from
-
from
-
from
-