Prompt Contribution
data class PromptContribution(val content: String, val location: PromptContributionLocation = PromptContributionLocation.BEGINNING, val role: String? = null)
Contribution to a prompt
Parameters
content
The content of the contribution
location
Where in the prompt this should go
role
The role of the contribution, if known.
Constructors
Link copied to clipboard
constructor(content: String, location: PromptContributionLocation = PromptContributionLocation.BEGINNING, role: String? = null)