proofchat

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

  1. Open the FileMaker Script Workspace.
  2. In ProofChat Integration → Configuration → Optional, edit the script named Configure Chat Parameters.
  3. This script receives the current model name in $model and should set $parameters to a JSON object string. The default is {} (no overrides).
  4. Optionally, branch on $model or other context to provide provider‑specific parameters as needed.
  5. Exit the script by returning $parameters. ProofChat reads these values and passes them to the model request.

What this looks like

Configure Chat Parameters – return $parameters JSON string

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

  1. Start a new chat and ask a question that benefits from concise output (e.g., "summarize this record in two sentences").
  2. 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.
  3. Restore the previous value and confirm behavior returns to expected.