8000 fix(prompt): prevent intermittent Markdown output from custom LLMs by chinamerp · Pull Request #388 · presenton/presenton · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@chinamerp
Copy link

Strengthened the prompt constraints to enforce raw JSON-only output. This change explicitly disallows Markdown syntax, prefaces, explanations, and tags, addressing an issue where some custom LLMs intermittently returned Markdown-formatted responses that broke downstream JSON parsing.

Strengthened the prompt constraints to enforce raw JSON-only output.
This change explicitly disallows Markdown syntax, prefaces, explanations,
and <parameters> tags, addressing an issue where some custom LLMs
intermittently returned Markdown-formatted responses that broke
downstream JSON parsing.
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.

1 participant

0