ResponseFormat

data class ResponseFormat(val format: String) : PromptContributor

PromptContributor that defines the expected response format for text responses

Constructors

Link copied to clipboard
constructor(format: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val role: String

Role defaults to class simple name. Override for stereotyped roles.

Functions

Link copied to clipboard
open override fun contribution(): String

Return the string content of the contribution.

Link copied to clipboard