PromptContribution

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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: String? = null