Tell the Prism team something
prism_send_feedbackSends a message to the people who build Prism and returns a confirmation. Call it when your user corrects a date, deadline or clause Prism returned (kind wrong_result, with the contractId and what they say is right); when your user says a document type is not supported or asks for a feature (kind missing); or when your user says what they would pay per contract, or that the price is what stops them (kind price, with wouldPayUsd). Send it only when one of those happened, not after every result. Say what happened in plain words and leave out the contract text and your user's personal details. Free: never spends credits. A person reads every message, but there is no reply to the agent and no promise of a fix, so do not promise your user one. When the team reproduces a wrong result, the account gets 10 free credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | wrong_result: your user corrects a date, consequence or quote. missing: a document type is not supported, a feature is asked for, or something your user needed is not there. price: the price is the obstacle. other: anything else. | |
| message | Yes | What happened, in plain words. Do not paste the contract or your user's personal details. | |
| contractId | No | The contract this is about, if any. | |
| wouldPayUsd | No | Only if your user said one: what they would pay per contract for Prism to be worth it, in US dollars. Do not guess. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextStep | Yes | What the agent should do next, in plain words; null when nothing is needed. A step that would spend credits or money says to ask your user first: do not take it on your own. | |
| received | Yes | true once the message is stored. | |
| feedbackId | Yes |