Package com.embabel.common.ai.prompt
Interface PromptElement
-
- All Implemented Interfaces:
public interface PromptElementContributor to a prompt. Returns a PromptContribution: subtypes may differ in how they compute this--for example, some may use a fixed value, whereas others may compute based on data. PromptContributions may be put in a system message or elsewhere depending on location.
-
-
Method Summary
Modifier and Type Method Description StringgetRole()PromptContributionLocationgetPromptContributionLocation()-
-
Method Detail
-
getPromptContributionLocation
PromptContributionLocation getPromptContributionLocation()
-
-
-
-