Format the prompt given the input values.
format(values: TypedPromptInputValues<RunInput>): Promise<string>| Name | Type | Description |
|---|---|---|
values* | TypedPromptInputValues<RunInput> | A dictionary of arguments to be passed to the prompt template. |
prompt.format({ foo: "bar" });