Skip to content

Conversation

@Seven-Streams
Copy link
Collaborator

@Seven-Streams Seven-Streams commented Nov 4, 2025

The PR emphasizes the importance of describing the constraint in the prompts. It adds a notice about it in the Quick Start section, and adds the introduction to BatchGrammarMatcher.

Copilot AI review requested due to automatic review settings November 6, 2025 09:39
@Seven-Streams Seven-Streams force-pushed the docs/2025-11-04/emph_prompt branch from 0a6c982 to 3127e00 Compare November 6, 2025 09:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a best practices notice to the Quick Start documentation, recommending that users describe the expected output structure in their prompts when using constrained decoding.

  • Adds a new section highlighting the importance of prompt engineering when using constrained decoding

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Yuchuan <[email protected]>
Signed-off-by: Yuchuan <[email protected]>
@Seven-Streams Seven-Streams force-pushed the docs/2025-11-04/emph_prompt branch from e1c7804 to fcf3828 Compare November 7, 2025 08:03
Signed-off-by: Yuchuan <[email protected]>
@Seven-Streams Seven-Streams force-pushed the docs/2025-11-04/emph_prompt branch from fcf3828 to bcd8ca8 Compare November 7, 2025 08:24
@Seven-Streams Seven-Streams changed the title [Doc] Emphasize the importance of describing the constraint in the prompt. [Doc] Emphasize the importance of the prompts and update BatchGrammarMatcher. Nov 7, 2025
Copy link
Collaborator

@Ubospica Ubospica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@Seven-Streams Seven-Streams merged commit ec37f99 into mlc-ai:main Nov 16, 2025
39 checks passed
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.

2 participants