RenderedPromptSection interface
The result of rendering a section.
Properties
length | The number of tokens that were rendered. |
output | The section that was rendered. |
too |
If true the section was truncated because it exceeded the maxTokens budget. |
Property Details
length
The number of tokens that were rendered.
length: number
Property Value
number
output
The section that was rendered.
output: T
Property Value
T
tooLong
If true the section was truncated because it exceeded the maxTokens budget.
tooLong: boolean
Property Value
boolean