Chat Parameters
Adjust model request parameters for the chat experience.
Summary
- Purpose: Tune model behavior parameters used when generating responses
- Audience: Integrators
- Prereqs: Configuration Scripts
Note: This script is for advanced use cases. Most teams can rely on the defaults set in Settings and never need to edit this.
Steps
- Open the FileMaker Script Workspace.
- In
ProofChat Integration → Configuration → Optional
, edit the script namedConfigure Chat Parameters
. - This script receives the current model name in
$model
and should set$parameters
to a JSON object string. The default is{}
(no overrides). - Optionally, branch on
$model
or other context to provide provider‑specific parameters as needed. - Exit the script by returning
$parameters
. ProofChat reads these values and passes them to the model request.
What this looks like
Guidance
- Keep overrides minimal and documented so behavior remains predictable.
- Make small, incremental changes and test with representative prompts.
- Prefer global configuration in Settings; use this script only for temporary or context‑specific overrides.
When to use this override
- Enforce shorter or longer responses for a specific context (e.g., summaries vs. explanations).
- Reduce repetition using provider‑specific penalties when drafting templated text.
- Supply provider‑required flags or options for a particular model only.
- Provide parameters only on specific layouts or for certain user roles.
How to test it
- Start a new chat and ask a question that benefits from concise output (e.g., "summarize this record in two sentences").
- Adjust a parameter in this script (e.g., response length or repetition penalty), start a new chat, and ask the same question; confirm the change in behavior.
- Restore the previous value and confirm behavior returns to expected.