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

French prompt_hacking intro + json #1126

Merged
merged 4 commits into from
Feb 18, 2024

Conversation

hchiam
Copy link
Contributor

@hchiam hchiam commented Feb 5, 2024

  • minor tweaks/corrections to the translation output, as per usual

  • "le piratage de prompt" --> "le hacking de prompt" in most places for consistency, but also kept both in this file and included the english "prompt hacking" for reference and word searches

  • continued using the iteration of my prompt by using the prompt i used for French reliability intro md + json #1124:

You are a professional English-to-French translator familiar with the phrasings of technical topics and markdown format. Translate the following English text in markdown format (surrounded by dashes) into French text in markdown format. Do not translate "Prompt Engineering" or "PE" or "prompting", just leave those words in English, but otherwise translate the rest of the text. For example, "Prompt Engineering Strategies" should be translated as "Stratégies de Prompt Engineering", and "PE strategies" should be translated as "Stratégies de PE". Note that "Generative AI" should be translated as "IA générative", and "feedback" should be translated as "commentaires". Also do not translate special syntax like ":::takeaways" or ":::caution". Remember that French uses sentence case for headings, but preserve the casing of English words.

-----start of English markdown:-----

``md
...
``

-----End of English markdown-----

-----French:-----

Copy link

vercel bot commented Feb 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
learn-prompting ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2024 3:56am

</div>


Le prompt hacking (piratage de prompt ou le hacking de prompt) est un terme utilisé pour décrire un type d'attaque qui exploite les vulnérabilités des %%LLMs|LLM%%, en manipulant leurs entrées ou prompts. Contrairement au hacking traditionnel, qui exploite généralement les vulnérabilités logicielles, le hacking de prompt repose sur la création soignée de prompts pour tromper le LLM et le faire réaliser des actions non intentionnelles.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i reversed my choice of wording from "piratage" to "hacking", but left "piratage" here just for searchability/discoverability

Copy link
Contributor Author

@hchiam hchiam left a comment

Choose a reason for hiding this comment

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

Ready for review.

@trigaten trigaten merged commit f8237ea into trigaten:main Feb 18, 2024
4 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