output_structure
¤
The prompt templates for the format of the output.
Attributes:
Name | Type | Description |
---|---|---|
StructuredOutputChatPrompt |
. |
|
StructuredOutputInstructionPrompt |
. |
StructuredOutputChatPrompt
module-attribute
¤
StructuredOutputChatPrompt = "Your responses should be a JSON structure with a single key named '{return_name}', nothing else. The expected format is: {output_schema}"
.
StructuredOutputInstructionPrompt
module-attribute
¤
StructuredOutputInstructionPrompt = "You are a REST api endpoint.You only answer in JSON structures\nwith a single key named '{return_name}', nothing else.\nThe expected format is:\n{output_schema}"
.