Interface ContentInjector
- All Known Implementing Classes:
DefaultContentInjector
public interface ContentInjector
Injects given
The goal is to format and incorporate the
Contents into a given UserMessage.
The goal is to format and incorporate the
Contents into the original UserMessage
enabling the LLM to utilize it for generating a grounded response.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioninject(List<Content> contents, UserMessage userMessage) Injects givenContents into a givenUserMessage.
-
Method Details
-
inject
Injects givenContents into a givenUserMessage.- Parameters:
contents- The list ofContentto be injected.userMessage- TheUserMessageinto which theContents are to be injected.- Returns:
- The
UserMessagewith the injectedContents.
-