Monitor a prompt in production and get detailed metrics.
prompt_messages
field. Just simply wrap your prompt variables in pairs of {{}}
.Learn how to use the Logging API here.Example:Can I log variables in logs even if I haven't created a prompt in Keywords AI?
variables
field.Check out the tutorial here.prompt_id
field, and set is_custom_prompt
to true
so the system knows it’s a custom prompt.
Example code