Skip to content

DX-596-together-chat-completions: sync with mintlify-docs#910#19

Merged
zainhas merged 1 commit into
mainfrom
docs-sync/together-chat-completions/mintlify-docs-pr-910
Jun 1, 2026
Merged

DX-596-together-chat-completions: sync with mintlify-docs#910#19
zainhas merged 1 commit into
mainfrom
docs-sync/together-chat-completions/mintlify-docs-pr-910

Conversation

@zainhas

@zainhas zainhas commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Syncs the function-calling best practices guide merged into mintlify-docs into the together-chat-completions skill.

Source PR: togethercomputer/mintlify-docs#910 ("DX-633 Add function calling best practices guide")

Mintlify-docs files that triggered this sync:

  • docs/inference/function-calling/best-practices.mdx (new)
  • docs/inference/function-calling/overview.mdx (added link to best-practices guide)

Skill changes:

  • Added a new Best Practices section to references/function-calling-patterns.md covering description writing, schema constraints ("strict": true, additionalProperties: false, enums, required fields), keeping the active tool set small (<20 tools, naming rules — no spaces/periods/dashes), offloading work from the model, system-prompt guidance, robust response/error handling (finish_reason branching, JSON-safe argument parsing), tuning (temperature, streaming, token budget), and when to fine-tune.
  • Added a Quick Routing entry in SKILL.md for designing tools/schemas and tool_choice for reliability.
  • Added two High-Signal Rules in SKILL.md covering strict schemas / additionalProperties: false / "strict": true, and finish_reason branching with safe JSON parsing of function.arguments.

Generated by the Sync Skills Cursor Automation. Please review before merging.

…mintlify-docs#910

Adds a 'Best Practices' section to references/function-calling-patterns.md
covering description writing, schema constraints ("strict": true,
additionalProperties: false), tool-set sizing, tool-name rules, system-prompt
guidance, finish_reason handling, and tuning. SKILL.md gains a routing entry
and two high-signal rules covering strict schemas and finish_reason branching.

Source: https://github.com/togethercomputer/mintlify-docs/pull/910
@zainhas zainhas self-assigned this May 29, 2026
@zainhas zainhas requested a review from muhsinking May 29, 2026 19:52
@zainhas zainhas merged commit 2f37ed3 into main Jun 1, 2026
2 checks passed
@zainhas zainhas deleted the docs-sync/together-chat-completions/mintlify-docs-pr-910 branch June 1, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants