StringPromptValue constructor

const StringPromptValue(
  1. String value
)

Prompt value whose value is a string.

When toString is called, it returns the string value. When toChatMessages is called, it returns a HumanChatMessage with the value as content.

Implementation

const StringPromptValue(this.value);