Skip to content

Interface: PromptResolveResult ​

What PromptsResource.resolve returns.

Properties ​

prompt ​

ts
prompt: string;

Ready-to-run prompt text, as the version's benchmark ran it. A classic prompt has its values written in. A BRAID graph comes framed, with the values listed beside the flowchart, whose {{placeholders}} stay as drawn — written into its labels, a value could change the graph.


promptVersionId ​

ts
promptVersionId: string;

Id of the exact version resolved — worth logging beside the output.


version ​

ts
version: string;

Label of the version deployed to the key's environment, e.g. "v1".

Released under the MIT licence.