Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Claude's chatty tendencies #143

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Prevent Claude's chatty tendencies #143

merged 3 commits into from
Dec 21, 2023

Conversation

Adamantios
Copy link
Collaborator

@Adamantios Adamantios commented Dec 21, 2023

This fixes some cases where:

  • Claude adds a sentence or two prior to providing its answer, or after providing it.
  • Claude uses Markdown syntax highlighting.

Instead, Claude is forced to provide only the JSON string.

Uses the Put words in Claude's mouth technique.

This fixes some cases where:
- Claude adds a sentence or two prior to providing its answer, or after providing it.
- Claude uses Markdown syntax highlighting.

Instead, Claude is enforced to provide only the json string.

Uses the [Put words in Claude's mouth](https://docs.anthropic.com/claude/docs/put-words-in-claudes-mouth) technique.
@Adamantios Adamantios added the enhancement New feature or request label Dec 21, 2023
@Adamantios Adamantios merged commit 4592975 into main Dec 21, 2023
6 checks passed
@Adamantios Adamantios deleted the fix/claude branch December 21, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants