DX-596-together-chat-completions: sync with mintlify-docs#910#19
Merged
zainhas merged 1 commit intoJun 1, 2026
Merged
Conversation
…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
muhsinking
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the function-calling best practices guide merged into mintlify-docs into the
together-chat-completionsskill.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:
references/function-calling-patterns.mdcovering 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_reasonbranching, JSON-safe argument parsing), tuning (temperature, streaming, token budget), and when to fine-tune.SKILL.mdfor designing tools/schemas andtool_choicefor reliability.SKILL.mdcovering strict schemas /additionalProperties: false/"strict": true, andfinish_reasonbranching with safe JSON parsing offunction.arguments.Generated by the Sync Skills Cursor Automation. Please review before merging.