From 9cf181ce06ad3db4c9d90e13a15c242912dff88f Mon Sep 17 00:00:00 2001 From: wraith4081 <54374743+wraith4081@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:41:59 +0300 Subject: [PATCH 1/3] chore: prompt hub added and translated into Turkish language --- .github/FUNDING.yml | 13 + .gitignore | 20 + CITATION.cff | 17 + LICENSE.md | 21 + README.md | 154 + ar-pages/about.ar.mdx | 11 + ar-pages/applications.ar.mdx | 10 + ar-pages/applications/_meta.ar.json | 9 + ar-pages/applications/coding.ar.mdx | 196 + ar-pages/applications/function_calling.ar.mdx | 143 + ar-pages/applications/generating.ar.mdx | 44 + .../applications/generating_textbooks.ar.mdx | 144 + ar-pages/applications/pf.ar.mdx | 107 + ar-pages/applications/synthetic_rag.ar.mdx | 88 + .../applications/workplace_casestudy.ar.mdx | 56 + ar-pages/course.ar.mdx | 41 + ar-pages/datasets.ar.mdx | 12 + ar-pages/introduction.ar.mdx | 15 + ar-pages/introduction/_meta.ar.json | 7 + ar-pages/introduction/basics.ar.mdx | 145 + ar-pages/introduction/elements.ar.mdx | 39 + ar-pages/introduction/examples.ar.mdx | 311 + ar-pages/introduction/settings.ar.mdx | 29 + ar-pages/introduction/tips.ar.mdx | 115 + ar-pages/models.ar.mdx | 10 + ar-pages/models/_meta.ar.json | 23 + ar-pages/models/chatgpt.ar.mdx | 309 + ar-pages/models/claude-3.ar.mdx | 27 + ar-pages/models/code-llama.ar.mdx | 512 ++ ar-pages/models/collection.ar.mdx | 107 + ar-pages/models/flan.ar.mdx | 83 + ar-pages/models/gemini-advanced.ar.mdx | 87 + ar-pages/models/gemini-pro.ar.mdx | 136 + ar-pages/models/gemini.ar.mdx | 247 + ar-pages/models/gemma.ar.mdx | 172 + ar-pages/models/gpt-4.ar.mdx | 282 + ar-pages/models/grok-1.ar.mdx | 28 + ar-pages/models/llama-3.ar.mdx | 47 + ar-pages/models/llama.ar.mdx | 43 + ar-pages/models/mistral-7b.ar.mdx | 354 + ar-pages/models/mixtral-8x22b.ar.mdx | 28 + ar-pages/models/mixtral.ar.mdx | 255 + ar-pages/models/olmo.ar.mdx | 62 + ar-pages/models/phi-2.ar.mdx | 124 + ar-pages/models/sora.ar.mdx | 62 + ar-pages/notebooks.ar.mdx | 11 + ar-pages/papers.ar.mdx | 450 + ar-pages/prompts.ar.mdx | 8 + ar-pages/prompts/_meta.ar.json | 14 + ar-pages/prompts/adversarial-prompting.ar.mdx | 7 + .../adversarial-prompting/_meta.ar.json | 5 + .../jailbreaking-llms.ar.mdx | 73 + .../prompt-injection.ar.mdx | 74 + .../prompt-leaking.ar.mdx | 82 + ar-pages/prompts/classification.ar.mdx | 8 + ar-pages/prompts/classification/_meta.ar.json | 4 + .../classification/sentiment-fewshot.ar.mdx | 71 + .../prompts/classification/sentiment.ar.mdx | 77 + ar-pages/prompts/coding.ar.mdx | 9 + ar-pages/prompts/coding/_meta.ar.json | 5 + ar-pages/prompts/coding/code-snippet.ar.mdx | 70 + ar-pages/prompts/coding/mysql-query.ar.mdx | 72 + ar-pages/prompts/coding/tikz.ar.mdx | 68 + ar-pages/prompts/creativity.ar.mdx | 8 + ar-pages/prompts/creativity/_meta.ar.json | 6 + .../prompts/creativity/infinite-primes.ar.mdx | 71 + .../creativity/interdisciplinary.ar.mdx | 71 + ar-pages/prompts/creativity/new-words.ar.mdx | 74 + ar-pages/prompts/creativity/rhymes.ar.mdx | 70 + ar-pages/prompts/evaluation.ar.mdx | 8 + ar-pages/prompts/evaluation/_meta.ar.json | 3 + .../prompts/evaluation/plato-dialogue.ar.mdx | 82 + ar-pages/prompts/image-generation.ar.mdx | 8 + .../prompts/image-generation/_meta.ar.json | 3 + .../image-generation/alphabet-person.ar.mdx | 83 + .../prompts/information-extraction.ar.mdx | 8 + .../information-extraction/_meta.ar.json | 3 + .../extract-models.ar.mdx | 82 + ar-pages/prompts/mathematics.ar.mdx | 9 + ar-pages/prompts/mathematics/_meta.ar.json | 4 + .../mathematics/composite-functions.ar.mdx | 69 + .../prompts/mathematics/odd-numbers.ar.mdx | 72 + ar-pages/prompts/question-answering.ar.mdx | 7 + .../prompts/question-answering/_meta.ar.json | 5 + .../question-answering/closed-domain.ar.mdx | 80 + .../question-answering/open-domain.ar.mdx | 78 + .../question-answering/science-qa.ar.mdx | 77 + ar-pages/prompts/reasoning.ar.mdx | 9 + ar-pages/prompts/reasoning/_meta.ar.json | 4 + .../reasoning/indirect-reasoning.ar.mdx | 83 + .../reasoning/physical-reasoning.ar.mdx | 70 + ar-pages/prompts/text-summarization.ar.mdx | 7 + .../prompts/text-summarization/_meta.ar.json | 3 + .../text-summarization/explain-concept.ar.mdx | 73 + ar-pages/prompts/truthfulness.ar.mdx | 8 + ar-pages/prompts/truthfulness/_meta.ar.json | 3 + .../identify-hallucination.ar.mdx | 88 + ar-pages/readings.ar.mdx | 123 + ar-pages/research.ar.mdx | 12 + ar-pages/research/_meta.ar.json | 15 + ar-pages/research/groq.ar.mdx | 21 + ar-pages/research/guided-cot.ar.mdx | 26 + ar-pages/research/infini-attention.ar.mdx | 25 + ar-pages/research/llm-agents.ar.mdx | 175 + ar-pages/research/llm-reasoning.ar.mdx | 37 + ar-pages/research/llm-recall.ar.mdx | 25 + ar-pages/research/llm-tokenization.ar.mdx | 29 + ar-pages/research/rag-faithfulness.ar.mdx | 24 + ar-pages/research/rag.ar.mdx | 262 + ar-pages/research/rag_hallucinations.ar.mdx | 19 + ar-pages/research/synthetic_data.ar.mdx | 19 + ar-pages/research/thoughtsculpt.ar.mdx | 25 + .../research/trustworthiness-in-llms.ar.mdx | 61 + ar-pages/risks.ar.mdx | 13 + ar-pages/risks/_meta.ar.json | 5 + ar-pages/risks/adversarial.ar.mdx | 341 + ar-pages/risks/biases.ar.mdx | 98 + ar-pages/risks/factuality.ar.mdx | 34 + ar-pages/services.ar.mdx | 59 + ar-pages/techniques.ar.mdx | 11 + ar-pages/techniques/_meta.ar.json | 19 + ar-pages/techniques/activeprompt.ar.mdx | 12 + ar-pages/techniques/ape.ar.mdx | 28 + ar-pages/techniques/art.ar.mdx | 25 + ar-pages/techniques/consistency.ar.mdx | 77 + ar-pages/techniques/cot.ar.mdx | 117 + ar-pages/techniques/dsp.ar.mdx | 16 + ar-pages/techniques/fewshot.ar.mdx | 114 + ar-pages/techniques/graph.ar.mdx | 5 + ar-pages/techniques/knowledge.ar.mdx | 92 + ar-pages/techniques/multimodalcot.ar.mdx | 15 + ar-pages/techniques/pal.ar.mdx | 116 + ar-pages/techniques/prompt_chaining.ar.mdx | 105 + ar-pages/techniques/rag.ar.mdx | 48 + ar-pages/techniques/react.ar.mdx | 179 + ar-pages/techniques/reflexion.ar.mdx | 67 + ar-pages/techniques/tot.ar.mdx | 45 + ar-pages/techniques/zeroshot.ar.mdx | 32 + ar-pages/tools.ar.mdx | 67 + components/CodeBlock.tsx | 64 + components/ContentFileNames.tsx | 32 + components/PromptFiles.jsx | 50 + components/TabsComponent.tsx | 44 + components/button.tsx | 22 + components/check.tsx | 19 + components/copy-to-clipboard.tsx | 47 + components/copy.tsx | 32 + components/counters.module.css | 6 + components/counters.tsx | 24 + components/icons/arrow-right.svg | 11 + components/icons/box.svg | 13 + components/icons/brush.svg | 13 + components/icons/cards.svg | 13 + components/icons/chevron-right.svg | 13 + components/icons/cloud.svg | 13 + components/icons/code.svg | 13 + components/icons/diagram.svg | 5 + components/icons/dropper.svg | 13 + components/icons/file.svg | 13 + components/icons/files.svg | 13 + components/icons/folder-tree.svg | 5 + components/icons/formula.svg | 13 + components/icons/gear.svg | 13 + components/icons/globe.svg | 13 + components/icons/id-card.svg | 8 + components/icons/index.ts | 29 + components/icons/lightning.svg | 7 + components/icons/link.svg | 13 + components/icons/markdown.svg | 6 + components/icons/newsletter.svg | 13 + components/icons/one.svg | 10 + components/icons/picture.svg | 13 + components/icons/rows.svg | 13 + components/icons/stars.svg | 13 + components/icons/switch.svg | 6 + components/icons/table.svg | 13 + components/icons/tailwind.svg | 13 + components/icons/terminal.svg | 30 + components/icons/warning.svg | 13 + components/pre.tsx | 82 + components/screenshot/index.jsx | 22 + components/word-wrap.tsx | 12 + guides/README.md | 11 + guides/prompts-advanced-usage.md | 419 + guides/prompts-adversarial.md | 279 + guides/prompts-applications.md | 222 + guides/prompts-basic-usage.md | 304 + guides/prompts-chatgpt.md | 193 + guides/prompts-intro.md | 267 + guides/prompts-miscellaneous.md | 68 + guides/prompts-reliability.md | 174 + img/APE.png | Bin 0 -> 371842 bytes img/ART.png | Bin 0 -> 198252 bytes img/ART2.png | Bin 0 -> 215978 bytes img/TOT.png | Bin 0 -> 112801 bytes img/TOT2.png | Bin 0 -> 84516 bytes img/TOT3.png | Bin 0 -> 67901 bytes img/active-prompt.png | Bin 0 -> 170061 bytes img/agents/agent-framework.png | Bin 0 -> 39825 bytes img/agents/agentbench.png | Bin 0 -> 242810 bytes img/agents/autogen.png | Bin 0 -> 130557 bytes img/agents/chemcrow.png | Bin 0 -> 301677 bytes img/agents/hugginggpt.png | Bin 0 -> 278448 bytes img/agents/task-decomposition.png | Bin 0 -> 92972 bytes img/ape-zero-shot-cot.png | Bin 0 -> 68902 bytes img/auto-cot.png | Bin 0 -> 229653 bytes img/chatgpt-1.png | Bin 0 -> 145251 bytes img/chatgpt-classic.png | Bin 0 -> 123362 bytes img/claude/claude-benchmark.png | Bin 0 -> 221606 bytes img/claude/claude-vision.png | Bin 0 -> 89045 bytes img/code-generation/chat-mode.png | Bin 0 -> 93322 bytes img/cot.png | Bin 0 -> 120567 bytes img/dan-1.png | Bin 0 -> 55848 bytes img/dsp.jpeg | Bin 0 -> 147724 bytes img/flan-1.png | Bin 0 -> 175496 bytes img/flan-10.png | Bin 0 -> 206151 bytes img/flan-11.png | Bin 0 -> 248556 bytes img/flan-2.png | Bin 0 -> 73319 bytes img/flan-3.png | Bin 0 -> 81748 bytes img/flan-4.png | Bin 0 -> 68044 bytes img/flan-5.png | Bin 0 -> 199935 bytes img/flan-6.png | Bin 0 -> 48167 bytes img/flan-7.png | Bin 0 -> 105326 bytes img/flan-8.png | Bin 0 -> 171331 bytes img/flan-9.png | Bin 0 -> 115139 bytes img/gemini-advanced/chart-explanation.png | Bin 0 -> 109390 bytes img/gemini-advanced/chart.png | Bin 0 -> 88004 bytes img/gemini-advanced/html.png | Bin 0 -> 16067 bytes img/gemini-advanced/interleaving.png | Bin 0 -> 189054 bytes img/gemini-advanced/math.png | Bin 0 -> 40753 bytes img/gemini-advanced/physical-reasoning.png | Bin 0 -> 115105 bytes img/gemini-advanced/prime.png | Bin 0 -> 93679 bytes img/gemini/chart.png | Bin 0 -> 585753 bytes img/gemini/chat-1.png | Bin 0 -> 177876 bytes img/gemini/extract-table.png | Bin 0 -> 98374 bytes img/gemini/galactica-2.png | Bin 0 -> 164440 bytes img/gemini/galactica-chat.png | Bin 0 -> 137522 bytes img/gemini/galactica.png | Bin 0 -> 198070 bytes img/gemini/gemini-1.png | Bin 0 -> 329220 bytes img/gemini/gemini-2.png | Bin 0 -> 318021 bytes img/gemini/gemini-3.png | Bin 0 -> 650877 bytes img/gemini/gemini-6.png | Bin 0 -> 192263 bytes img/gemini/gemini-7.png | Bin 0 -> 241160 bytes img/gemini/gemini-8.png | Bin 0 -> 133839 bytes img/gemini/gemini-architecture.png | Bin 0 -> 50167 bytes img/gemini/gemini-few-shot-2.png | Bin 0 -> 74440 bytes img/gemini/gemini-few-shot.png | Bin 0 -> 67023 bytes img/gemini/gemini-pro-results.png | Bin 0 -> 171778 bytes img/gemini/gemini-result.png | Bin 0 -> 150929 bytes img/gemini/gemini-retrieval.png | Bin 0 -> 90032 bytes img/gemini/jax.png | Bin 0 -> 104117 bytes img/gemini/kalamang.png | Bin 0 -> 98328 bytes img/gemini/pe-guide.png | Bin 0 -> 170408 bytes img/gemini/prompt-webqa-1.png | Bin 0 -> 132542 bytes img/gemini/prompt-webqa-2.png | Bin 0 -> 159128 bytes img/gemma/benchmarks.png | Bin 0 -> 139639 bytes img/gemma/capabilities.png | Bin 0 -> 40952 bytes img/gemma/control-tokens.png | Bin 0 -> 73201 bytes img/gemma/safety-2.png | Bin 0 -> 86708 bytes img/gemma/safety.png | Bin 0 -> 58243 bytes img/gen-knowledge.png | Bin 0 -> 90456 bytes img/gpt-simulator.jpeg | Bin 0 -> 189454 bytes img/gpt4-1.png | Bin 0 -> 69294 bytes img/gpt4-2.png | Bin 0 -> 112912 bytes img/gpt4-3.png | Bin 0 -> 86142 bytes img/gpt4-4.png | Bin 0 -> 105783 bytes img/gpt4-5.png | Bin 0 -> 37551 bytes img/gpt4-6.png | Bin 0 -> 27576 bytes img/gpt4-7.png | Bin 0 -> 73814 bytes img/gpt4-8.png | Bin 0 -> 98577 bytes img/gpt4-game-simulator.png | Bin 0 -> 141569 bytes img/grok/grok-math.png | Bin 0 -> 24934 bytes img/grok/grok-reasoning.png | Bin 0 -> 66786 bytes img/introduction.png | Bin 0 -> 45906 bytes img/introduction/sky.png | Bin 0 -> 57358 bytes img/llama-1.png | Bin 0 -> 225233 bytes img/llama3/llama-400b.png | Bin 0 -> 145316 bytes img/llama3/llama-instruct-performance.png | Bin 0 -> 146418 bytes img/llama3/llama3-pretrained-results.png | Bin 0 -> 144196 bytes img/llms/trust-dimensions.png | Bin 0 -> 99084 bytes img/llms/trustllm.png | Bin 0 -> 287294 bytes img/llms/truthfulness-leaderboard.png | Bin 0 -> 161767 bytes img/mistral-7B-1.png | Bin 0 -> 85613 bytes img/mistral-7B-2.png | Bin 0 -> 66383 bytes img/mistral-l/ml-performance.png | Bin 0 -> 51469 bytes img/mistral-l/performance-1.png | Bin 0 -> 21387 bytes img/mistral-l/performance-2.png | Bin 0 -> 23131 bytes img/mistral-l/performance-3.png | Bin 0 -> 25012 bytes img/mixtral/mixtral-8-cost.png | Bin 0 -> 81580 bytes img/mixtral/mixtral-8-maths.png | Bin 0 -> 102107 bytes img/mixtral/mixtral-8-reasoning.png | Bin 0 -> 100235 bytes img/mixtral/mixtral-benchmarks-1.png | Bin 0 -> 45269 bytes img/mixtral/mixtral-benchmarks-2.png | Bin 0 -> 56935 bytes img/mixtral/mixtral-benchmarks-3.png | Bin 0 -> 90051 bytes img/mixtral/mixtral-benchmarks-4.png | Bin 0 -> 61335 bytes img/mixtral/mixtral-benchmarks-5.png | Bin 0 -> 35479 bytes img/mixtral/mixtral-benchmarks-6.png | Bin 0 -> 57576 bytes img/mixtral/mixtral-benchmarks-7.png | Bin 0 -> 42062 bytes img/mixtral/mixtral-chatbot-arena.png | Bin 0 -> 125642 bytes img/mixtral/mixtral-of-experts-layers.png | Bin 0 -> 68359 bytes img/multimodal-cot.png | Bin 0 -> 174994 bytes img/olmo/dolma-dataset.png | Bin 0 -> 66114 bytes img/olmo/olmo-models.png | Bin 0 -> 15520 bytes img/olmo/olmo-results.png | Bin 0 -> 57519 bytes img/pal.png | Bin 0 -> 210530 bytes img/phi-2/phi-2-benchmark.png | Bin 0 -> 76006 bytes img/phi-2/phi-2-correcting.png | Bin 0 -> 158746 bytes img/phi-2/phi-2-performance.png | Bin 0 -> 67875 bytes img/phi-2/phi-2-physics.png | Bin 0 -> 256423 bytes img/phi-2/phi-2-safety.png | Bin 0 -> 116327 bytes img/prompt_chaining/prompt-chaining-1.png | Bin 0 -> 136577 bytes img/rag.png | Bin 0 -> 152885 bytes img/rag/rag-augmentation.png | Bin 0 -> 245443 bytes img/rag/rag-ecosystem.png | Bin 0 -> 255763 bytes img/rag/rag-evolution.png | Bin 0 -> 192507 bytes img/rag/rag-framework.png | Bin 0 -> 195622 bytes img/rag/rag-metrics.png | Bin 0 -> 119709 bytes img/rag/rag-optimization.png | Bin 0 -> 174848 bytes img/rag/rag-paradigms.png | Bin 0 -> 172599 bytes img/rag/rag-process.png | Bin 0 -> 228056 bytes img/rag/rag-taxonomy.png | Bin 0 -> 480859 bytes img/rag/rag-vs-finetuning.png | Bin 0 -> 187646 bytes img/react.png | Bin 0 -> 200479 bytes img/react/alfworld.png | Bin 0 -> 172218 bytes img/react/table1.png | Bin 0 -> 73949 bytes img/research/groq.png | Bin 0 -> 55506 bytes img/research/guided-cot.png | Bin 0 -> 202401 bytes img/research/haystack-performance.png | Bin 0 -> 230877 bytes img/research/infini-attention.png | Bin 0 -> 88562 bytes img/research/rag-faith.png | Bin 0 -> 61969 bytes img/research/reasoning-tasks.png | Bin 0 -> 207953 bytes img/research/reasoning-taxonomy.png | Bin 0 -> 348125 bytes img/research/reasoning-techniques.png | Bin 0 -> 76610 bytes img/research/reflexion-alfworld.png | Bin 0 -> 97052 bytes img/research/reflexion-examples.png | Bin 0 -> 228829 bytes img/research/reflexion-hotpotqa.png | Bin 0 -> 64762 bytes img/research/reflexion-programming.png | Bin 0 -> 49935 bytes img/research/reflexion.png | Bin 0 -> 102824 bytes img/research/structured_outputs.png | Bin 0 -> 159982 bytes img/research/thoughtsculpt.png | Bin 0 -> 143158 bytes img/research/tokenization.png | Bin 0 -> 78393 bytes img/synthetic_diversity/textbooks_1.png | Bin 0 -> 192643 bytes img/synthetic_diversity/textbooks_2.png | Bin 0 -> 405700 bytes img/synthetic_rag/synthetic_rag_1.png | Bin 0 -> 49960 bytes img/synthetic_rag/synthetic_rag_2.png | Bin 0 -> 165242 bytes img/synthetic_rag/synthetic_rag_3.png | Bin 0 -> 73674 bytes img/synthetic_rag/synthetic_rag_4.png | Bin 0 -> 160790 bytes img/techniques/meta-prompting.png | Bin 0 -> 149274 bytes img/zero-cot.png | Bin 0 -> 187094 bytes lecture/Prompt-Engineering-Lecture-Elvis.pdf | Bin 0 -> 3164942 bytes middleware.js | 1 + next-env.d.ts | 5 + next.config.js | 26 + notebooks/gemini-context-caching.ipynb | 276 + notebooks/pe-chatgpt-adversarial.ipynb | 341 + notebooks/pe-chatgpt-intro.ipynb | 238 + notebooks/pe-chatgpt-langchain.ipynb | 377 + notebooks/pe-code-llama.ipynb | 1281 +++ notebooks/pe-function-calling.ipynb | 568 ++ notebooks/pe-lecture.ipynb | 762 ++ notebooks/pe-litellm-intro.ipynb | 351 + notebooks/pe-mixtral-introduction.ipynb | 369 + notebooks/pe-pal.ipynb | 186 + notebooks/pe-rag.ipynb | 1181 +++ notebooks/react.ipynb | 126 + package-lock.json | 7985 +++++++++++++++++ package.json | 37 + pages/_app.tsx | 27 + pages/_meta.ar.json | 27 + pages/_meta.ca.json | 27 + pages/_meta.de.json | 27 + pages/_meta.en.json | 29 + pages/_meta.es.json | 28 + pages/_meta.fi.json | 27 + pages/_meta.fr.json | 27 + pages/_meta.it.json | 27 + pages/_meta.jp.json | 27 + pages/_meta.kr.json | 27 + pages/_meta.pt.json | 27 + pages/_meta.ru.json | 27 + pages/_meta.tr.json | 27 + pages/_meta.zh.json | 27 + pages/about.ca.mdx | 11 + pages/about.de.mdx | 11 + pages/about.en.mdx | 11 + pages/about.es.mdx | 11 + pages/about.fi.mdx | 11 + pages/about.fr.mdx | 11 + pages/about.it.mdx | 12 + pages/about.jp.mdx | 11 + pages/about.kr.mdx | 11 + pages/about.pt.mdx | 11 + pages/about.ru.mdx | 11 + pages/about.tr.mdx | 11 + pages/about.zh.mdx | 11 + pages/api/contentFiles.js | 27 + pages/api/promptsFiles.js | 45 + pages/applications.ca.mdx | 8 + pages/applications.de.mdx | 10 + pages/applications.en.mdx | 10 + pages/applications.es.mdx | 8 + pages/applications.fi.mdx | 8 + pages/applications.fr.mdx | 8 + pages/applications.it.mdx | 8 + pages/applications.jp.mdx | 8 + pages/applications.kr.mdx | 9 + pages/applications.pt.mdx | 8 + pages/applications.ru.mdx | 8 + pages/applications.tr.mdx | 8 + pages/applications.zh.mdx | 9 + pages/applications/_meta.ca.json | 6 + pages/applications/_meta.de.json | 9 + pages/applications/_meta.en.json | 11 + pages/applications/_meta.es.json | 6 + pages/applications/_meta.fi.json | 6 + pages/applications/_meta.fr.json | 6 + pages/applications/_meta.it.json | 6 + pages/applications/_meta.jp.json | 6 + pages/applications/_meta.kr.json | 6 + pages/applications/_meta.pt.json | 6 + pages/applications/_meta.ru.json | 6 + pages/applications/_meta.tr.json | 6 + pages/applications/_meta.zh.json | 6 + pages/applications/coding.ca.mdx | 196 + pages/applications/coding.de.mdx | 196 + pages/applications/coding.en.mdx | 196 + pages/applications/coding.es.mdx | 200 + pages/applications/coding.fi.mdx | 201 + pages/applications/coding.fr.mdx | 3 + pages/applications/coding.it.mdx | 3 + pages/applications/coding.jp.mdx | 195 + pages/applications/coding.kr.mdx | 199 + pages/applications/coding.pt.mdx | 3 + pages/applications/coding.ru.mdx | 201 + pages/applications/coding.tr.mdx | 194 + pages/applications/coding.zh.mdx | 196 + pages/applications/context-caching.en.mdx | 55 + pages/applications/finetuning-gpt4o.en.mdx | 31 + pages/applications/function_calling.ca.mdx | 3 + pages/applications/function_calling.de.mdx | 120 + pages/applications/function_calling.en.mdx | 150 + pages/applications/function_calling.es.mdx | 3 + pages/applications/function_calling.fi.mdx | 3 + pages/applications/function_calling.fr.mdx | 3 + pages/applications/function_calling.it.mdx | 3 + pages/applications/function_calling.jp.mdx | 3 + pages/applications/function_calling.kr.mdx | 142 + pages/applications/function_calling.pt.mdx | 3 + pages/applications/function_calling.ru.mdx | 144 + pages/applications/function_calling.tr.mdx | 3 + pages/applications/function_calling.zh.mdx | 107 + pages/applications/generating.ca.mdx | 45 + pages/applications/generating.de.mdx | 44 + pages/applications/generating.en.mdx | 44 + pages/applications/generating.es.mdx | 45 + pages/applications/generating.fi.mdx | 44 + pages/applications/generating.fr.mdx | 44 + pages/applications/generating.it.mdx | 46 + pages/applications/generating.jp.mdx | 44 + pages/applications/generating.kr.mdx | 44 + pages/applications/generating.pt.mdx | 44 + pages/applications/generating.ru.mdx | 44 + pages/applications/generating.tr.mdx | 44 + pages/applications/generating.zh.mdx | 44 + .../applications/generating_textbooks.de.mdx | 143 + .../applications/generating_textbooks.en.mdx | 144 + pages/applications/pf.ca.mdx | 3 + pages/applications/pf.de.mdx | 107 + pages/applications/pf.en.mdx | 107 + pages/applications/pf.es.mdx | 3 + pages/applications/pf.fi.mdx | 3 + pages/applications/pf.fr.mdx | 3 + pages/applications/pf.it.mdx | 3 + pages/applications/pf.jp.mdx | 3 + pages/applications/pf.kr.mdx | 107 + pages/applications/pf.pt.mdx | 102 + pages/applications/pf.ru.mdx | 112 + pages/applications/pf.tr.mdx | 103 + pages/applications/pf.zh.mdx | 123 + pages/applications/synthetic_rag.de.mdx | 89 + pages/applications/synthetic_rag.en.mdx | 88 + pages/applications/workplace_casestudy.ca.mdx | 48 + pages/applications/workplace_casestudy.de.mdx | 56 + pages/applications/workplace_casestudy.en.mdx | 56 + pages/applications/workplace_casestudy.es.mdx | 57 + pages/applications/workplace_casestudy.fi.mdx | 56 + pages/applications/workplace_casestudy.fr.mdx | 56 + pages/applications/workplace_casestudy.it.mdx | 57 + pages/applications/workplace_casestudy.jp.mdx | 56 + pages/applications/workplace_casestudy.kr.mdx | 56 + pages/applications/workplace_casestudy.pt.mdx | 56 + pages/applications/workplace_casestudy.ru.mdx | 58 + pages/applications/workplace_casestudy.tr.mdx | 56 + pages/applications/workplace_casestudy.zh.mdx | 55 + pages/course.ca.mdx | 9 + pages/course.de.mdx | 29 + pages/course.en.mdx | 22 + pages/course.es.mdx | 9 + pages/course.fi.mdx | 9 + pages/course.fr.mdx | 9 + pages/course.it.mdx | 9 + pages/course.jp.mdx | 9 + pages/course.kr.mdx | 9 + pages/course.pt.mdx | 9 + pages/course.ru.mdx | 9 + pages/course.tr.mdx | 9 + pages/course.zh.mdx | 9 + pages/datasets.ca.mdx | 13 + pages/datasets.de.mdx | 12 + pages/datasets.en.mdx | 12 + pages/datasets.es.mdx | 13 + pages/datasets.fi.mdx | 12 + pages/datasets.fr.mdx | 12 + pages/datasets.it.mdx | 12 + pages/datasets.jp.mdx | 12 + pages/datasets.kr.mdx | 12 + pages/datasets.pt.mdx | 12 + pages/datasets.ru.mdx | 12 + pages/datasets.tr.mdx | 12 + pages/datasets.zh.mdx | 12 + pages/guides/_meta.en.json | 3 + pages/guides/optimizing-prompts.en.mdx | 53 + pages/index.ar.mdx | 31 + pages/index.ca.mdx | 9 + pages/index.de.mdx | 19 + pages/index.en.mdx | 26 + pages/index.es.mdx | 9 + pages/index.fi.mdx | 9 + pages/index.fr.mdx | 9 + pages/index.it.mdx | 9 + pages/index.jp.mdx | 9 + pages/index.kr.mdx | 18 + pages/index.pt.mdx | 9 + pages/index.ru.mdx | 18 + pages/index.tr.mdx | 18 + pages/index.zh.mdx | 9 + pages/introduction.ca.mdx | 11 + pages/introduction.de.mdx | 21 + pages/introduction.en.mdx | 15 + pages/introduction.es.mdx | 12 + pages/introduction.fi.mdx | 13 + pages/introduction.fr.mdx | 11 + pages/introduction.it.mdx | 15 + pages/introduction.jp.mdx | 12 + pages/introduction.kr.mdx | 12 + pages/introduction.pt.mdx | 12 + pages/introduction.ru.mdx | 12 + pages/introduction.tr.mdx | 12 + pages/introduction.zh.mdx | 12 + pages/introduction/_meta.ca.json | 7 + pages/introduction/_meta.de.json | 8 + pages/introduction/_meta.en.json | 8 + pages/introduction/_meta.es.json | 7 + pages/introduction/_meta.fi.json | 7 + pages/introduction/_meta.fr.json | 8 + pages/introduction/_meta.it.json | 7 + pages/introduction/_meta.jp.json | 8 + pages/introduction/_meta.kr.json | 7 + pages/introduction/_meta.pt.json | 8 + pages/introduction/_meta.ru.json | 7 + pages/introduction/_meta.tr.json | 8 + pages/introduction/_meta.zh.json | 8 + pages/introduction/basics.ca.mdx | 114 + pages/introduction/basics.de.mdx | 144 + pages/introduction/basics.en.mdx | 145 + pages/introduction/basics.es.mdx | 116 + pages/introduction/basics.fi.mdx | 114 + pages/introduction/basics.fr.mdx | 114 + pages/introduction/basics.it.mdx | 28 + pages/introduction/basics.jp.mdx | 114 + pages/introduction/basics.kr.mdx | 114 + pages/introduction/basics.pt.mdx | 114 + pages/introduction/basics.ru.mdx | 114 + pages/introduction/basics.tr.mdx | 112 + pages/introduction/basics.zh.mdx | 141 + pages/introduction/elements.ca.mdx | 15 + pages/introduction/elements.de.mdx | 34 + pages/introduction/elements.en.mdx | 39 + pages/introduction/elements.es.mdx | 15 + pages/introduction/elements.fi.mdx | 15 + pages/introduction/elements.fr.mdx | 15 + pages/introduction/elements.it.mdx | 28 + pages/introduction/elements.jp.mdx | 15 + pages/introduction/elements.kr.mdx | 15 + pages/introduction/elements.pt.mdx | 15 + pages/introduction/elements.ru.mdx | 15 + pages/introduction/elements.tr.mdx | 15 + pages/introduction/elements.zh.mdx | 27 + pages/introduction/examples.ca.mdx | 263 + pages/introduction/examples.de.mdx | 313 + pages/introduction/examples.en.mdx | 311 + pages/introduction/examples.es.mdx | 324 + pages/introduction/examples.fi.mdx | 329 + pages/introduction/examples.fr.mdx | 288 + pages/introduction/examples.it.mdx | 287 + pages/introduction/examples.jp.mdx | 286 + pages/introduction/examples.kr.mdx | 292 + pages/introduction/examples.pt.mdx | 290 + pages/introduction/examples.ru.mdx | 290 + pages/introduction/examples.tr.mdx | 290 + pages/introduction/examples.zh.mdx | 338 + pages/introduction/settings.ca.mdx | 11 + pages/introduction/settings.de.mdx | 27 + pages/introduction/settings.en.mdx | 29 + pages/introduction/settings.es.mdx | 11 + pages/introduction/settings.fi.mdx | 11 + pages/introduction/settings.fr.mdx | 11 + pages/introduction/settings.it.mdx | 19 + pages/introduction/settings.jp.mdx | 21 + pages/introduction/settings.kr.mdx | 21 + pages/introduction/settings.pt.mdx | 11 + pages/introduction/settings.ru.mdx | 19 + pages/introduction/settings.tr.mdx | 11 + pages/introduction/settings.zh.mdx | 23 + pages/introduction/tips.ca.mdx | 106 + pages/introduction/tips.de.mdx | 115 + pages/introduction/tips.en.mdx | 115 + pages/introduction/tips.es.mdx | 122 + pages/introduction/tips.fi.mdx | 108 + pages/introduction/tips.fr.mdx | 112 + pages/introduction/tips.it.mdx | 106 + pages/introduction/tips.jp.mdx | 107 + pages/introduction/tips.kr.mdx | 118 + pages/introduction/tips.pt.mdx | 108 + pages/introduction/tips.ru.mdx | 108 + pages/introduction/tips.tr.mdx | 107 + pages/introduction/tips.zh.mdx | 120 + pages/models.ca.mdx | 9 + pages/models.de.mdx | 10 + pages/models.en.mdx | 10 + pages/models.es.mdx | 9 + pages/models.fi.mdx | 8 + pages/models.fr.mdx | 10 + pages/models.it.mdx | 9 + pages/models.jp.mdx | 9 + pages/models.kr.mdx | 10 + pages/models.pt.mdx | 9 + pages/models.tr.mdx | 9 + pages/models.zh.mdx | 9 + pages/models/_meta.ca.json | 16 + pages/models/_meta.de.json | 22 + pages/models/_meta.en.json | 23 + pages/models/_meta.es.json | 16 + pages/models/_meta.fi.json | 17 + pages/models/_meta.fr.json | 17 + pages/models/_meta.it.json | 17 + pages/models/_meta.jp.json | 17 + pages/models/_meta.kr.json | 16 + pages/models/_meta.pt.json | 17 + pages/models/_meta.ru.json | 17 + pages/models/_meta.tr.json | 17 + pages/models/_meta.zh.json | 18 + pages/models/chatgpt.ca.mdx | 252 + pages/models/chatgpt.de.mdx | 302 + pages/models/chatgpt.en.mdx | 309 + pages/models/chatgpt.es.mdx | 251 + pages/models/chatgpt.fi.mdx | 252 + pages/models/chatgpt.fr.mdx | 242 + pages/models/chatgpt.it.mdx | 224 + pages/models/chatgpt.jp.mdx | 192 + pages/models/chatgpt.kr.mdx | 238 + pages/models/chatgpt.pt.mdx | 216 + pages/models/chatgpt.ru.mdx | 294 + pages/models/chatgpt.tr.mdx | 243 + pages/models/chatgpt.zh.mdx | 211 + pages/models/claude-3.de.mdx | 26 + pages/models/claude-3.en.mdx | 27 + pages/models/code-llama.ca.mdx | 3 + pages/models/code-llama.de.mdx | 509 ++ pages/models/code-llama.en.mdx | 512 ++ pages/models/code-llama.es.mdx | 3 + pages/models/code-llama.fi.mdx | 3 + pages/models/code-llama.fr.mdx | 3 + pages/models/code-llama.it.mdx | 3 + pages/models/code-llama.jp.mdx | 518 ++ pages/models/code-llama.kr.mdx | 3 + pages/models/code-llama.pt.mdx | 3 + pages/models/code-llama.ru.mdx | 3 + pages/models/code-llama.tr.mdx | 3 + pages/models/code-llama.zh.mdx | 3 + pages/models/collection.ca.mdx | 66 + pages/models/collection.de.mdx | 107 + pages/models/collection.en.mdx | 107 + pages/models/collection.es.mdx | 67 + pages/models/collection.fi.mdx | 66 + pages/models/collection.fr.mdx | 67 + pages/models/collection.it.mdx | 66 + pages/models/collection.jp.mdx | 65 + pages/models/collection.kr.mdx | 67 + pages/models/collection.pt.mdx | 66 + pages/models/collection.ru.mdx | 86 + pages/models/collection.tr.mdx | 86 + pages/models/collection.zh.mdx | 65 + pages/models/flan.ca.mdx | 81 + pages/models/flan.de.mdx | 83 + pages/models/flan.en.mdx | 83 + pages/models/flan.es.mdx | 84 + pages/models/flan.fi.mdx | 82 + pages/models/flan.fr.mdx | 83 + pages/models/flan.it.mdx | 82 + pages/models/flan.jp.mdx | 83 + pages/models/flan.kr.mdx | 82 + pages/models/flan.pt.mdx | 84 + pages/models/flan.ru.mdx | 82 + pages/models/flan.tr.mdx | 83 + pages/models/flan.zh.mdx | 83 + pages/models/gemini-advanced.ca.mdx | 3 + pages/models/gemini-advanced.de.mdx | 77 + pages/models/gemini-advanced.en.mdx | 87 + pages/models/gemini-advanced.es.mdx | 3 + pages/models/gemini-advanced.fi.mdx | 3 + pages/models/gemini-advanced.fr.mdx | 3 + pages/models/gemini-advanced.it.mdx | 3 + pages/models/gemini-advanced.jp.mdx | 3 + pages/models/gemini-advanced.kr.mdx | 3 + pages/models/gemini-advanced.pt.mdx | 3 + pages/models/gemini-advanced.ru.mdx | 3 + pages/models/gemini-advanced.tr.mdx | 3 + pages/models/gemini-advanced.zh.mdx | 3 + pages/models/gemini-pro.ca.mdx | 3 + pages/models/gemini-pro.de.mdx | 136 + pages/models/gemini-pro.en.mdx | 136 + pages/models/gemini-pro.es.mdx | 3 + pages/models/gemini-pro.fi.mdx | 3 + pages/models/gemini-pro.fr.mdx | 3 + pages/models/gemini-pro.it.mdx | 3 + pages/models/gemini-pro.jp.mdx | 3 + pages/models/gemini-pro.kr.mdx | 3 + pages/models/gemini-pro.pt.mdx | 3 + pages/models/gemini-pro.ru.mdx | 3 + pages/models/gemini-pro.tr.mdx | 3 + pages/models/gemini-pro.zh.mdx | 3 + pages/models/gemini.ca.mdx | 3 + pages/models/gemini.de.mdx | 247 + pages/models/gemini.en.mdx | 247 + pages/models/gemini.es.mdx | 3 + pages/models/gemini.fi.mdx | 3 + pages/models/gemini.fr.mdx | 3 + pages/models/gemini.it.mdx | 3 + pages/models/gemini.jp.mdx | 3 + pages/models/gemini.kr.mdx | 3 + pages/models/gemini.pt.mdx | 3 + pages/models/gemini.ru.mdx | 3 + pages/models/gemini.tr.mdx | 3 + pages/models/gemini.zh.mdx | 192 + pages/models/gemma.de.mdx | 172 + pages/models/gemma.en.mdx | 172 + pages/models/gpt-4.ca.mdx | 183 + pages/models/gpt-4.de.mdx | 285 + pages/models/gpt-4.en.mdx | 282 + pages/models/gpt-4.es.mdx | 188 + pages/models/gpt-4.fi.mdx | 180 + pages/models/gpt-4.fr.mdx | 177 + pages/models/gpt-4.it.mdx | 172 + pages/models/gpt-4.jp.mdx | 160 + pages/models/gpt-4.kr.mdx | 179 + pages/models/gpt-4.pt.mdx | 171 + pages/models/gpt-4.ru.mdx | 200 + pages/models/gpt-4.tr.mdx | 199 + pages/models/gpt-4.zh.mdx | 165 + pages/models/grok-1.de.mdx | 28 + pages/models/grok-1.en.mdx | 28 + pages/models/llama-3.de.mdx | 47 + pages/models/llama-3.en.mdx | 47 + pages/models/llama.ca.mdx | 39 + pages/models/llama.de.mdx | 40 + pages/models/llama.en.mdx | 43 + pages/models/llama.es.mdx | 42 + pages/models/llama.fi.mdx | 43 + pages/models/llama.fr.mdx | 43 + pages/models/llama.it.mdx | 42 + pages/models/llama.jp.mdx | 42 + pages/models/llama.kr.mdx | 41 + pages/models/llama.pt.mdx | 43 + pages/models/llama.ru.mdx | 42 + pages/models/llama.tr.mdx | 41 + pages/models/llama.zh.mdx | 43 + pages/models/mistral-7b.ca.mdx | 3 + pages/models/mistral-7b.de.mdx | 355 + pages/models/mistral-7b.en.mdx | 354 + pages/models/mistral-7b.es.mdx | 3 + pages/models/mistral-7b.fi.mdx | 3 + pages/models/mistral-7b.fr.mdx | 3 + pages/models/mistral-7b.it.mdx | 3 + pages/models/mistral-7b.jp.mdx | 3 + pages/models/mistral-7b.kr.mdx | 3 + pages/models/mistral-7b.pt.mdx | 3 + pages/models/mistral-7b.ru.mdx | 330 + pages/models/mistral-7b.tr.mdx | 3 + pages/models/mistral-7b.zh.mdx | 3 + pages/models/mistral-large.de.mdx | 48 + pages/models/mistral-large.en.mdx | 48 + pages/models/mixtral-8x22b.de.mdx | 28 + pages/models/mixtral-8x22b.en.mdx | 28 + pages/models/mixtral.ca.mdx | 3 + pages/models/mixtral.de.mdx | 282 + pages/models/mixtral.en.mdx | 255 + pages/models/mixtral.es.mdx | 3 + pages/models/mixtral.fi.mdx | 3 + pages/models/mixtral.fr.mdx | 3 + pages/models/mixtral.it.mdx | 3 + pages/models/mixtral.jp.mdx | 3 + pages/models/mixtral.kr.mdx | 3 + pages/models/mixtral.pt.mdx | 3 + pages/models/mixtral.ru.mdx | 250 + pages/models/mixtral.tr.mdx | 3 + pages/models/mixtral.zh.mdx | 3 + pages/models/olmo.ca.mdx | 3 + pages/models/olmo.de.mdx | 60 + pages/models/olmo.en.mdx | 62 + pages/models/olmo.es.mdx | 3 + pages/models/olmo.fi.mdx | 3 + pages/models/olmo.fr.mdx | 3 + pages/models/olmo.it.mdx | 3 + pages/models/olmo.jp.mdx | 3 + pages/models/olmo.kr.mdx | 3 + pages/models/olmo.pt.mdx | 3 + pages/models/olmo.ru.mdx | 3 + pages/models/olmo.tr.mdx | 3 + pages/models/olmo.zh.mdx | 3 + pages/models/phi-2.ca.mdx | 3 + pages/models/phi-2.de.mdx | 123 + pages/models/phi-2.en.mdx | 124 + pages/models/phi-2.es.mdx | 3 + pages/models/phi-2.fi.mdx | 3 + pages/models/phi-2.fr.mdx | 3 + pages/models/phi-2.it.mdx | 3 + pages/models/phi-2.jp.mdx | 3 + pages/models/phi-2.kr.mdx | 3 + pages/models/phi-2.pt.mdx | 3 + pages/models/phi-2.ru.mdx | 3 + pages/models/phi-2.tr.mdx | 3 + pages/models/phi-2.zh.mdx | 123 + pages/models/sora.ca.mdx | 3 + pages/models/sora.de.mdx | 62 + pages/models/sora.en.mdx | 62 + pages/models/sora.es.mdx | 3 + pages/models/sora.fi.mdx | 3 + pages/models/sora.fr.mdx | 3 + pages/models/sora.it.mdx | 3 + pages/models/sora.jp.mdx | 64 + pages/models/sora.kr.mdx | 3 + pages/models/sora.pt.mdx | 3 + pages/models/sora.ru.mdx | 3 + pages/models/sora.tr.mdx | 3 + pages/models/sora.zh.mdx | 3 + pages/notebooks.ca.mdx | 11 + pages/notebooks.de.mdx | 12 + pages/notebooks.en.mdx | 11 + pages/notebooks.es.mdx | 11 + pages/notebooks.fi.mdx | 11 + pages/notebooks.fr.mdx | 11 + pages/notebooks.it.mdx | 11 + pages/notebooks.jp.mdx | 11 + pages/notebooks.kr.mdx | 11 + pages/notebooks.pt.mdx | 11 + pages/notebooks.ru.mdx | 11 + pages/notebooks.tr.mdx | 11 + pages/notebooks.zh.mdx | 11 + pages/papers.ca.mdx | 200 + pages/papers.de.mdx | 447 + pages/papers.en.mdx | 451 + pages/papers.es.mdx | 193 + pages/papers.fi.mdx | 199 + pages/papers.fr.mdx | 193 + pages/papers.it.mdx | 180 + pages/papers.jp.mdx | 174 + pages/papers.kr.mdx | 179 + pages/papers.pt.mdx | 451 + pages/papers.ru.mdx | 374 + pages/papers.tr.mdx | 380 + pages/papers.zh.mdx | 174 + pages/prompts.ca.mdx | 3 + pages/prompts.de.mdx | 7 + pages/prompts.en.mdx | 8 + pages/prompts.es.mdx | 3 + pages/prompts.fi.mdx | 3 + pages/prompts.fr.mdx | 3 + pages/prompts.it.mdx | 3 + pages/prompts.jp.mdx | 3 + pages/prompts.kr.mdx | 3 + pages/prompts.pt.mdx | 3 + pages/prompts.ru.mdx | 3 + pages/prompts.tr.mdx | 3 + pages/prompts.zh.mdx | 3 + pages/prompts/_meta.ca.json | 15 + pages/prompts/_meta.de.json | 14 + pages/prompts/_meta.en.json | 15 + pages/prompts/_meta.es.json | 15 + pages/prompts/_meta.fi.json | 15 + pages/prompts/_meta.fr.json | 15 + pages/prompts/_meta.it.json | 15 + pages/prompts/_meta.jp.json | 15 + pages/prompts/_meta.kr.json | 15 + pages/prompts/_meta.pt.json | 15 + pages/prompts/_meta.ru.json | 15 + pages/prompts/_meta.tr.json | 14 + pages/prompts/_meta.zh.json | 15 + pages/prompts/adversarial-prompting.de.mdx | 7 + pages/prompts/adversarial-prompting.en.mdx | 7 + pages/prompts/adversarial-prompting.jp.mdx | 3 + pages/prompts/adversarial-prompting.tr.mdx | 7 + pages/prompts/adversarial-prompting.zh.mdx | 7 + .../adversarial-prompting/_meta.de.json | 5 + .../adversarial-prompting/_meta.en.json | 5 + .../adversarial-prompting/_meta.tr.json | 5 + .../adversarial-prompting/_meta.zh.json | 5 + .../jailbreaking-llms.de.mdx | 81 + .../jailbreaking-llms.en.mdx | 73 + .../jailbreaking-llms.tr.mdx | 73 + .../jailbreaking-llms.zh.mdx | 72 + .../prompt-injection.de.mdx | 83 + .../prompt-injection.en.mdx | 74 + .../prompt-injection.tr.mdx | 74 + .../prompt-injection.zh.mdx | 74 + .../prompt-leaking.de.mdx | 89 + .../prompt-leaking.en.mdx | 82 + .../prompt-leaking.tr.mdx | 81 + .../prompt-leaking.zh.mdx | 82 + pages/prompts/classification.de.mdx | 7 + pages/prompts/classification.en.mdx | 8 + pages/prompts/classification.jp.mdx | 3 + pages/prompts/classification.tr.mdx | 8 + pages/prompts/classification.zh.mdx | 8 + pages/prompts/classification/_meta.de.json | 4 + pages/prompts/classification/_meta.en.json | 4 + pages/prompts/classification/_meta.tr.json | 4 + pages/prompts/classification/_meta.zh.json | 4 + .../classification/sentiment-fewshot.de.mdx | 74 + .../classification/sentiment-fewshot.en.mdx | 71 + .../classification/sentiment-fewshot.tr.mdx | 71 + .../classification/sentiment-fewshot.zh.mdx | 70 + pages/prompts/classification/sentiment.de.mdx | 85 + pages/prompts/classification/sentiment.en.mdx | 77 + pages/prompts/classification/sentiment.tr.mdx | 77 + pages/prompts/classification/sentiment.zh.mdx | 76 + pages/prompts/coding.de.mdx | 7 + pages/prompts/coding.en.mdx | 9 + pages/prompts/coding.jp.mdx | 3 + pages/prompts/coding.zh.mdx | 3 + pages/prompts/coding/_meta.de.json | 5 + pages/prompts/coding/_meta.en.json | 6 + pages/prompts/coding/_meta.tr.json | 6 + pages/prompts/coding/code-snippet.de.mdx | 73 + pages/prompts/coding/code-snippet.en.mdx | 70 + pages/prompts/coding/code-snippet.tr.mdx | 70 + pages/prompts/coding/mysql-query.de.mdx | 75 + pages/prompts/coding/mysql-query.en.mdx | 72 + pages/prompts/coding/mysql-query.tr.mdx | 72 + pages/prompts/coding/tikz.de.mdx | 71 + pages/prompts/coding/tikz.en.mdx | 68 + pages/prompts/coding/tikz.tr.mdx | 68 + pages/prompts/creativity.de.mdx | 7 + pages/prompts/creativity.en.mdx | 8 + pages/prompts/creativity.jp.mdx | 3 + pages/prompts/creativity.zh.mdx | 3 + pages/prompts/creativity/_meta.de.json | 6 + pages/prompts/creativity/_meta.en.json | 7 + pages/prompts/creativity/_meta.tr.json | 7 + .../prompts/creativity/infinite-primes.de.mdx | 73 + .../prompts/creativity/infinite-primes.en.mdx | 71 + .../prompts/creativity/infinite-primes.tr.mdx | 71 + .../creativity/interdisciplinary.de.mdx | 73 + .../creativity/interdisciplinary.en.mdx | 71 + .../creativity/interdisciplinary.tr.mdx | 71 + pages/prompts/creativity/new-words.de.mdx | 75 + pages/prompts/creativity/new-words.en.mdx | 74 + pages/prompts/creativity/new-words.tr.mdx | 74 + pages/prompts/creativity/rhymes.de.mdx | 74 + pages/prompts/creativity/rhymes.en.mdx | 70 + pages/prompts/creativity/rhymes.tr.mdx | 70 + pages/prompts/evaluation.de.mdx | 7 + pages/prompts/evaluation.en.mdx | 8 + pages/prompts/evaluation.jp.mdx | 3 + pages/prompts/evaluation.zh.mdx | 3 + pages/prompts/evaluation/_meta.de.json | 3 + pages/prompts/evaluation/_meta.en.json | 3 + pages/prompts/evaluation/_meta.tr.json | 3 + .../prompts/evaluation/plato-dialogue.de.mdx | 88 + .../prompts/evaluation/plato-dialogue.en.mdx | 82 + .../prompts/evaluation/plato-dialogue.tr.mdx | 82 + pages/prompts/image-generation.de.mdx | 7 + pages/prompts/image-generation.en.mdx | 8 + pages/prompts/image-generation.jp.mdx | 3 + pages/prompts/image-generation.zh.mdx | 3 + pages/prompts/image-generation/_meta.de.json | 3 + pages/prompts/image-generation/_meta.en.json | 3 + pages/prompts/image-generation/_meta.tr.json | 3 + .../image-generation/alphabet-person.de.mdx | 87 + .../image-generation/alphabet-person.en.mdx | 83 + .../image-generation/alphabet-person.tr.mdx | 83 + pages/prompts/information-extraction.de.mdx | 10 + pages/prompts/information-extraction.en.mdx | 8 + pages/prompts/information-extraction.jp.mdx | 3 + pages/prompts/information-extraction.zh.mdx | 3 + .../information-extraction/_meta.de.json | 3 + .../information-extraction/_meta.en.json | 3 + .../information-extraction/_meta.tr.json | 3 + .../extract-models.de.mdx | 83 + .../extract-models.en.mdx | 82 + .../extract-models.tr.mdx | 82 + pages/prompts/mathematics.de.mdx | 7 + pages/prompts/mathematics.en.mdx | 9 + pages/prompts/mathematics.jp.mdx | 3 + pages/prompts/mathematics.zh.mdx | 3 + pages/prompts/mathematics/_meta.de.json | 4 + pages/prompts/mathematics/_meta.en.json | 5 + pages/prompts/mathematics/_meta.tr.json | 5 + .../mathematics/composite-functions.de.mdx | 70 + .../mathematics/composite-functions.en.mdx | 69 + .../mathematics/composite-functions.tr.mdx | 69 + pages/prompts/mathematics/odd-numbers.de.mdx | 73 + pages/prompts/mathematics/odd-numbers.en.mdx | 72 + pages/prompts/mathematics/odd-numbers.tr.mdx | 72 + pages/prompts/question-answering.de.mdx | 7 + pages/prompts/question-answering.en.mdx | 7 + pages/prompts/question-answering.jp.mdx | 3 + pages/prompts/question-answering.zh.mdx | 3 + .../prompts/question-answering/_meta.de.json | 5 + .../prompts/question-answering/_meta.en.json | 5 + .../prompts/question-answering/_meta.tr.json | 5 + .../question-answering/closed-domain.de.mdx | 87 + .../question-answering/closed-domain.en.mdx | 80 + .../question-answering/closed-domain.tr.mdx | 80 + .../question-answering/open-domain.de.mdx | 82 + .../question-answering/open-domain.en.mdx | 78 + .../question-answering/open-domain.tr.mdx | 78 + .../question-answering/science-qa.de.mdx | 78 + .../question-answering/science-qa.en.mdx | 77 + .../question-answering/science-qa.tr.mdx | 77 + pages/prompts/reasoning.de.mdx | 7 + pages/prompts/reasoning.en.mdx | 9 + pages/prompts/reasoning.jp.mdx | 3 + pages/prompts/reasoning.zh.mdx | 3 + pages/prompts/reasoning/_meta.de.json | 4 + pages/prompts/reasoning/_meta.en.json | 4 + pages/prompts/reasoning/_meta.tr.json | 4 + .../reasoning/indirect-reasoning.de.mdx | 83 + .../reasoning/indirect-reasoning.en.mdx | 83 + .../reasoning/indirect-reasoning.tr.mdx | 83 + .../reasoning/physical-reasoning.de.mdx | 72 + .../reasoning/physical-reasoning.en.mdx | 70 + .../reasoning/physical-reasoning.tr.mdx | 70 + pages/prompts/text-summarization.de.mdx | 7 + pages/prompts/text-summarization.en.mdx | 7 + pages/prompts/text-summarization.jp.mdx | 3 + pages/prompts/text-summarization.zh.mdx | 3 + .../prompts/text-summarization/_meta.de.json | 3 + .../prompts/text-summarization/_meta.en.json | 3 + .../prompts/text-summarization/_meta.tr.json | 3 + .../text-summarization/explain-concept.de.mdx | 75 + .../text-summarization/explain-concept.en.mdx | 73 + .../text-summarization/explain-concept.tr.mdx | 73 + pages/prompts/truthfulness.de.mdx | 7 + pages/prompts/truthfulness.en.mdx | 8 + pages/prompts/truthfulness.jp.mdx | 4 + pages/prompts/truthfulness.zh.mdx | 3 + pages/prompts/truthfulness/_meta.de.json | 3 + pages/prompts/truthfulness/_meta.en.json | 3 + pages/prompts/truthfulness/_meta.tr.json | 3 + .../identify-hallucination.de.mdx | 93 + .../identify-hallucination.en.mdx | 88 + .../identify-hallucination.tr.mdx | 88 + pages/readings.ca.mdx | 118 + pages/readings.de.mdx | 124 + pages/readings.en.mdx | 123 + pages/readings.es.mdx | 118 + pages/readings.fi.mdx | 120 + pages/readings.fr.mdx | 118 + pages/readings.it.mdx | 114 + pages/readings.jp.mdx | 99 + pages/readings.kr.mdx | 114 + pages/readings.pt.mdx | 113 + pages/readings.ru.mdx | 120 + pages/readings.tr.mdx | 122 + pages/readings.zh.mdx | 105 + pages/research.ca.mdx | 7 + pages/research.de.mdx | 7 + pages/research.en.mdx | 12 + pages/research.es.mdx | 7 + pages/research.fi.mdx | 7 + pages/research.fr.mdx | 7 + pages/research.it.mdx | 7 + pages/research.jp.mdx | 7 + pages/research.kr.mdx | 7 + pages/research.pt.mdx | 7 + pages/research.ru.mdx | 7 + pages/research.tr.mdx | 7 + pages/research.zh.mdx | 7 + pages/research/_meta.ca.json | 5 + pages/research/_meta.de.json | 15 + pages/research/_meta.en.json | 15 + pages/research/_meta.es.json | 5 + pages/research/_meta.fi.json | 5 + pages/research/_meta.fr.json | 5 + pages/research/_meta.it.json | 5 + pages/research/_meta.jp.json | 5 + pages/research/_meta.kr.json | 5 + pages/research/_meta.pt.json | 5 + pages/research/_meta.ru.json | 5 + pages/research/_meta.tr.json | 5 + pages/research/_meta.zh.json | 15 + pages/research/groq.de.mdx | 21 + pages/research/groq.en.mdx | 21 + pages/research/groq.zh.mdx | 21 + pages/research/guided-cot.de.mdx | 28 + pages/research/guided-cot.en.mdx | 26 + pages/research/guided-cot.zh.mdx | 19 + pages/research/infini-attention.de.mdx | 25 + pages/research/infini-attention.en.mdx | 25 + pages/research/infini-attention.zh.mdx | 17 + pages/research/llm-agents.ca.mdx | 3 + pages/research/llm-agents.de.mdx | 172 + pages/research/llm-agents.en.mdx | 175 + pages/research/llm-agents.es.mdx | 3 + pages/research/llm-agents.fi.mdx | 3 + pages/research/llm-agents.fr.mdx | 3 + pages/research/llm-agents.it.mdx | 3 + pages/research/llm-agents.jp.mdx | 3 + pages/research/llm-agents.kr.mdx | 175 + pages/research/llm-agents.pt.mdx | 3 + pages/research/llm-agents.ru.mdx | 3 + pages/research/llm-agents.tr.mdx | 3 + pages/research/llm-agents.zh.mdx | 177 + pages/research/llm-reasoning.de.mdx | 37 + pages/research/llm-reasoning.en.mdx | 37 + pages/research/llm-reasoning.zh.mdx | 36 + pages/research/llm-recall.de.mdx | 24 + pages/research/llm-recall.en.mdx | 25 + pages/research/llm-recall.zh.mdx | 16 + pages/research/llm-tokenization.de.mdx | 27 + pages/research/llm-tokenization.en.mdx | 29 + pages/research/llm-tokenization.zh.mdx | 27 + pages/research/rag-faithfulness.de.mdx | 24 + pages/research/rag-faithfulness.en.mdx | 24 + pages/research/rag-faithfulness.zh.mdx | 16 + pages/research/rag.ca.mdx | 3 + pages/research/rag.de.mdx | 252 + pages/research/rag.en.mdx | 262 + pages/research/rag.es.mdx | 3 + pages/research/rag.fi.mdx | 3 + pages/research/rag.fr.mdx | 3 + pages/research/rag.it.mdx | 3 + pages/research/rag.jp.mdx | 3 + pages/research/rag.kr.mdx | 255 + pages/research/rag.pt.mdx | 3 + pages/research/rag.ru.mdx | 3 + pages/research/rag.tr.mdx | 3 + pages/research/rag.zh.mdx | 253 + pages/research/rag_hallucinations.de.mdx | 21 + pages/research/rag_hallucinations.en.mdx | 19 + pages/research/rag_hallucinations.zh.mdx | 12 + pages/research/synthetic_data.de.mdx | 21 + pages/research/synthetic_data.en.mdx | 19 + pages/research/synthetic_data.zh.mdx | 11 + pages/research/thoughtsculpt.de.mdx | 25 + pages/research/thoughtsculpt.en.mdx | 25 + pages/research/thoughtsculpt.zh.mdx | 18 + pages/research/trustworthiness-in-llms.ca.mdx | 3 + pages/research/trustworthiness-in-llms.de.mdx | 61 + pages/research/trustworthiness-in-llms.en.mdx | 61 + pages/research/trustworthiness-in-llms.es.mdx | 3 + pages/research/trustworthiness-in-llms.fi.mdx | 3 + pages/research/trustworthiness-in-llms.fr.mdx | 3 + pages/research/trustworthiness-in-llms.it.mdx | 3 + pages/research/trustworthiness-in-llms.jp.mdx | 3 + pages/research/trustworthiness-in-llms.kr.mdx | 3 + pages/research/trustworthiness-in-llms.pt.mdx | 3 + pages/research/trustworthiness-in-llms.ru.mdx | 3 + pages/research/trustworthiness-in-llms.tr.mdx | 3 + pages/research/trustworthiness-in-llms.zh.mdx | 61 + pages/risks.ca.mdx | 10 + pages/risks.de.mdx | 13 + pages/risks.en.mdx | 13 + pages/risks.es.mdx | 12 + pages/risks.fi.mdx | 11 + pages/risks.fr.mdx | 12 + pages/risks.it.mdx | 11 + pages/risks.jp.mdx | 11 + pages/risks.kr.mdx | 11 + pages/risks.pt.mdx | 11 + pages/risks.ru.mdx | 11 + pages/risks.tr.mdx | 11 + pages/risks.zh.mdx | 11 + pages/risks/_meta.ca.json | 5 + pages/risks/_meta.de.json | 6 + pages/risks/_meta.en.json | 6 + pages/risks/_meta.es.json | 6 + pages/risks/_meta.fi.json | 6 + pages/risks/_meta.fr.json | 6 + pages/risks/_meta.it.json | 6 + pages/risks/_meta.jp.json | 6 + pages/risks/_meta.kr.json | 5 + pages/risks/_meta.pt.json | 6 + pages/risks/_meta.ru.json | 5 + pages/risks/_meta.tr.json | 6 + pages/risks/_meta.zh.json | 6 + pages/risks/adversarial.ca.mdx | 334 + pages/risks/adversarial.de.mdx | 337 + pages/risks/adversarial.en.mdx | 341 + pages/risks/adversarial.es.mdx | 359 + pages/risks/adversarial.fi.mdx | 337 + pages/risks/adversarial.fr.mdx | 337 + pages/risks/adversarial.it.mdx | 336 + pages/risks/adversarial.jp.mdx | 333 + pages/risks/adversarial.kr.mdx | 368 + pages/risks/adversarial.pt.mdx | 336 + pages/risks/adversarial.ru.mdx | 333 + pages/risks/adversarial.tr.mdx | 336 + pages/risks/adversarial.zh.mdx | 329 + pages/risks/biases.ca.mdx | 99 + pages/risks/biases.de.mdx | 98 + pages/risks/biases.en.mdx | 98 + pages/risks/biases.es.mdx | 99 + pages/risks/biases.fi.mdx | 102 + pages/risks/biases.fr.mdx | 98 + pages/risks/biases.it.mdx | 97 + pages/risks/biases.jp.mdx | 97 + pages/risks/biases.kr.mdx | 104 + pages/risks/biases.pt.mdx | 98 + pages/risks/biases.ru.mdx | 97 + pages/risks/biases.tr.mdx | 98 + pages/risks/biases.zh.mdx | 97 + pages/risks/factuality.ca.mdx | 34 + pages/risks/factuality.de.mdx | 34 + pages/risks/factuality.en.mdx | 34 + pages/risks/factuality.es.mdx | 35 + pages/risks/factuality.fi.mdx | 34 + pages/risks/factuality.fr.mdx | 34 + pages/risks/factuality.it.mdx | 34 + pages/risks/factuality.jp.mdx | 34 + pages/risks/factuality.kr.mdx | 33 + pages/risks/factuality.pt.mdx | 34 + pages/risks/factuality.ru.mdx | 34 + pages/risks/factuality.tr.mdx | 34 + pages/risks/factuality.zh.mdx | 34 + pages/services.ca.mdx | 20 + pages/services.de.mdx | 64 + pages/services.en.mdx | 59 + pages/services.es.mdx | 20 + pages/services.fi.mdx | 21 + pages/services.fr.mdx | 20 + pages/services.it.mdx | 20 + pages/services.jp.mdx | 20 + pages/services.kr.mdx | 20 + pages/services.pt.mdx | 20 + pages/services.ru.mdx | 20 + pages/services.tr.mdx | 20 + pages/services.zh.mdx | 20 + pages/style.css | 1 + pages/techniques.ca.mdx | 9 + pages/techniques.de.mdx | 17 + pages/techniques.en.mdx | 11 + pages/techniques.es.mdx | 9 + pages/techniques.fi.mdx | 9 + pages/techniques.fr.mdx | 10 + pages/techniques.it.mdx | 11 + pages/techniques.jp.mdx | 9 + pages/techniques.kr.mdx | 9 + pages/techniques.pt.mdx | 9 + pages/techniques.ru.mdx | 10 + pages/techniques.tr.mdx | 9 + pages/techniques.zh.mdx | 9 + pages/techniques/_meta.ca.json | 19 + pages/techniques/_meta.de.json | 21 + pages/techniques/_meta.en.json | 21 + pages/techniques/_meta.es.json | 19 + pages/techniques/_meta.fi.json | 20 + pages/techniques/_meta.fr.json | 20 + pages/techniques/_meta.it.json | 20 + pages/techniques/_meta.jp.json | 20 + pages/techniques/_meta.kr.json | 20 + pages/techniques/_meta.pt.json | 20 + pages/techniques/_meta.ru.json | 20 + pages/techniques/_meta.tr.json | 20 + pages/techniques/_meta.zh.json | 20 + pages/techniques/activeprompt.ca.mdx | 12 + pages/techniques/activeprompt.de.mdx | 12 + pages/techniques/activeprompt.en.mdx | 12 + pages/techniques/activeprompt.es.mdx | 12 + pages/techniques/activeprompt.fi.mdx | 12 + pages/techniques/activeprompt.fr.mdx | 12 + pages/techniques/activeprompt.it.mdx | 12 + pages/techniques/activeprompt.jp.mdx | 14 + pages/techniques/activeprompt.kr.mdx | 12 + pages/techniques/activeprompt.pt.mdx | 12 + pages/techniques/activeprompt.ru.mdx | 12 + pages/techniques/activeprompt.tr.mdx | 12 + pages/techniques/activeprompt.zh.mdx | 12 + pages/techniques/ape.ca.mdx | 26 + pages/techniques/ape.de.mdx | 28 + pages/techniques/ape.en.mdx | 28 + pages/techniques/ape.es.mdx | 27 + pages/techniques/ape.fi.mdx | 26 + pages/techniques/ape.fr.mdx | 26 + pages/techniques/ape.it.mdx | 28 + pages/techniques/ape.jp.mdx | 26 + pages/techniques/ape.kr.mdx | 26 + pages/techniques/ape.pt.mdx | 26 + pages/techniques/ape.ru.mdx | 26 + pages/techniques/ape.tr.mdx | 26 + pages/techniques/ape.zh.mdx | 28 + pages/techniques/art.ca.mdx | 3 + pages/techniques/art.de.mdx | 24 + pages/techniques/art.en.mdx | 25 + pages/techniques/art.es.mdx | 3 + pages/techniques/art.fi.mdx | 3 + pages/techniques/art.fr.mdx | 3 + pages/techniques/art.it.mdx | 24 + pages/techniques/art.jp.mdx | 3 + pages/techniques/art.kr.mdx | 25 + pages/techniques/art.pt.mdx | 24 + pages/techniques/art.ru.mdx | 3 + pages/techniques/art.tr.mdx | 24 + pages/techniques/art.zh.mdx | 24 + pages/techniques/consistency.ca.mdx | 76 + pages/techniques/consistency.de.mdx | 79 + pages/techniques/consistency.en.mdx | 77 + pages/techniques/consistency.es.mdx | 95 + pages/techniques/consistency.fi.mdx | 65 + pages/techniques/consistency.fr.mdx | 77 + pages/techniques/consistency.it.mdx | 65 + pages/techniques/consistency.jp.mdx | 65 + pages/techniques/consistency.kr.mdx | 77 + pages/techniques/consistency.pt.mdx | 77 + pages/techniques/consistency.ru.mdx | 77 + pages/techniques/consistency.tr.mdx | 73 + pages/techniques/consistency.zh.mdx | 65 + pages/techniques/cot.ca.mdx | 92 + pages/techniques/cot.de.mdx | 111 + pages/techniques/cot.en.mdx | 119 + pages/techniques/cot.es.mdx | 92 + pages/techniques/cot.fi.mdx | 99 + pages/techniques/cot.fr.mdx | 92 + pages/techniques/cot.it.mdx | 112 + pages/techniques/cot.jp.mdx | 90 + pages/techniques/cot.kr.mdx | 112 + pages/techniques/cot.pt.mdx | 92 + pages/techniques/cot.ru.mdx | 92 + pages/techniques/cot.tr.mdx | 112 + pages/techniques/cot.zh.mdx | 110 + pages/techniques/dsp.ca.mdx | 16 + pages/techniques/dsp.de.mdx | 16 + pages/techniques/dsp.en.mdx | 16 + pages/techniques/dsp.es.mdx | 16 + pages/techniques/dsp.fi.mdx | 16 + pages/techniques/dsp.fr.mdx | 15 + pages/techniques/dsp.it.mdx | 16 + pages/techniques/dsp.jp.mdx | 16 + pages/techniques/dsp.kr.mdx | 16 + pages/techniques/dsp.pt.mdx | 16 + pages/techniques/dsp.ru.mdx | 16 + pages/techniques/dsp.tr.mdx | 16 + pages/techniques/dsp.zh.mdx | 16 + pages/techniques/fewshot.ca.mdx | 109 + pages/techniques/fewshot.de.mdx | 107 + pages/techniques/fewshot.en.mdx | 122 + pages/techniques/fewshot.es.mdx | 110 + pages/techniques/fewshot.fi.mdx | 111 + pages/techniques/fewshot.fr.mdx | 109 + pages/techniques/fewshot.it.mdx | 108 + pages/techniques/fewshot.jp.mdx | 105 + pages/techniques/fewshot.kr.mdx | 109 + pages/techniques/fewshot.pt.mdx | 109 + pages/techniques/fewshot.ru.mdx | 109 + pages/techniques/fewshot.tr.mdx | 107 + pages/techniques/fewshot.zh.mdx | 107 + pages/techniques/graph.ca.mdx | 5 + pages/techniques/graph.de.mdx | 5 + pages/techniques/graph.en.mdx | 5 + pages/techniques/graph.es.mdx | 5 + pages/techniques/graph.fi.mdx | 5 + pages/techniques/graph.fr.mdx | 5 + pages/techniques/graph.it.mdx | 5 + pages/techniques/graph.jp.mdx | 5 + pages/techniques/graph.kr.mdx | 5 + pages/techniques/graph.pt.mdx | 5 + pages/techniques/graph.ru.mdx | 5 + pages/techniques/graph.tr.mdx | 5 + pages/techniques/graph.zh.mdx | 5 + pages/techniques/knowledge.ca.mdx | 92 + pages/techniques/knowledge.de.mdx | 92 + pages/techniques/knowledge.en.mdx | 92 + pages/techniques/knowledge.es.mdx | 128 + pages/techniques/knowledge.fi.mdx | 90 + pages/techniques/knowledge.fr.mdx | 92 + pages/techniques/knowledge.it.mdx | 92 + pages/techniques/knowledge.jp.mdx | 94 + pages/techniques/knowledge.kr.mdx | 92 + pages/techniques/knowledge.pt.mdx | 92 + pages/techniques/knowledge.ru.mdx | 92 + pages/techniques/knowledge.tr.mdx | 92 + pages/techniques/knowledge.zh.mdx | 92 + pages/techniques/meta-prompting.en.mdx | 44 + pages/techniques/multimodalcot.ca.mdx | 15 + pages/techniques/multimodalcot.de.mdx | 15 + pages/techniques/multimodalcot.en.mdx | 15 + pages/techniques/multimodalcot.es.mdx | 15 + pages/techniques/multimodalcot.fi.mdx | 15 + pages/techniques/multimodalcot.fr.mdx | 15 + pages/techniques/multimodalcot.it.mdx | 15 + pages/techniques/multimodalcot.jp.mdx | 15 + pages/techniques/multimodalcot.kr.mdx | 15 + pages/techniques/multimodalcot.pt.mdx | 14 + pages/techniques/multimodalcot.ru.mdx | 15 + pages/techniques/multimodalcot.tr.mdx | 15 + pages/techniques/multimodalcot.zh.mdx | 15 + pages/techniques/pal.ca.mdx | 65 + pages/techniques/pal.de.mdx | 116 + pages/techniques/pal.en.mdx | 116 + pages/techniques/pal.es.mdx | 106 + pages/techniques/pal.fi.mdx | 105 + pages/techniques/pal.fr.mdx | 105 + pages/techniques/pal.it.mdx | 117 + pages/techniques/pal.jp.mdx | 105 + pages/techniques/pal.kr.mdx | 105 + pages/techniques/pal.pt.mdx | 105 + pages/techniques/pal.ru.mdx | 105 + pages/techniques/pal.tr.mdx | 116 + pages/techniques/pal.zh.mdx | 117 + pages/techniques/prompt_chaining.ca.mdx | 3 + pages/techniques/prompt_chaining.de.mdx | 103 + pages/techniques/prompt_chaining.en.mdx | 105 + pages/techniques/prompt_chaining.es.mdx | 3 + pages/techniques/prompt_chaining.fi.mdx | 3 + pages/techniques/prompt_chaining.fr.mdx | 106 + pages/techniques/prompt_chaining.it.mdx | 105 + pages/techniques/prompt_chaining.jp.mdx | 105 + pages/techniques/prompt_chaining.kr.mdx | 99 + pages/techniques/prompt_chaining.pt.mdx | 3 + pages/techniques/prompt_chaining.ru.mdx | 85 + pages/techniques/prompt_chaining.tr.mdx | 3 + pages/techniques/prompt_chaining.zh.mdx | 103 + pages/techniques/rag.ca.mdx | 3 + pages/techniques/rag.de.mdx | 25 + pages/techniques/rag.en.mdx | 48 + pages/techniques/rag.es.mdx | 25 + pages/techniques/rag.fi.mdx | 3 + pages/techniques/rag.fr.mdx | 50 + pages/techniques/rag.it.mdx | 44 + pages/techniques/rag.jp.mdx | 25 + pages/techniques/rag.kr.mdx | 25 + pages/techniques/rag.pt.mdx | 25 + pages/techniques/rag.ru.mdx | 3 + pages/techniques/rag.tr.mdx | 25 + pages/techniques/rag.zh.mdx | 25 + pages/techniques/react.ca.mdx | 178 + pages/techniques/react.de.mdx | 178 + pages/techniques/react.en.mdx | 179 + pages/techniques/react.es.mdx | 14 + pages/techniques/react.fi.mdx | 168 + pages/techniques/react.fr.mdx | 14 + pages/techniques/react.it.mdx | 14 + pages/techniques/react.jp.mdx | 14 + pages/techniques/react.kr.mdx | 167 + pages/techniques/react.pt.mdx | 14 + pages/techniques/react.ru.mdx | 178 + pages/techniques/react.tr.mdx | 169 + pages/techniques/react.zh.mdx | 168 + pages/techniques/reflexion.ca.mdx | 3 + pages/techniques/reflexion.de.mdx | 66 + pages/techniques/reflexion.en.mdx | 67 + pages/techniques/reflexion.es.mdx | 3 + pages/techniques/reflexion.fi.mdx | 3 + pages/techniques/reflexion.fr.mdx | 3 + pages/techniques/reflexion.it.mdx | 3 + pages/techniques/reflexion.jp.mdx | 71 + pages/techniques/reflexion.kr.mdx | 64 + pages/techniques/reflexion.pt.mdx | 3 + pages/techniques/reflexion.ru.mdx | 3 + pages/techniques/reflexion.tr.mdx | 3 + pages/techniques/reflexion.zh.mdx | 66 + pages/techniques/tot.ca.mdx | 3 + pages/techniques/tot.de.mdx | 45 + pages/techniques/tot.en.mdx | 45 + pages/techniques/tot.es.mdx | 3 + pages/techniques/tot.fi.mdx | 3 + pages/techniques/tot.fr.mdx | 45 + pages/techniques/tot.it.mdx | 46 + pages/techniques/tot.jp.mdx | 43 + pages/techniques/tot.kr.mdx | 43 + pages/techniques/tot.pt.mdx | 42 + pages/techniques/tot.ru.mdx | 43 + pages/techniques/tot.tr.mdx | 43 + pages/techniques/tot.zh.mdx | 43 + pages/techniques/zeroshot.ca.mdx | 24 + pages/techniques/zeroshot.de.mdx | 33 + pages/techniques/zeroshot.en.mdx | 32 + pages/techniques/zeroshot.es.mdx | 22 + pages/techniques/zeroshot.fi.mdx | 23 + pages/techniques/zeroshot.fr.mdx | 21 + pages/techniques/zeroshot.it.mdx | 23 + pages/techniques/zeroshot.jp.mdx | 21 + pages/techniques/zeroshot.kr.mdx | 21 + pages/techniques/zeroshot.pt.mdx | 21 + pages/techniques/zeroshot.ru.mdx | 23 + pages/techniques/zeroshot.tr.mdx | 23 + pages/techniques/zeroshot.zh.mdx | 21 + pages/tools.ca.mdx | 49 + pages/tools.de.mdx | 67 + pages/tools.en.mdx | 68 + pages/tools.es.mdx | 47 + pages/tools.fi.mdx | 50 + pages/tools.fr.mdx | 48 + pages/tools.it.mdx | 48 + pages/tools.jp.mdx | 46 + pages/tools.kr.mdx | 47 + pages/tools.pt.mdx | 49 + pages/tools.ru.mdx | 52 + pages/tools.tr.mdx | 60 + pages/tools.zh.mdx | 49 + pnpm-lock.yaml | 5439 +++++++++++ public/144-favicon-dark.svg | 5 + public/144-favicon.svg | 5 + theme.config.tsx | 75 + tsconfig.json | 20 + 1516 files changed, 95098 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .gitignore create mode 100644 CITATION.cff create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 ar-pages/about.ar.mdx create mode 100644 ar-pages/applications.ar.mdx create mode 100644 ar-pages/applications/_meta.ar.json create mode 100644 ar-pages/applications/coding.ar.mdx create mode 100644 ar-pages/applications/function_calling.ar.mdx create mode 100644 ar-pages/applications/generating.ar.mdx create mode 100644 ar-pages/applications/generating_textbooks.ar.mdx create mode 100644 ar-pages/applications/pf.ar.mdx create mode 100644 ar-pages/applications/synthetic_rag.ar.mdx create mode 100644 ar-pages/applications/workplace_casestudy.ar.mdx create mode 100644 ar-pages/course.ar.mdx create mode 100644 ar-pages/datasets.ar.mdx create mode 100644 ar-pages/introduction.ar.mdx create mode 100644 ar-pages/introduction/_meta.ar.json create mode 100644 ar-pages/introduction/basics.ar.mdx create mode 100644 ar-pages/introduction/elements.ar.mdx create mode 100644 ar-pages/introduction/examples.ar.mdx create mode 100644 ar-pages/introduction/settings.ar.mdx create mode 100644 ar-pages/introduction/tips.ar.mdx create mode 100644 ar-pages/models.ar.mdx create mode 100644 ar-pages/models/_meta.ar.json create mode 100644 ar-pages/models/chatgpt.ar.mdx create mode 100644 ar-pages/models/claude-3.ar.mdx create mode 100644 ar-pages/models/code-llama.ar.mdx create mode 100644 ar-pages/models/collection.ar.mdx create mode 100644 ar-pages/models/flan.ar.mdx create mode 100644 ar-pages/models/gemini-advanced.ar.mdx create mode 100644 ar-pages/models/gemini-pro.ar.mdx create mode 100644 ar-pages/models/gemini.ar.mdx create mode 100644 ar-pages/models/gemma.ar.mdx create mode 100644 ar-pages/models/gpt-4.ar.mdx create mode 100644 ar-pages/models/grok-1.ar.mdx create mode 100644 ar-pages/models/llama-3.ar.mdx create mode 100644 ar-pages/models/llama.ar.mdx create mode 100644 ar-pages/models/mistral-7b.ar.mdx create mode 100644 ar-pages/models/mixtral-8x22b.ar.mdx create mode 100644 ar-pages/models/mixtral.ar.mdx create mode 100644 ar-pages/models/olmo.ar.mdx create mode 100644 ar-pages/models/phi-2.ar.mdx create mode 100644 ar-pages/models/sora.ar.mdx create mode 100644 ar-pages/notebooks.ar.mdx create mode 100644 ar-pages/papers.ar.mdx create mode 100644 ar-pages/prompts.ar.mdx create mode 100644 ar-pages/prompts/_meta.ar.json create mode 100644 ar-pages/prompts/adversarial-prompting.ar.mdx create mode 100644 ar-pages/prompts/adversarial-prompting/_meta.ar.json create mode 100644 ar-pages/prompts/adversarial-prompting/jailbreaking-llms.ar.mdx create mode 100644 ar-pages/prompts/adversarial-prompting/prompt-injection.ar.mdx create mode 100644 ar-pages/prompts/adversarial-prompting/prompt-leaking.ar.mdx create mode 100644 ar-pages/prompts/classification.ar.mdx create mode 100644 ar-pages/prompts/classification/_meta.ar.json create mode 100644 ar-pages/prompts/classification/sentiment-fewshot.ar.mdx create mode 100644 ar-pages/prompts/classification/sentiment.ar.mdx create mode 100644 ar-pages/prompts/coding.ar.mdx create mode 100644 ar-pages/prompts/coding/_meta.ar.json create mode 100644 ar-pages/prompts/coding/code-snippet.ar.mdx create mode 100644 ar-pages/prompts/coding/mysql-query.ar.mdx create mode 100644 ar-pages/prompts/coding/tikz.ar.mdx create mode 100644 ar-pages/prompts/creativity.ar.mdx create mode 100644 ar-pages/prompts/creativity/_meta.ar.json create mode 100644 ar-pages/prompts/creativity/infinite-primes.ar.mdx create mode 100644 ar-pages/prompts/creativity/interdisciplinary.ar.mdx create mode 100644 ar-pages/prompts/creativity/new-words.ar.mdx create mode 100644 ar-pages/prompts/creativity/rhymes.ar.mdx create mode 100644 ar-pages/prompts/evaluation.ar.mdx create mode 100644 ar-pages/prompts/evaluation/_meta.ar.json create mode 100644 ar-pages/prompts/evaluation/plato-dialogue.ar.mdx create mode 100644 ar-pages/prompts/image-generation.ar.mdx create mode 100644 ar-pages/prompts/image-generation/_meta.ar.json create mode 100644 ar-pages/prompts/image-generation/alphabet-person.ar.mdx create mode 100644 ar-pages/prompts/information-extraction.ar.mdx create mode 100644 ar-pages/prompts/information-extraction/_meta.ar.json create mode 100644 ar-pages/prompts/information-extraction/extract-models.ar.mdx create mode 100644 ar-pages/prompts/mathematics.ar.mdx create mode 100644 ar-pages/prompts/mathematics/_meta.ar.json create mode 100644 ar-pages/prompts/mathematics/composite-functions.ar.mdx create mode 100644 ar-pages/prompts/mathematics/odd-numbers.ar.mdx create mode 100644 ar-pages/prompts/question-answering.ar.mdx create mode 100644 ar-pages/prompts/question-answering/_meta.ar.json create mode 100644 ar-pages/prompts/question-answering/closed-domain.ar.mdx create mode 100644 ar-pages/prompts/question-answering/open-domain.ar.mdx create mode 100644 ar-pages/prompts/question-answering/science-qa.ar.mdx create mode 100644 ar-pages/prompts/reasoning.ar.mdx create mode 100644 ar-pages/prompts/reasoning/_meta.ar.json create mode 100644 ar-pages/prompts/reasoning/indirect-reasoning.ar.mdx create mode 100644 ar-pages/prompts/reasoning/physical-reasoning.ar.mdx create mode 100644 ar-pages/prompts/text-summarization.ar.mdx create mode 100644 ar-pages/prompts/text-summarization/_meta.ar.json create mode 100644 ar-pages/prompts/text-summarization/explain-concept.ar.mdx create mode 100644 ar-pages/prompts/truthfulness.ar.mdx create mode 100644 ar-pages/prompts/truthfulness/_meta.ar.json create mode 100644 ar-pages/prompts/truthfulness/identify-hallucination.ar.mdx create mode 100644 ar-pages/readings.ar.mdx create mode 100644 ar-pages/research.ar.mdx create mode 100644 ar-pages/research/_meta.ar.json create mode 100644 ar-pages/research/groq.ar.mdx create mode 100644 ar-pages/research/guided-cot.ar.mdx create mode 100644 ar-pages/research/infini-attention.ar.mdx create mode 100644 ar-pages/research/llm-agents.ar.mdx create mode 100644 ar-pages/research/llm-reasoning.ar.mdx create mode 100644 ar-pages/research/llm-recall.ar.mdx create mode 100644 ar-pages/research/llm-tokenization.ar.mdx create mode 100644 ar-pages/research/rag-faithfulness.ar.mdx create mode 100644 ar-pages/research/rag.ar.mdx create mode 100644 ar-pages/research/rag_hallucinations.ar.mdx create mode 100644 ar-pages/research/synthetic_data.ar.mdx create mode 100644 ar-pages/research/thoughtsculpt.ar.mdx create mode 100644 ar-pages/research/trustworthiness-in-llms.ar.mdx create mode 100644 ar-pages/risks.ar.mdx create mode 100644 ar-pages/risks/_meta.ar.json create mode 100644 ar-pages/risks/adversarial.ar.mdx create mode 100644 ar-pages/risks/biases.ar.mdx create mode 100644 ar-pages/risks/factuality.ar.mdx create mode 100644 ar-pages/services.ar.mdx create mode 100644 ar-pages/techniques.ar.mdx create mode 100644 ar-pages/techniques/_meta.ar.json create mode 100644 ar-pages/techniques/activeprompt.ar.mdx create mode 100644 ar-pages/techniques/ape.ar.mdx create mode 100644 ar-pages/techniques/art.ar.mdx create mode 100644 ar-pages/techniques/consistency.ar.mdx create mode 100644 ar-pages/techniques/cot.ar.mdx create mode 100644 ar-pages/techniques/dsp.ar.mdx create mode 100644 ar-pages/techniques/fewshot.ar.mdx create mode 100644 ar-pages/techniques/graph.ar.mdx create mode 100644 ar-pages/techniques/knowledge.ar.mdx create mode 100644 ar-pages/techniques/multimodalcot.ar.mdx create mode 100644 ar-pages/techniques/pal.ar.mdx create mode 100644 ar-pages/techniques/prompt_chaining.ar.mdx create mode 100644 ar-pages/techniques/rag.ar.mdx create mode 100644 ar-pages/techniques/react.ar.mdx create mode 100644 ar-pages/techniques/reflexion.ar.mdx create mode 100644 ar-pages/techniques/tot.ar.mdx create mode 100644 ar-pages/techniques/zeroshot.ar.mdx create mode 100644 ar-pages/tools.ar.mdx create mode 100644 components/CodeBlock.tsx create mode 100644 components/ContentFileNames.tsx create mode 100644 components/PromptFiles.jsx create mode 100644 components/TabsComponent.tsx create mode 100644 components/button.tsx create mode 100644 components/check.tsx create mode 100644 components/copy-to-clipboard.tsx create mode 100644 components/copy.tsx create mode 100644 components/counters.module.css create mode 100644 components/counters.tsx create mode 100644 components/icons/arrow-right.svg create mode 100644 components/icons/box.svg create mode 100644 components/icons/brush.svg create mode 100644 components/icons/cards.svg create mode 100644 components/icons/chevron-right.svg create mode 100644 components/icons/cloud.svg create mode 100644 components/icons/code.svg create mode 100644 components/icons/diagram.svg create mode 100644 components/icons/dropper.svg create mode 100644 components/icons/file.svg create mode 100644 components/icons/files.svg create mode 100644 components/icons/folder-tree.svg create mode 100644 components/icons/formula.svg create mode 100644 components/icons/gear.svg create mode 100644 components/icons/globe.svg create mode 100644 components/icons/id-card.svg create mode 100644 components/icons/index.ts create mode 100644 components/icons/lightning.svg create mode 100644 components/icons/link.svg create mode 100644 components/icons/markdown.svg create mode 100644 components/icons/newsletter.svg create mode 100644 components/icons/one.svg create mode 100644 components/icons/picture.svg create mode 100644 components/icons/rows.svg create mode 100644 components/icons/stars.svg create mode 100644 components/icons/switch.svg create mode 100644 components/icons/table.svg create mode 100644 components/icons/tailwind.svg create mode 100644 components/icons/terminal.svg create mode 100644 components/icons/warning.svg create mode 100644 components/pre.tsx create mode 100644 components/screenshot/index.jsx create mode 100644 components/word-wrap.tsx create mode 100644 guides/README.md create mode 100644 guides/prompts-advanced-usage.md create mode 100644 guides/prompts-adversarial.md create mode 100644 guides/prompts-applications.md create mode 100644 guides/prompts-basic-usage.md create mode 100644 guides/prompts-chatgpt.md create mode 100644 guides/prompts-intro.md create mode 100644 guides/prompts-miscellaneous.md create mode 100644 guides/prompts-reliability.md create mode 100644 img/APE.png create mode 100644 img/ART.png create mode 100644 img/ART2.png create mode 100644 img/TOT.png create mode 100644 img/TOT2.png create mode 100644 img/TOT3.png create mode 100644 img/active-prompt.png create mode 100644 img/agents/agent-framework.png create mode 100644 img/agents/agentbench.png create mode 100644 img/agents/autogen.png create mode 100644 img/agents/chemcrow.png create mode 100644 img/agents/hugginggpt.png create mode 100644 img/agents/task-decomposition.png create mode 100644 img/ape-zero-shot-cot.png create mode 100644 img/auto-cot.png create mode 100644 img/chatgpt-1.png create mode 100644 img/chatgpt-classic.png create mode 100644 img/claude/claude-benchmark.png create mode 100644 img/claude/claude-vision.png create mode 100644 img/code-generation/chat-mode.png create mode 100644 img/cot.png create mode 100644 img/dan-1.png create mode 100644 img/dsp.jpeg create mode 100644 img/flan-1.png create mode 100644 img/flan-10.png create mode 100644 img/flan-11.png create mode 100644 img/flan-2.png create mode 100644 img/flan-3.png create mode 100644 img/flan-4.png create mode 100644 img/flan-5.png create mode 100644 img/flan-6.png create mode 100644 img/flan-7.png create mode 100644 img/flan-8.png create mode 100644 img/flan-9.png create mode 100644 img/gemini-advanced/chart-explanation.png create mode 100644 img/gemini-advanced/chart.png create mode 100644 img/gemini-advanced/html.png create mode 100644 img/gemini-advanced/interleaving.png create mode 100644 img/gemini-advanced/math.png create mode 100644 img/gemini-advanced/physical-reasoning.png create mode 100644 img/gemini-advanced/prime.png create mode 100644 img/gemini/chart.png create mode 100644 img/gemini/chat-1.png create mode 100644 img/gemini/extract-table.png create mode 100644 img/gemini/galactica-2.png create mode 100644 img/gemini/galactica-chat.png create mode 100644 img/gemini/galactica.png create mode 100644 img/gemini/gemini-1.png create mode 100644 img/gemini/gemini-2.png create mode 100644 img/gemini/gemini-3.png create mode 100644 img/gemini/gemini-6.png create mode 100644 img/gemini/gemini-7.png create mode 100644 img/gemini/gemini-8.png create mode 100644 img/gemini/gemini-architecture.png create mode 100644 img/gemini/gemini-few-shot-2.png create mode 100644 img/gemini/gemini-few-shot.png create mode 100644 img/gemini/gemini-pro-results.png create mode 100644 img/gemini/gemini-result.png create mode 100644 img/gemini/gemini-retrieval.png create mode 100644 img/gemini/jax.png create mode 100644 img/gemini/kalamang.png create mode 100644 img/gemini/pe-guide.png create mode 100644 img/gemini/prompt-webqa-1.png create mode 100644 img/gemini/prompt-webqa-2.png create mode 100644 img/gemma/benchmarks.png create mode 100644 img/gemma/capabilities.png create mode 100644 img/gemma/control-tokens.png create mode 100644 img/gemma/safety-2.png create mode 100644 img/gemma/safety.png create mode 100644 img/gen-knowledge.png create mode 100644 img/gpt-simulator.jpeg create mode 100644 img/gpt4-1.png create mode 100644 img/gpt4-2.png create mode 100644 img/gpt4-3.png create mode 100644 img/gpt4-4.png create mode 100644 img/gpt4-5.png create mode 100644 img/gpt4-6.png create mode 100644 img/gpt4-7.png create mode 100644 img/gpt4-8.png create mode 100644 img/gpt4-game-simulator.png create mode 100644 img/grok/grok-math.png create mode 100644 img/grok/grok-reasoning.png create mode 100644 img/introduction.png create mode 100644 img/introduction/sky.png create mode 100644 img/llama-1.png create mode 100644 img/llama3/llama-400b.png create mode 100644 img/llama3/llama-instruct-performance.png create mode 100644 img/llama3/llama3-pretrained-results.png create mode 100644 img/llms/trust-dimensions.png create mode 100644 img/llms/trustllm.png create mode 100644 img/llms/truthfulness-leaderboard.png create mode 100644 img/mistral-7B-1.png create mode 100644 img/mistral-7B-2.png create mode 100644 img/mistral-l/ml-performance.png create mode 100644 img/mistral-l/performance-1.png create mode 100644 img/mistral-l/performance-2.png create mode 100644 img/mistral-l/performance-3.png create mode 100644 img/mixtral/mixtral-8-cost.png create mode 100644 img/mixtral/mixtral-8-maths.png create mode 100644 img/mixtral/mixtral-8-reasoning.png create mode 100644 img/mixtral/mixtral-benchmarks-1.png create mode 100644 img/mixtral/mixtral-benchmarks-2.png create mode 100644 img/mixtral/mixtral-benchmarks-3.png create mode 100644 img/mixtral/mixtral-benchmarks-4.png create mode 100644 img/mixtral/mixtral-benchmarks-5.png create mode 100644 img/mixtral/mixtral-benchmarks-6.png create mode 100644 img/mixtral/mixtral-benchmarks-7.png create mode 100644 img/mixtral/mixtral-chatbot-arena.png create mode 100644 img/mixtral/mixtral-of-experts-layers.png create mode 100644 img/multimodal-cot.png create mode 100644 img/olmo/dolma-dataset.png create mode 100644 img/olmo/olmo-models.png create mode 100644 img/olmo/olmo-results.png create mode 100644 img/pal.png create mode 100644 img/phi-2/phi-2-benchmark.png create mode 100644 img/phi-2/phi-2-correcting.png create mode 100644 img/phi-2/phi-2-performance.png create mode 100644 img/phi-2/phi-2-physics.png create mode 100644 img/phi-2/phi-2-safety.png create mode 100644 img/prompt_chaining/prompt-chaining-1.png create mode 100644 img/rag.png create mode 100644 img/rag/rag-augmentation.png create mode 100644 img/rag/rag-ecosystem.png create mode 100644 img/rag/rag-evolution.png create mode 100644 img/rag/rag-framework.png create mode 100644 img/rag/rag-metrics.png create mode 100644 img/rag/rag-optimization.png create mode 100644 img/rag/rag-paradigms.png create mode 100644 img/rag/rag-process.png create mode 100644 img/rag/rag-taxonomy.png create mode 100644 img/rag/rag-vs-finetuning.png create mode 100644 img/react.png create mode 100644 img/react/alfworld.png create mode 100644 img/react/table1.png create mode 100644 img/research/groq.png create mode 100644 img/research/guided-cot.png create mode 100644 img/research/haystack-performance.png create mode 100644 img/research/infini-attention.png create mode 100644 img/research/rag-faith.png create mode 100644 img/research/reasoning-tasks.png create mode 100644 img/research/reasoning-taxonomy.png create mode 100644 img/research/reasoning-techniques.png create mode 100644 img/research/reflexion-alfworld.png create mode 100644 img/research/reflexion-examples.png create mode 100644 img/research/reflexion-hotpotqa.png create mode 100644 img/research/reflexion-programming.png create mode 100644 img/research/reflexion.png create mode 100644 img/research/structured_outputs.png create mode 100644 img/research/thoughtsculpt.png create mode 100644 img/research/tokenization.png create mode 100644 img/synthetic_diversity/textbooks_1.png create mode 100644 img/synthetic_diversity/textbooks_2.png create mode 100644 img/synthetic_rag/synthetic_rag_1.png create mode 100644 img/synthetic_rag/synthetic_rag_2.png create mode 100644 img/synthetic_rag/synthetic_rag_3.png create mode 100644 img/synthetic_rag/synthetic_rag_4.png create mode 100644 img/techniques/meta-prompting.png create mode 100644 img/zero-cot.png create mode 100644 lecture/Prompt-Engineering-Lecture-Elvis.pdf create mode 100644 middleware.js create mode 100644 next-env.d.ts create mode 100644 next.config.js create mode 100644 notebooks/gemini-context-caching.ipynb create mode 100644 notebooks/pe-chatgpt-adversarial.ipynb create mode 100644 notebooks/pe-chatgpt-intro.ipynb create mode 100644 notebooks/pe-chatgpt-langchain.ipynb create mode 100644 notebooks/pe-code-llama.ipynb create mode 100644 notebooks/pe-function-calling.ipynb create mode 100644 notebooks/pe-lecture.ipynb create mode 100644 notebooks/pe-litellm-intro.ipynb create mode 100644 notebooks/pe-mixtral-introduction.ipynb create mode 100644 notebooks/pe-pal.ipynb create mode 100644 notebooks/pe-rag.ipynb create mode 100644 notebooks/react.ipynb create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 pages/_app.tsx create mode 100644 pages/_meta.ar.json create mode 100644 pages/_meta.ca.json create mode 100644 pages/_meta.de.json create mode 100644 pages/_meta.en.json create mode 100644 pages/_meta.es.json create mode 100644 pages/_meta.fi.json create mode 100644 pages/_meta.fr.json create mode 100644 pages/_meta.it.json create mode 100644 pages/_meta.jp.json create mode 100644 pages/_meta.kr.json create mode 100644 pages/_meta.pt.json create mode 100644 pages/_meta.ru.json create mode 100644 pages/_meta.tr.json create mode 100644 pages/_meta.zh.json create mode 100644 pages/about.ca.mdx create mode 100644 pages/about.de.mdx create mode 100644 pages/about.en.mdx create mode 100644 pages/about.es.mdx create mode 100644 pages/about.fi.mdx create mode 100644 pages/about.fr.mdx create mode 100644 pages/about.it.mdx create mode 100644 pages/about.jp.mdx create mode 100644 pages/about.kr.mdx create mode 100644 pages/about.pt.mdx create mode 100644 pages/about.ru.mdx create mode 100644 pages/about.tr.mdx create mode 100644 pages/about.zh.mdx create mode 100644 pages/api/contentFiles.js create mode 100644 pages/api/promptsFiles.js create mode 100644 pages/applications.ca.mdx create mode 100644 pages/applications.de.mdx create mode 100644 pages/applications.en.mdx create mode 100644 pages/applications.es.mdx create mode 100644 pages/applications.fi.mdx create mode 100644 pages/applications.fr.mdx create mode 100644 pages/applications.it.mdx create mode 100644 pages/applications.jp.mdx create mode 100644 pages/applications.kr.mdx create mode 100644 pages/applications.pt.mdx create mode 100644 pages/applications.ru.mdx create mode 100644 pages/applications.tr.mdx create mode 100644 pages/applications.zh.mdx create mode 100644 pages/applications/_meta.ca.json create mode 100644 pages/applications/_meta.de.json create mode 100644 pages/applications/_meta.en.json create mode 100644 pages/applications/_meta.es.json create mode 100644 pages/applications/_meta.fi.json create mode 100644 pages/applications/_meta.fr.json create mode 100644 pages/applications/_meta.it.json create mode 100644 pages/applications/_meta.jp.json create mode 100644 pages/applications/_meta.kr.json create mode 100644 pages/applications/_meta.pt.json create mode 100644 pages/applications/_meta.ru.json create mode 100644 pages/applications/_meta.tr.json create mode 100644 pages/applications/_meta.zh.json create mode 100644 pages/applications/coding.ca.mdx create mode 100644 pages/applications/coding.de.mdx create mode 100644 pages/applications/coding.en.mdx create mode 100644 pages/applications/coding.es.mdx create mode 100644 pages/applications/coding.fi.mdx create mode 100644 pages/applications/coding.fr.mdx create mode 100644 pages/applications/coding.it.mdx create mode 100644 pages/applications/coding.jp.mdx create mode 100644 pages/applications/coding.kr.mdx create mode 100644 pages/applications/coding.pt.mdx create mode 100644 pages/applications/coding.ru.mdx create mode 100644 pages/applications/coding.tr.mdx create mode 100644 pages/applications/coding.zh.mdx create mode 100644 pages/applications/context-caching.en.mdx create mode 100644 pages/applications/finetuning-gpt4o.en.mdx create mode 100644 pages/applications/function_calling.ca.mdx create mode 100644 pages/applications/function_calling.de.mdx create mode 100644 pages/applications/function_calling.en.mdx create mode 100644 pages/applications/function_calling.es.mdx create mode 100644 pages/applications/function_calling.fi.mdx create mode 100644 pages/applications/function_calling.fr.mdx create mode 100644 pages/applications/function_calling.it.mdx create mode 100644 pages/applications/function_calling.jp.mdx create mode 100644 pages/applications/function_calling.kr.mdx create mode 100644 pages/applications/function_calling.pt.mdx create mode 100644 pages/applications/function_calling.ru.mdx create mode 100644 pages/applications/function_calling.tr.mdx create mode 100644 pages/applications/function_calling.zh.mdx create mode 100644 pages/applications/generating.ca.mdx create mode 100644 pages/applications/generating.de.mdx create mode 100644 pages/applications/generating.en.mdx create mode 100644 pages/applications/generating.es.mdx create mode 100644 pages/applications/generating.fi.mdx create mode 100644 pages/applications/generating.fr.mdx create mode 100644 pages/applications/generating.it.mdx create mode 100644 pages/applications/generating.jp.mdx create mode 100644 pages/applications/generating.kr.mdx create mode 100644 pages/applications/generating.pt.mdx create mode 100644 pages/applications/generating.ru.mdx create mode 100644 pages/applications/generating.tr.mdx create mode 100644 pages/applications/generating.zh.mdx create mode 100644 pages/applications/generating_textbooks.de.mdx create mode 100644 pages/applications/generating_textbooks.en.mdx create mode 100644 pages/applications/pf.ca.mdx create mode 100644 pages/applications/pf.de.mdx create mode 100644 pages/applications/pf.en.mdx create mode 100644 pages/applications/pf.es.mdx create mode 100644 pages/applications/pf.fi.mdx create mode 100644 pages/applications/pf.fr.mdx create mode 100644 pages/applications/pf.it.mdx create mode 100644 pages/applications/pf.jp.mdx create mode 100644 pages/applications/pf.kr.mdx create mode 100644 pages/applications/pf.pt.mdx create mode 100644 pages/applications/pf.ru.mdx create mode 100644 pages/applications/pf.tr.mdx create mode 100644 pages/applications/pf.zh.mdx create mode 100644 pages/applications/synthetic_rag.de.mdx create mode 100644 pages/applications/synthetic_rag.en.mdx create mode 100644 pages/applications/workplace_casestudy.ca.mdx create mode 100644 pages/applications/workplace_casestudy.de.mdx create mode 100644 pages/applications/workplace_casestudy.en.mdx create mode 100644 pages/applications/workplace_casestudy.es.mdx create mode 100644 pages/applications/workplace_casestudy.fi.mdx create mode 100644 pages/applications/workplace_casestudy.fr.mdx create mode 100644 pages/applications/workplace_casestudy.it.mdx create mode 100644 pages/applications/workplace_casestudy.jp.mdx create mode 100644 pages/applications/workplace_casestudy.kr.mdx create mode 100644 pages/applications/workplace_casestudy.pt.mdx create mode 100644 pages/applications/workplace_casestudy.ru.mdx create mode 100644 pages/applications/workplace_casestudy.tr.mdx create mode 100644 pages/applications/workplace_casestudy.zh.mdx create mode 100644 pages/course.ca.mdx create mode 100644 pages/course.de.mdx create mode 100644 pages/course.en.mdx create mode 100644 pages/course.es.mdx create mode 100644 pages/course.fi.mdx create mode 100644 pages/course.fr.mdx create mode 100644 pages/course.it.mdx create mode 100644 pages/course.jp.mdx create mode 100644 pages/course.kr.mdx create mode 100644 pages/course.pt.mdx create mode 100644 pages/course.ru.mdx create mode 100644 pages/course.tr.mdx create mode 100644 pages/course.zh.mdx create mode 100644 pages/datasets.ca.mdx create mode 100644 pages/datasets.de.mdx create mode 100644 pages/datasets.en.mdx create mode 100644 pages/datasets.es.mdx create mode 100644 pages/datasets.fi.mdx create mode 100644 pages/datasets.fr.mdx create mode 100644 pages/datasets.it.mdx create mode 100644 pages/datasets.jp.mdx create mode 100644 pages/datasets.kr.mdx create mode 100644 pages/datasets.pt.mdx create mode 100644 pages/datasets.ru.mdx create mode 100644 pages/datasets.tr.mdx create mode 100644 pages/datasets.zh.mdx create mode 100644 pages/guides/_meta.en.json create mode 100644 pages/guides/optimizing-prompts.en.mdx create mode 100644 pages/index.ar.mdx create mode 100644 pages/index.ca.mdx create mode 100644 pages/index.de.mdx create mode 100644 pages/index.en.mdx create mode 100644 pages/index.es.mdx create mode 100644 pages/index.fi.mdx create mode 100644 pages/index.fr.mdx create mode 100644 pages/index.it.mdx create mode 100644 pages/index.jp.mdx create mode 100644 pages/index.kr.mdx create mode 100644 pages/index.pt.mdx create mode 100644 pages/index.ru.mdx create mode 100644 pages/index.tr.mdx create mode 100644 pages/index.zh.mdx create mode 100644 pages/introduction.ca.mdx create mode 100644 pages/introduction.de.mdx create mode 100644 pages/introduction.en.mdx create mode 100644 pages/introduction.es.mdx create mode 100644 pages/introduction.fi.mdx create mode 100644 pages/introduction.fr.mdx create mode 100644 pages/introduction.it.mdx create mode 100644 pages/introduction.jp.mdx create mode 100644 pages/introduction.kr.mdx create mode 100644 pages/introduction.pt.mdx create mode 100644 pages/introduction.ru.mdx create mode 100644 pages/introduction.tr.mdx create mode 100644 pages/introduction.zh.mdx create mode 100644 pages/introduction/_meta.ca.json create mode 100644 pages/introduction/_meta.de.json create mode 100644 pages/introduction/_meta.en.json create mode 100644 pages/introduction/_meta.es.json create mode 100644 pages/introduction/_meta.fi.json create mode 100644 pages/introduction/_meta.fr.json create mode 100644 pages/introduction/_meta.it.json create mode 100644 pages/introduction/_meta.jp.json create mode 100644 pages/introduction/_meta.kr.json create mode 100644 pages/introduction/_meta.pt.json create mode 100644 pages/introduction/_meta.ru.json create mode 100644 pages/introduction/_meta.tr.json create mode 100644 pages/introduction/_meta.zh.json create mode 100644 pages/introduction/basics.ca.mdx create mode 100644 pages/introduction/basics.de.mdx create mode 100644 pages/introduction/basics.en.mdx create mode 100644 pages/introduction/basics.es.mdx create mode 100644 pages/introduction/basics.fi.mdx create mode 100644 pages/introduction/basics.fr.mdx create mode 100644 pages/introduction/basics.it.mdx create mode 100644 pages/introduction/basics.jp.mdx create mode 100644 pages/introduction/basics.kr.mdx create mode 100644 pages/introduction/basics.pt.mdx create mode 100644 pages/introduction/basics.ru.mdx create mode 100644 pages/introduction/basics.tr.mdx create mode 100644 pages/introduction/basics.zh.mdx create mode 100644 pages/introduction/elements.ca.mdx create mode 100644 pages/introduction/elements.de.mdx create mode 100644 pages/introduction/elements.en.mdx create mode 100644 pages/introduction/elements.es.mdx create mode 100644 pages/introduction/elements.fi.mdx create mode 100644 pages/introduction/elements.fr.mdx create mode 100644 pages/introduction/elements.it.mdx create mode 100644 pages/introduction/elements.jp.mdx create mode 100644 pages/introduction/elements.kr.mdx create mode 100644 pages/introduction/elements.pt.mdx create mode 100644 pages/introduction/elements.ru.mdx create mode 100644 pages/introduction/elements.tr.mdx create mode 100644 pages/introduction/elements.zh.mdx create mode 100644 pages/introduction/examples.ca.mdx create mode 100644 pages/introduction/examples.de.mdx create mode 100644 pages/introduction/examples.en.mdx create mode 100644 pages/introduction/examples.es.mdx create mode 100644 pages/introduction/examples.fi.mdx create mode 100644 pages/introduction/examples.fr.mdx create mode 100644 pages/introduction/examples.it.mdx create mode 100644 pages/introduction/examples.jp.mdx create mode 100644 pages/introduction/examples.kr.mdx create mode 100644 pages/introduction/examples.pt.mdx create mode 100644 pages/introduction/examples.ru.mdx create mode 100644 pages/introduction/examples.tr.mdx create mode 100644 pages/introduction/examples.zh.mdx create mode 100644 pages/introduction/settings.ca.mdx create mode 100644 pages/introduction/settings.de.mdx create mode 100644 pages/introduction/settings.en.mdx create mode 100644 pages/introduction/settings.es.mdx create mode 100644 pages/introduction/settings.fi.mdx create mode 100644 pages/introduction/settings.fr.mdx create mode 100644 pages/introduction/settings.it.mdx create mode 100644 pages/introduction/settings.jp.mdx create mode 100644 pages/introduction/settings.kr.mdx create mode 100644 pages/introduction/settings.pt.mdx create mode 100644 pages/introduction/settings.ru.mdx create mode 100644 pages/introduction/settings.tr.mdx create mode 100644 pages/introduction/settings.zh.mdx create mode 100644 pages/introduction/tips.ca.mdx create mode 100644 pages/introduction/tips.de.mdx create mode 100644 pages/introduction/tips.en.mdx create mode 100644 pages/introduction/tips.es.mdx create mode 100644 pages/introduction/tips.fi.mdx create mode 100644 pages/introduction/tips.fr.mdx create mode 100644 pages/introduction/tips.it.mdx create mode 100644 pages/introduction/tips.jp.mdx create mode 100644 pages/introduction/tips.kr.mdx create mode 100644 pages/introduction/tips.pt.mdx create mode 100644 pages/introduction/tips.ru.mdx create mode 100644 pages/introduction/tips.tr.mdx create mode 100644 pages/introduction/tips.zh.mdx create mode 100644 pages/models.ca.mdx create mode 100644 pages/models.de.mdx create mode 100644 pages/models.en.mdx create mode 100644 pages/models.es.mdx create mode 100644 pages/models.fi.mdx create mode 100644 pages/models.fr.mdx create mode 100644 pages/models.it.mdx create mode 100644 pages/models.jp.mdx create mode 100644 pages/models.kr.mdx create mode 100644 pages/models.pt.mdx create mode 100644 pages/models.tr.mdx create mode 100644 pages/models.zh.mdx create mode 100644 pages/models/_meta.ca.json create mode 100644 pages/models/_meta.de.json create mode 100644 pages/models/_meta.en.json create mode 100644 pages/models/_meta.es.json create mode 100644 pages/models/_meta.fi.json create mode 100644 pages/models/_meta.fr.json create mode 100644 pages/models/_meta.it.json create mode 100644 pages/models/_meta.jp.json create mode 100644 pages/models/_meta.kr.json create mode 100644 pages/models/_meta.pt.json create mode 100644 pages/models/_meta.ru.json create mode 100644 pages/models/_meta.tr.json create mode 100644 pages/models/_meta.zh.json create mode 100644 pages/models/chatgpt.ca.mdx create mode 100644 pages/models/chatgpt.de.mdx create mode 100644 pages/models/chatgpt.en.mdx create mode 100644 pages/models/chatgpt.es.mdx create mode 100644 pages/models/chatgpt.fi.mdx create mode 100644 pages/models/chatgpt.fr.mdx create mode 100644 pages/models/chatgpt.it.mdx create mode 100644 pages/models/chatgpt.jp.mdx create mode 100644 pages/models/chatgpt.kr.mdx create mode 100644 pages/models/chatgpt.pt.mdx create mode 100644 pages/models/chatgpt.ru.mdx create mode 100644 pages/models/chatgpt.tr.mdx create mode 100644 pages/models/chatgpt.zh.mdx create mode 100644 pages/models/claude-3.de.mdx create mode 100644 pages/models/claude-3.en.mdx create mode 100644 pages/models/code-llama.ca.mdx create mode 100644 pages/models/code-llama.de.mdx create mode 100644 pages/models/code-llama.en.mdx create mode 100644 pages/models/code-llama.es.mdx create mode 100644 pages/models/code-llama.fi.mdx create mode 100644 pages/models/code-llama.fr.mdx create mode 100644 pages/models/code-llama.it.mdx create mode 100644 pages/models/code-llama.jp.mdx create mode 100644 pages/models/code-llama.kr.mdx create mode 100644 pages/models/code-llama.pt.mdx create mode 100644 pages/models/code-llama.ru.mdx create mode 100644 pages/models/code-llama.tr.mdx create mode 100644 pages/models/code-llama.zh.mdx create mode 100644 pages/models/collection.ca.mdx create mode 100644 pages/models/collection.de.mdx create mode 100644 pages/models/collection.en.mdx create mode 100644 pages/models/collection.es.mdx create mode 100644 pages/models/collection.fi.mdx create mode 100644 pages/models/collection.fr.mdx create mode 100644 pages/models/collection.it.mdx create mode 100644 pages/models/collection.jp.mdx create mode 100644 pages/models/collection.kr.mdx create mode 100644 pages/models/collection.pt.mdx create mode 100644 pages/models/collection.ru.mdx create mode 100644 pages/models/collection.tr.mdx create mode 100644 pages/models/collection.zh.mdx create mode 100644 pages/models/flan.ca.mdx create mode 100644 pages/models/flan.de.mdx create mode 100644 pages/models/flan.en.mdx create mode 100644 pages/models/flan.es.mdx create mode 100644 pages/models/flan.fi.mdx create mode 100644 pages/models/flan.fr.mdx create mode 100644 pages/models/flan.it.mdx create mode 100644 pages/models/flan.jp.mdx create mode 100644 pages/models/flan.kr.mdx create mode 100644 pages/models/flan.pt.mdx create mode 100644 pages/models/flan.ru.mdx create mode 100644 pages/models/flan.tr.mdx create mode 100644 pages/models/flan.zh.mdx create mode 100644 pages/models/gemini-advanced.ca.mdx create mode 100644 pages/models/gemini-advanced.de.mdx create mode 100644 pages/models/gemini-advanced.en.mdx create mode 100644 pages/models/gemini-advanced.es.mdx create mode 100644 pages/models/gemini-advanced.fi.mdx create mode 100644 pages/models/gemini-advanced.fr.mdx create mode 100644 pages/models/gemini-advanced.it.mdx create mode 100644 pages/models/gemini-advanced.jp.mdx create mode 100644 pages/models/gemini-advanced.kr.mdx create mode 100644 pages/models/gemini-advanced.pt.mdx create mode 100644 pages/models/gemini-advanced.ru.mdx create mode 100644 pages/models/gemini-advanced.tr.mdx create mode 100644 pages/models/gemini-advanced.zh.mdx create mode 100644 pages/models/gemini-pro.ca.mdx create mode 100644 pages/models/gemini-pro.de.mdx create mode 100644 pages/models/gemini-pro.en.mdx create mode 100644 pages/models/gemini-pro.es.mdx create mode 100644 pages/models/gemini-pro.fi.mdx create mode 100644 pages/models/gemini-pro.fr.mdx create mode 100644 pages/models/gemini-pro.it.mdx create mode 100644 pages/models/gemini-pro.jp.mdx create mode 100644 pages/models/gemini-pro.kr.mdx create mode 100644 pages/models/gemini-pro.pt.mdx create mode 100644 pages/models/gemini-pro.ru.mdx create mode 100644 pages/models/gemini-pro.tr.mdx create mode 100644 pages/models/gemini-pro.zh.mdx create mode 100644 pages/models/gemini.ca.mdx create mode 100644 pages/models/gemini.de.mdx create mode 100644 pages/models/gemini.en.mdx create mode 100644 pages/models/gemini.es.mdx create mode 100644 pages/models/gemini.fi.mdx create mode 100644 pages/models/gemini.fr.mdx create mode 100644 pages/models/gemini.it.mdx create mode 100644 pages/models/gemini.jp.mdx create mode 100644 pages/models/gemini.kr.mdx create mode 100644 pages/models/gemini.pt.mdx create mode 100644 pages/models/gemini.ru.mdx create mode 100644 pages/models/gemini.tr.mdx create mode 100644 pages/models/gemini.zh.mdx create mode 100644 pages/models/gemma.de.mdx create mode 100644 pages/models/gemma.en.mdx create mode 100644 pages/models/gpt-4.ca.mdx create mode 100644 pages/models/gpt-4.de.mdx create mode 100644 pages/models/gpt-4.en.mdx create mode 100644 pages/models/gpt-4.es.mdx create mode 100644 pages/models/gpt-4.fi.mdx create mode 100644 pages/models/gpt-4.fr.mdx create mode 100644 pages/models/gpt-4.it.mdx create mode 100644 pages/models/gpt-4.jp.mdx create mode 100644 pages/models/gpt-4.kr.mdx create mode 100644 pages/models/gpt-4.pt.mdx create mode 100644 pages/models/gpt-4.ru.mdx create mode 100644 pages/models/gpt-4.tr.mdx create mode 100644 pages/models/gpt-4.zh.mdx create mode 100644 pages/models/grok-1.de.mdx create mode 100644 pages/models/grok-1.en.mdx create mode 100644 pages/models/llama-3.de.mdx create mode 100644 pages/models/llama-3.en.mdx create mode 100644 pages/models/llama.ca.mdx create mode 100644 pages/models/llama.de.mdx create mode 100644 pages/models/llama.en.mdx create mode 100644 pages/models/llama.es.mdx create mode 100644 pages/models/llama.fi.mdx create mode 100644 pages/models/llama.fr.mdx create mode 100644 pages/models/llama.it.mdx create mode 100644 pages/models/llama.jp.mdx create mode 100644 pages/models/llama.kr.mdx create mode 100644 pages/models/llama.pt.mdx create mode 100644 pages/models/llama.ru.mdx create mode 100644 pages/models/llama.tr.mdx create mode 100644 pages/models/llama.zh.mdx create mode 100644 pages/models/mistral-7b.ca.mdx create mode 100644 pages/models/mistral-7b.de.mdx create mode 100644 pages/models/mistral-7b.en.mdx create mode 100644 pages/models/mistral-7b.es.mdx create mode 100644 pages/models/mistral-7b.fi.mdx create mode 100644 pages/models/mistral-7b.fr.mdx create mode 100644 pages/models/mistral-7b.it.mdx create mode 100644 pages/models/mistral-7b.jp.mdx create mode 100644 pages/models/mistral-7b.kr.mdx create mode 100644 pages/models/mistral-7b.pt.mdx create mode 100644 pages/models/mistral-7b.ru.mdx create mode 100644 pages/models/mistral-7b.tr.mdx create mode 100644 pages/models/mistral-7b.zh.mdx create mode 100644 pages/models/mistral-large.de.mdx create mode 100644 pages/models/mistral-large.en.mdx create mode 100644 pages/models/mixtral-8x22b.de.mdx create mode 100644 pages/models/mixtral-8x22b.en.mdx create mode 100644 pages/models/mixtral.ca.mdx create mode 100644 pages/models/mixtral.de.mdx create mode 100644 pages/models/mixtral.en.mdx create mode 100644 pages/models/mixtral.es.mdx create mode 100644 pages/models/mixtral.fi.mdx create mode 100644 pages/models/mixtral.fr.mdx create mode 100644 pages/models/mixtral.it.mdx create mode 100644 pages/models/mixtral.jp.mdx create mode 100644 pages/models/mixtral.kr.mdx create mode 100644 pages/models/mixtral.pt.mdx create mode 100644 pages/models/mixtral.ru.mdx create mode 100644 pages/models/mixtral.tr.mdx create mode 100644 pages/models/mixtral.zh.mdx create mode 100644 pages/models/olmo.ca.mdx create mode 100644 pages/models/olmo.de.mdx create mode 100644 pages/models/olmo.en.mdx create mode 100644 pages/models/olmo.es.mdx create mode 100644 pages/models/olmo.fi.mdx create mode 100644 pages/models/olmo.fr.mdx create mode 100644 pages/models/olmo.it.mdx create mode 100644 pages/models/olmo.jp.mdx create mode 100644 pages/models/olmo.kr.mdx create mode 100644 pages/models/olmo.pt.mdx create mode 100644 pages/models/olmo.ru.mdx create mode 100644 pages/models/olmo.tr.mdx create mode 100644 pages/models/olmo.zh.mdx create mode 100644 pages/models/phi-2.ca.mdx create mode 100644 pages/models/phi-2.de.mdx create mode 100644 pages/models/phi-2.en.mdx create mode 100644 pages/models/phi-2.es.mdx create mode 100644 pages/models/phi-2.fi.mdx create mode 100644 pages/models/phi-2.fr.mdx create mode 100644 pages/models/phi-2.it.mdx create mode 100644 pages/models/phi-2.jp.mdx create mode 100644 pages/models/phi-2.kr.mdx create mode 100644 pages/models/phi-2.pt.mdx create mode 100644 pages/models/phi-2.ru.mdx create mode 100644 pages/models/phi-2.tr.mdx create mode 100644 pages/models/phi-2.zh.mdx create mode 100644 pages/models/sora.ca.mdx create mode 100644 pages/models/sora.de.mdx create mode 100644 pages/models/sora.en.mdx create mode 100644 pages/models/sora.es.mdx create mode 100644 pages/models/sora.fi.mdx create mode 100644 pages/models/sora.fr.mdx create mode 100644 pages/models/sora.it.mdx create mode 100644 pages/models/sora.jp.mdx create mode 100644 pages/models/sora.kr.mdx create mode 100644 pages/models/sora.pt.mdx create mode 100644 pages/models/sora.ru.mdx create mode 100644 pages/models/sora.tr.mdx create mode 100644 pages/models/sora.zh.mdx create mode 100644 pages/notebooks.ca.mdx create mode 100644 pages/notebooks.de.mdx create mode 100644 pages/notebooks.en.mdx create mode 100644 pages/notebooks.es.mdx create mode 100644 pages/notebooks.fi.mdx create mode 100644 pages/notebooks.fr.mdx create mode 100644 pages/notebooks.it.mdx create mode 100644 pages/notebooks.jp.mdx create mode 100644 pages/notebooks.kr.mdx create mode 100644 pages/notebooks.pt.mdx create mode 100644 pages/notebooks.ru.mdx create mode 100644 pages/notebooks.tr.mdx create mode 100644 pages/notebooks.zh.mdx create mode 100644 pages/papers.ca.mdx create mode 100644 pages/papers.de.mdx create mode 100644 pages/papers.en.mdx create mode 100644 pages/papers.es.mdx create mode 100644 pages/papers.fi.mdx create mode 100644 pages/papers.fr.mdx create mode 100644 pages/papers.it.mdx create mode 100644 pages/papers.jp.mdx create mode 100644 pages/papers.kr.mdx create mode 100644 pages/papers.pt.mdx create mode 100644 pages/papers.ru.mdx create mode 100644 pages/papers.tr.mdx create mode 100644 pages/papers.zh.mdx create mode 100644 pages/prompts.ca.mdx create mode 100644 pages/prompts.de.mdx create mode 100644 pages/prompts.en.mdx create mode 100644 pages/prompts.es.mdx create mode 100644 pages/prompts.fi.mdx create mode 100644 pages/prompts.fr.mdx create mode 100644 pages/prompts.it.mdx create mode 100644 pages/prompts.jp.mdx create mode 100644 pages/prompts.kr.mdx create mode 100644 pages/prompts.pt.mdx create mode 100644 pages/prompts.ru.mdx create mode 100644 pages/prompts.tr.mdx create mode 100644 pages/prompts.zh.mdx create mode 100644 pages/prompts/_meta.ca.json create mode 100644 pages/prompts/_meta.de.json create mode 100644 pages/prompts/_meta.en.json create mode 100644 pages/prompts/_meta.es.json create mode 100644 pages/prompts/_meta.fi.json create mode 100644 pages/prompts/_meta.fr.json create mode 100644 pages/prompts/_meta.it.json create mode 100644 pages/prompts/_meta.jp.json create mode 100644 pages/prompts/_meta.kr.json create mode 100644 pages/prompts/_meta.pt.json create mode 100644 pages/prompts/_meta.ru.json create mode 100644 pages/prompts/_meta.tr.json create mode 100644 pages/prompts/_meta.zh.json create mode 100644 pages/prompts/adversarial-prompting.de.mdx create mode 100644 pages/prompts/adversarial-prompting.en.mdx create mode 100644 pages/prompts/adversarial-prompting.jp.mdx create mode 100644 pages/prompts/adversarial-prompting.tr.mdx create mode 100644 pages/prompts/adversarial-prompting.zh.mdx create mode 100644 pages/prompts/adversarial-prompting/_meta.de.json create mode 100644 pages/prompts/adversarial-prompting/_meta.en.json create mode 100644 pages/prompts/adversarial-prompting/_meta.tr.json create mode 100644 pages/prompts/adversarial-prompting/_meta.zh.json create mode 100644 pages/prompts/adversarial-prompting/jailbreaking-llms.de.mdx create mode 100644 pages/prompts/adversarial-prompting/jailbreaking-llms.en.mdx create mode 100644 pages/prompts/adversarial-prompting/jailbreaking-llms.tr.mdx create mode 100644 pages/prompts/adversarial-prompting/jailbreaking-llms.zh.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-injection.de.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-injection.en.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-injection.tr.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-injection.zh.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-leaking.de.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-leaking.en.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-leaking.tr.mdx create mode 100644 pages/prompts/adversarial-prompting/prompt-leaking.zh.mdx create mode 100644 pages/prompts/classification.de.mdx create mode 100644 pages/prompts/classification.en.mdx create mode 100644 pages/prompts/classification.jp.mdx create mode 100644 pages/prompts/classification.tr.mdx create mode 100644 pages/prompts/classification.zh.mdx create mode 100644 pages/prompts/classification/_meta.de.json create mode 100644 pages/prompts/classification/_meta.en.json create mode 100644 pages/prompts/classification/_meta.tr.json create mode 100644 pages/prompts/classification/_meta.zh.json create mode 100644 pages/prompts/classification/sentiment-fewshot.de.mdx create mode 100644 pages/prompts/classification/sentiment-fewshot.en.mdx create mode 100644 pages/prompts/classification/sentiment-fewshot.tr.mdx create mode 100644 pages/prompts/classification/sentiment-fewshot.zh.mdx create mode 100644 pages/prompts/classification/sentiment.de.mdx create mode 100644 pages/prompts/classification/sentiment.en.mdx create mode 100644 pages/prompts/classification/sentiment.tr.mdx create mode 100644 pages/prompts/classification/sentiment.zh.mdx create mode 100644 pages/prompts/coding.de.mdx create mode 100644 pages/prompts/coding.en.mdx create mode 100644 pages/prompts/coding.jp.mdx create mode 100644 pages/prompts/coding.zh.mdx create mode 100644 pages/prompts/coding/_meta.de.json create mode 100644 pages/prompts/coding/_meta.en.json create mode 100644 pages/prompts/coding/_meta.tr.json create mode 100644 pages/prompts/coding/code-snippet.de.mdx create mode 100644 pages/prompts/coding/code-snippet.en.mdx create mode 100644 pages/prompts/coding/code-snippet.tr.mdx create mode 100644 pages/prompts/coding/mysql-query.de.mdx create mode 100644 pages/prompts/coding/mysql-query.en.mdx create mode 100644 pages/prompts/coding/mysql-query.tr.mdx create mode 100644 pages/prompts/coding/tikz.de.mdx create mode 100644 pages/prompts/coding/tikz.en.mdx create mode 100644 pages/prompts/coding/tikz.tr.mdx create mode 100644 pages/prompts/creativity.de.mdx create mode 100644 pages/prompts/creativity.en.mdx create mode 100644 pages/prompts/creativity.jp.mdx create mode 100644 pages/prompts/creativity.zh.mdx create mode 100644 pages/prompts/creativity/_meta.de.json create mode 100644 pages/prompts/creativity/_meta.en.json create mode 100644 pages/prompts/creativity/_meta.tr.json create mode 100644 pages/prompts/creativity/infinite-primes.de.mdx create mode 100644 pages/prompts/creativity/infinite-primes.en.mdx create mode 100644 pages/prompts/creativity/infinite-primes.tr.mdx create mode 100644 pages/prompts/creativity/interdisciplinary.de.mdx create mode 100644 pages/prompts/creativity/interdisciplinary.en.mdx create mode 100644 pages/prompts/creativity/interdisciplinary.tr.mdx create mode 100644 pages/prompts/creativity/new-words.de.mdx create mode 100644 pages/prompts/creativity/new-words.en.mdx create mode 100644 pages/prompts/creativity/new-words.tr.mdx create mode 100644 pages/prompts/creativity/rhymes.de.mdx create mode 100644 pages/prompts/creativity/rhymes.en.mdx create mode 100644 pages/prompts/creativity/rhymes.tr.mdx create mode 100644 pages/prompts/evaluation.de.mdx create mode 100644 pages/prompts/evaluation.en.mdx create mode 100644 pages/prompts/evaluation.jp.mdx create mode 100644 pages/prompts/evaluation.zh.mdx create mode 100644 pages/prompts/evaluation/_meta.de.json create mode 100644 pages/prompts/evaluation/_meta.en.json create mode 100644 pages/prompts/evaluation/_meta.tr.json create mode 100644 pages/prompts/evaluation/plato-dialogue.de.mdx create mode 100644 pages/prompts/evaluation/plato-dialogue.en.mdx create mode 100644 pages/prompts/evaluation/plato-dialogue.tr.mdx create mode 100644 pages/prompts/image-generation.de.mdx create mode 100644 pages/prompts/image-generation.en.mdx create mode 100644 pages/prompts/image-generation.jp.mdx create mode 100644 pages/prompts/image-generation.zh.mdx create mode 100644 pages/prompts/image-generation/_meta.de.json create mode 100644 pages/prompts/image-generation/_meta.en.json create mode 100644 pages/prompts/image-generation/_meta.tr.json create mode 100644 pages/prompts/image-generation/alphabet-person.de.mdx create mode 100644 pages/prompts/image-generation/alphabet-person.en.mdx create mode 100644 pages/prompts/image-generation/alphabet-person.tr.mdx create mode 100644 pages/prompts/information-extraction.de.mdx create mode 100644 pages/prompts/information-extraction.en.mdx create mode 100644 pages/prompts/information-extraction.jp.mdx create mode 100644 pages/prompts/information-extraction.zh.mdx create mode 100644 pages/prompts/information-extraction/_meta.de.json create mode 100644 pages/prompts/information-extraction/_meta.en.json create mode 100644 pages/prompts/information-extraction/_meta.tr.json create mode 100644 pages/prompts/information-extraction/extract-models.de.mdx create mode 100644 pages/prompts/information-extraction/extract-models.en.mdx create mode 100644 pages/prompts/information-extraction/extract-models.tr.mdx create mode 100644 pages/prompts/mathematics.de.mdx create mode 100644 pages/prompts/mathematics.en.mdx create mode 100644 pages/prompts/mathematics.jp.mdx create mode 100644 pages/prompts/mathematics.zh.mdx create mode 100644 pages/prompts/mathematics/_meta.de.json create mode 100644 pages/prompts/mathematics/_meta.en.json create mode 100644 pages/prompts/mathematics/_meta.tr.json create mode 100644 pages/prompts/mathematics/composite-functions.de.mdx create mode 100644 pages/prompts/mathematics/composite-functions.en.mdx create mode 100644 pages/prompts/mathematics/composite-functions.tr.mdx create mode 100644 pages/prompts/mathematics/odd-numbers.de.mdx create mode 100644 pages/prompts/mathematics/odd-numbers.en.mdx create mode 100644 pages/prompts/mathematics/odd-numbers.tr.mdx create mode 100644 pages/prompts/question-answering.de.mdx create mode 100644 pages/prompts/question-answering.en.mdx create mode 100644 pages/prompts/question-answering.jp.mdx create mode 100644 pages/prompts/question-answering.zh.mdx create mode 100644 pages/prompts/question-answering/_meta.de.json create mode 100644 pages/prompts/question-answering/_meta.en.json create mode 100644 pages/prompts/question-answering/_meta.tr.json create mode 100644 pages/prompts/question-answering/closed-domain.de.mdx create mode 100644 pages/prompts/question-answering/closed-domain.en.mdx create mode 100644 pages/prompts/question-answering/closed-domain.tr.mdx create mode 100644 pages/prompts/question-answering/open-domain.de.mdx create mode 100644 pages/prompts/question-answering/open-domain.en.mdx create mode 100644 pages/prompts/question-answering/open-domain.tr.mdx create mode 100644 pages/prompts/question-answering/science-qa.de.mdx create mode 100644 pages/prompts/question-answering/science-qa.en.mdx create mode 100644 pages/prompts/question-answering/science-qa.tr.mdx create mode 100644 pages/prompts/reasoning.de.mdx create mode 100644 pages/prompts/reasoning.en.mdx create mode 100644 pages/prompts/reasoning.jp.mdx create mode 100644 pages/prompts/reasoning.zh.mdx create mode 100644 pages/prompts/reasoning/_meta.de.json create mode 100644 pages/prompts/reasoning/_meta.en.json create mode 100644 pages/prompts/reasoning/_meta.tr.json create mode 100644 pages/prompts/reasoning/indirect-reasoning.de.mdx create mode 100644 pages/prompts/reasoning/indirect-reasoning.en.mdx create mode 100644 pages/prompts/reasoning/indirect-reasoning.tr.mdx create mode 100644 pages/prompts/reasoning/physical-reasoning.de.mdx create mode 100644 pages/prompts/reasoning/physical-reasoning.en.mdx create mode 100644 pages/prompts/reasoning/physical-reasoning.tr.mdx create mode 100644 pages/prompts/text-summarization.de.mdx create mode 100644 pages/prompts/text-summarization.en.mdx create mode 100644 pages/prompts/text-summarization.jp.mdx create mode 100644 pages/prompts/text-summarization.zh.mdx create mode 100644 pages/prompts/text-summarization/_meta.de.json create mode 100644 pages/prompts/text-summarization/_meta.en.json create mode 100644 pages/prompts/text-summarization/_meta.tr.json create mode 100644 pages/prompts/text-summarization/explain-concept.de.mdx create mode 100644 pages/prompts/text-summarization/explain-concept.en.mdx create mode 100644 pages/prompts/text-summarization/explain-concept.tr.mdx create mode 100644 pages/prompts/truthfulness.de.mdx create mode 100644 pages/prompts/truthfulness.en.mdx create mode 100644 pages/prompts/truthfulness.jp.mdx create mode 100644 pages/prompts/truthfulness.zh.mdx create mode 100644 pages/prompts/truthfulness/_meta.de.json create mode 100644 pages/prompts/truthfulness/_meta.en.json create mode 100644 pages/prompts/truthfulness/_meta.tr.json create mode 100644 pages/prompts/truthfulness/identify-hallucination.de.mdx create mode 100644 pages/prompts/truthfulness/identify-hallucination.en.mdx create mode 100644 pages/prompts/truthfulness/identify-hallucination.tr.mdx create mode 100644 pages/readings.ca.mdx create mode 100644 pages/readings.de.mdx create mode 100644 pages/readings.en.mdx create mode 100644 pages/readings.es.mdx create mode 100644 pages/readings.fi.mdx create mode 100644 pages/readings.fr.mdx create mode 100644 pages/readings.it.mdx create mode 100644 pages/readings.jp.mdx create mode 100644 pages/readings.kr.mdx create mode 100644 pages/readings.pt.mdx create mode 100644 pages/readings.ru.mdx create mode 100644 pages/readings.tr.mdx create mode 100644 pages/readings.zh.mdx create mode 100644 pages/research.ca.mdx create mode 100644 pages/research.de.mdx create mode 100644 pages/research.en.mdx create mode 100644 pages/research.es.mdx create mode 100644 pages/research.fi.mdx create mode 100644 pages/research.fr.mdx create mode 100644 pages/research.it.mdx create mode 100644 pages/research.jp.mdx create mode 100644 pages/research.kr.mdx create mode 100644 pages/research.pt.mdx create mode 100644 pages/research.ru.mdx create mode 100644 pages/research.tr.mdx create mode 100644 pages/research.zh.mdx create mode 100644 pages/research/_meta.ca.json create mode 100644 pages/research/_meta.de.json create mode 100644 pages/research/_meta.en.json create mode 100644 pages/research/_meta.es.json create mode 100644 pages/research/_meta.fi.json create mode 100644 pages/research/_meta.fr.json create mode 100644 pages/research/_meta.it.json create mode 100644 pages/research/_meta.jp.json create mode 100644 pages/research/_meta.kr.json create mode 100644 pages/research/_meta.pt.json create mode 100644 pages/research/_meta.ru.json create mode 100644 pages/research/_meta.tr.json create mode 100644 pages/research/_meta.zh.json create mode 100644 pages/research/groq.de.mdx create mode 100644 pages/research/groq.en.mdx create mode 100644 pages/research/groq.zh.mdx create mode 100644 pages/research/guided-cot.de.mdx create mode 100644 pages/research/guided-cot.en.mdx create mode 100644 pages/research/guided-cot.zh.mdx create mode 100644 pages/research/infini-attention.de.mdx create mode 100644 pages/research/infini-attention.en.mdx create mode 100644 pages/research/infini-attention.zh.mdx create mode 100644 pages/research/llm-agents.ca.mdx create mode 100644 pages/research/llm-agents.de.mdx create mode 100644 pages/research/llm-agents.en.mdx create mode 100644 pages/research/llm-agents.es.mdx create mode 100644 pages/research/llm-agents.fi.mdx create mode 100644 pages/research/llm-agents.fr.mdx create mode 100644 pages/research/llm-agents.it.mdx create mode 100644 pages/research/llm-agents.jp.mdx create mode 100644 pages/research/llm-agents.kr.mdx create mode 100644 pages/research/llm-agents.pt.mdx create mode 100644 pages/research/llm-agents.ru.mdx create mode 100644 pages/research/llm-agents.tr.mdx create mode 100644 pages/research/llm-agents.zh.mdx create mode 100644 pages/research/llm-reasoning.de.mdx create mode 100644 pages/research/llm-reasoning.en.mdx create mode 100644 pages/research/llm-reasoning.zh.mdx create mode 100644 pages/research/llm-recall.de.mdx create mode 100644 pages/research/llm-recall.en.mdx create mode 100644 pages/research/llm-recall.zh.mdx create mode 100644 pages/research/llm-tokenization.de.mdx create mode 100644 pages/research/llm-tokenization.en.mdx create mode 100644 pages/research/llm-tokenization.zh.mdx create mode 100644 pages/research/rag-faithfulness.de.mdx create mode 100644 pages/research/rag-faithfulness.en.mdx create mode 100644 pages/research/rag-faithfulness.zh.mdx create mode 100644 pages/research/rag.ca.mdx create mode 100644 pages/research/rag.de.mdx create mode 100644 pages/research/rag.en.mdx create mode 100644 pages/research/rag.es.mdx create mode 100644 pages/research/rag.fi.mdx create mode 100644 pages/research/rag.fr.mdx create mode 100644 pages/research/rag.it.mdx create mode 100644 pages/research/rag.jp.mdx create mode 100644 pages/research/rag.kr.mdx create mode 100644 pages/research/rag.pt.mdx create mode 100644 pages/research/rag.ru.mdx create mode 100644 pages/research/rag.tr.mdx create mode 100644 pages/research/rag.zh.mdx create mode 100644 pages/research/rag_hallucinations.de.mdx create mode 100644 pages/research/rag_hallucinations.en.mdx create mode 100644 pages/research/rag_hallucinations.zh.mdx create mode 100644 pages/research/synthetic_data.de.mdx create mode 100644 pages/research/synthetic_data.en.mdx create mode 100644 pages/research/synthetic_data.zh.mdx create mode 100644 pages/research/thoughtsculpt.de.mdx create mode 100644 pages/research/thoughtsculpt.en.mdx create mode 100644 pages/research/thoughtsculpt.zh.mdx create mode 100644 pages/research/trustworthiness-in-llms.ca.mdx create mode 100644 pages/research/trustworthiness-in-llms.de.mdx create mode 100644 pages/research/trustworthiness-in-llms.en.mdx create mode 100644 pages/research/trustworthiness-in-llms.es.mdx create mode 100644 pages/research/trustworthiness-in-llms.fi.mdx create mode 100644 pages/research/trustworthiness-in-llms.fr.mdx create mode 100644 pages/research/trustworthiness-in-llms.it.mdx create mode 100644 pages/research/trustworthiness-in-llms.jp.mdx create mode 100644 pages/research/trustworthiness-in-llms.kr.mdx create mode 100644 pages/research/trustworthiness-in-llms.pt.mdx create mode 100644 pages/research/trustworthiness-in-llms.ru.mdx create mode 100644 pages/research/trustworthiness-in-llms.tr.mdx create mode 100644 pages/research/trustworthiness-in-llms.zh.mdx create mode 100644 pages/risks.ca.mdx create mode 100644 pages/risks.de.mdx create mode 100644 pages/risks.en.mdx create mode 100644 pages/risks.es.mdx create mode 100644 pages/risks.fi.mdx create mode 100644 pages/risks.fr.mdx create mode 100644 pages/risks.it.mdx create mode 100644 pages/risks.jp.mdx create mode 100644 pages/risks.kr.mdx create mode 100644 pages/risks.pt.mdx create mode 100644 pages/risks.ru.mdx create mode 100644 pages/risks.tr.mdx create mode 100644 pages/risks.zh.mdx create mode 100644 pages/risks/_meta.ca.json create mode 100644 pages/risks/_meta.de.json create mode 100644 pages/risks/_meta.en.json create mode 100644 pages/risks/_meta.es.json create mode 100644 pages/risks/_meta.fi.json create mode 100644 pages/risks/_meta.fr.json create mode 100644 pages/risks/_meta.it.json create mode 100644 pages/risks/_meta.jp.json create mode 100644 pages/risks/_meta.kr.json create mode 100644 pages/risks/_meta.pt.json create mode 100644 pages/risks/_meta.ru.json create mode 100644 pages/risks/_meta.tr.json create mode 100644 pages/risks/_meta.zh.json create mode 100644 pages/risks/adversarial.ca.mdx create mode 100644 pages/risks/adversarial.de.mdx create mode 100644 pages/risks/adversarial.en.mdx create mode 100644 pages/risks/adversarial.es.mdx create mode 100644 pages/risks/adversarial.fi.mdx create mode 100644 pages/risks/adversarial.fr.mdx create mode 100644 pages/risks/adversarial.it.mdx create mode 100644 pages/risks/adversarial.jp.mdx create mode 100644 pages/risks/adversarial.kr.mdx create mode 100644 pages/risks/adversarial.pt.mdx create mode 100644 pages/risks/adversarial.ru.mdx create mode 100644 pages/risks/adversarial.tr.mdx create mode 100644 pages/risks/adversarial.zh.mdx create mode 100644 pages/risks/biases.ca.mdx create mode 100644 pages/risks/biases.de.mdx create mode 100644 pages/risks/biases.en.mdx create mode 100644 pages/risks/biases.es.mdx create mode 100644 pages/risks/biases.fi.mdx create mode 100644 pages/risks/biases.fr.mdx create mode 100644 pages/risks/biases.it.mdx create mode 100644 pages/risks/biases.jp.mdx create mode 100644 pages/risks/biases.kr.mdx create mode 100644 pages/risks/biases.pt.mdx create mode 100644 pages/risks/biases.ru.mdx create mode 100644 pages/risks/biases.tr.mdx create mode 100644 pages/risks/biases.zh.mdx create mode 100644 pages/risks/factuality.ca.mdx create mode 100644 pages/risks/factuality.de.mdx create mode 100644 pages/risks/factuality.en.mdx create mode 100644 pages/risks/factuality.es.mdx create mode 100644 pages/risks/factuality.fi.mdx create mode 100644 pages/risks/factuality.fr.mdx create mode 100644 pages/risks/factuality.it.mdx create mode 100644 pages/risks/factuality.jp.mdx create mode 100644 pages/risks/factuality.kr.mdx create mode 100644 pages/risks/factuality.pt.mdx create mode 100644 pages/risks/factuality.ru.mdx create mode 100644 pages/risks/factuality.tr.mdx create mode 100644 pages/risks/factuality.zh.mdx create mode 100644 pages/services.ca.mdx create mode 100644 pages/services.de.mdx create mode 100644 pages/services.en.mdx create mode 100644 pages/services.es.mdx create mode 100644 pages/services.fi.mdx create mode 100644 pages/services.fr.mdx create mode 100644 pages/services.it.mdx create mode 100644 pages/services.jp.mdx create mode 100644 pages/services.kr.mdx create mode 100644 pages/services.pt.mdx create mode 100644 pages/services.ru.mdx create mode 100644 pages/services.tr.mdx create mode 100644 pages/services.zh.mdx create mode 100644 pages/style.css create mode 100644 pages/techniques.ca.mdx create mode 100644 pages/techniques.de.mdx create mode 100644 pages/techniques.en.mdx create mode 100644 pages/techniques.es.mdx create mode 100644 pages/techniques.fi.mdx create mode 100644 pages/techniques.fr.mdx create mode 100644 pages/techniques.it.mdx create mode 100644 pages/techniques.jp.mdx create mode 100644 pages/techniques.kr.mdx create mode 100644 pages/techniques.pt.mdx create mode 100644 pages/techniques.ru.mdx create mode 100644 pages/techniques.tr.mdx create mode 100644 pages/techniques.zh.mdx create mode 100644 pages/techniques/_meta.ca.json create mode 100644 pages/techniques/_meta.de.json create mode 100644 pages/techniques/_meta.en.json create mode 100644 pages/techniques/_meta.es.json create mode 100644 pages/techniques/_meta.fi.json create mode 100644 pages/techniques/_meta.fr.json create mode 100644 pages/techniques/_meta.it.json create mode 100644 pages/techniques/_meta.jp.json create mode 100644 pages/techniques/_meta.kr.json create mode 100644 pages/techniques/_meta.pt.json create mode 100644 pages/techniques/_meta.ru.json create mode 100644 pages/techniques/_meta.tr.json create mode 100644 pages/techniques/_meta.zh.json create mode 100644 pages/techniques/activeprompt.ca.mdx create mode 100644 pages/techniques/activeprompt.de.mdx create mode 100644 pages/techniques/activeprompt.en.mdx create mode 100644 pages/techniques/activeprompt.es.mdx create mode 100644 pages/techniques/activeprompt.fi.mdx create mode 100644 pages/techniques/activeprompt.fr.mdx create mode 100644 pages/techniques/activeprompt.it.mdx create mode 100644 pages/techniques/activeprompt.jp.mdx create mode 100644 pages/techniques/activeprompt.kr.mdx create mode 100644 pages/techniques/activeprompt.pt.mdx create mode 100644 pages/techniques/activeprompt.ru.mdx create mode 100644 pages/techniques/activeprompt.tr.mdx create mode 100644 pages/techniques/activeprompt.zh.mdx create mode 100644 pages/techniques/ape.ca.mdx create mode 100644 pages/techniques/ape.de.mdx create mode 100644 pages/techniques/ape.en.mdx create mode 100644 pages/techniques/ape.es.mdx create mode 100644 pages/techniques/ape.fi.mdx create mode 100644 pages/techniques/ape.fr.mdx create mode 100644 pages/techniques/ape.it.mdx create mode 100644 pages/techniques/ape.jp.mdx create mode 100644 pages/techniques/ape.kr.mdx create mode 100644 pages/techniques/ape.pt.mdx create mode 100644 pages/techniques/ape.ru.mdx create mode 100644 pages/techniques/ape.tr.mdx create mode 100644 pages/techniques/ape.zh.mdx create mode 100644 pages/techniques/art.ca.mdx create mode 100644 pages/techniques/art.de.mdx create mode 100644 pages/techniques/art.en.mdx create mode 100644 pages/techniques/art.es.mdx create mode 100644 pages/techniques/art.fi.mdx create mode 100644 pages/techniques/art.fr.mdx create mode 100644 pages/techniques/art.it.mdx create mode 100644 pages/techniques/art.jp.mdx create mode 100644 pages/techniques/art.kr.mdx create mode 100644 pages/techniques/art.pt.mdx create mode 100644 pages/techniques/art.ru.mdx create mode 100644 pages/techniques/art.tr.mdx create mode 100644 pages/techniques/art.zh.mdx create mode 100644 pages/techniques/consistency.ca.mdx create mode 100644 pages/techniques/consistency.de.mdx create mode 100644 pages/techniques/consistency.en.mdx create mode 100644 pages/techniques/consistency.es.mdx create mode 100644 pages/techniques/consistency.fi.mdx create mode 100644 pages/techniques/consistency.fr.mdx create mode 100644 pages/techniques/consistency.it.mdx create mode 100644 pages/techniques/consistency.jp.mdx create mode 100644 pages/techniques/consistency.kr.mdx create mode 100644 pages/techniques/consistency.pt.mdx create mode 100644 pages/techniques/consistency.ru.mdx create mode 100644 pages/techniques/consistency.tr.mdx create mode 100644 pages/techniques/consistency.zh.mdx create mode 100644 pages/techniques/cot.ca.mdx create mode 100644 pages/techniques/cot.de.mdx create mode 100644 pages/techniques/cot.en.mdx create mode 100644 pages/techniques/cot.es.mdx create mode 100644 pages/techniques/cot.fi.mdx create mode 100644 pages/techniques/cot.fr.mdx create mode 100644 pages/techniques/cot.it.mdx create mode 100644 pages/techniques/cot.jp.mdx create mode 100644 pages/techniques/cot.kr.mdx create mode 100644 pages/techniques/cot.pt.mdx create mode 100644 pages/techniques/cot.ru.mdx create mode 100644 pages/techniques/cot.tr.mdx create mode 100644 pages/techniques/cot.zh.mdx create mode 100644 pages/techniques/dsp.ca.mdx create mode 100644 pages/techniques/dsp.de.mdx create mode 100644 pages/techniques/dsp.en.mdx create mode 100644 pages/techniques/dsp.es.mdx create mode 100644 pages/techniques/dsp.fi.mdx create mode 100644 pages/techniques/dsp.fr.mdx create mode 100644 pages/techniques/dsp.it.mdx create mode 100644 pages/techniques/dsp.jp.mdx create mode 100644 pages/techniques/dsp.kr.mdx create mode 100644 pages/techniques/dsp.pt.mdx create mode 100644 pages/techniques/dsp.ru.mdx create mode 100644 pages/techniques/dsp.tr.mdx create mode 100644 pages/techniques/dsp.zh.mdx create mode 100644 pages/techniques/fewshot.ca.mdx create mode 100644 pages/techniques/fewshot.de.mdx create mode 100644 pages/techniques/fewshot.en.mdx create mode 100644 pages/techniques/fewshot.es.mdx create mode 100644 pages/techniques/fewshot.fi.mdx create mode 100644 pages/techniques/fewshot.fr.mdx create mode 100644 pages/techniques/fewshot.it.mdx create mode 100644 pages/techniques/fewshot.jp.mdx create mode 100644 pages/techniques/fewshot.kr.mdx create mode 100644 pages/techniques/fewshot.pt.mdx create mode 100644 pages/techniques/fewshot.ru.mdx create mode 100644 pages/techniques/fewshot.tr.mdx create mode 100644 pages/techniques/fewshot.zh.mdx create mode 100644 pages/techniques/graph.ca.mdx create mode 100644 pages/techniques/graph.de.mdx create mode 100644 pages/techniques/graph.en.mdx create mode 100644 pages/techniques/graph.es.mdx create mode 100644 pages/techniques/graph.fi.mdx create mode 100644 pages/techniques/graph.fr.mdx create mode 100644 pages/techniques/graph.it.mdx create mode 100644 pages/techniques/graph.jp.mdx create mode 100644 pages/techniques/graph.kr.mdx create mode 100644 pages/techniques/graph.pt.mdx create mode 100644 pages/techniques/graph.ru.mdx create mode 100644 pages/techniques/graph.tr.mdx create mode 100644 pages/techniques/graph.zh.mdx create mode 100644 pages/techniques/knowledge.ca.mdx create mode 100644 pages/techniques/knowledge.de.mdx create mode 100644 pages/techniques/knowledge.en.mdx create mode 100644 pages/techniques/knowledge.es.mdx create mode 100644 pages/techniques/knowledge.fi.mdx create mode 100644 pages/techniques/knowledge.fr.mdx create mode 100644 pages/techniques/knowledge.it.mdx create mode 100644 pages/techniques/knowledge.jp.mdx create mode 100644 pages/techniques/knowledge.kr.mdx create mode 100644 pages/techniques/knowledge.pt.mdx create mode 100644 pages/techniques/knowledge.ru.mdx create mode 100644 pages/techniques/knowledge.tr.mdx create mode 100644 pages/techniques/knowledge.zh.mdx create mode 100644 pages/techniques/meta-prompting.en.mdx create mode 100644 pages/techniques/multimodalcot.ca.mdx create mode 100644 pages/techniques/multimodalcot.de.mdx create mode 100644 pages/techniques/multimodalcot.en.mdx create mode 100644 pages/techniques/multimodalcot.es.mdx create mode 100644 pages/techniques/multimodalcot.fi.mdx create mode 100644 pages/techniques/multimodalcot.fr.mdx create mode 100644 pages/techniques/multimodalcot.it.mdx create mode 100644 pages/techniques/multimodalcot.jp.mdx create mode 100644 pages/techniques/multimodalcot.kr.mdx create mode 100644 pages/techniques/multimodalcot.pt.mdx create mode 100644 pages/techniques/multimodalcot.ru.mdx create mode 100644 pages/techniques/multimodalcot.tr.mdx create mode 100644 pages/techniques/multimodalcot.zh.mdx create mode 100644 pages/techniques/pal.ca.mdx create mode 100644 pages/techniques/pal.de.mdx create mode 100644 pages/techniques/pal.en.mdx create mode 100644 pages/techniques/pal.es.mdx create mode 100644 pages/techniques/pal.fi.mdx create mode 100644 pages/techniques/pal.fr.mdx create mode 100644 pages/techniques/pal.it.mdx create mode 100644 pages/techniques/pal.jp.mdx create mode 100644 pages/techniques/pal.kr.mdx create mode 100644 pages/techniques/pal.pt.mdx create mode 100644 pages/techniques/pal.ru.mdx create mode 100644 pages/techniques/pal.tr.mdx create mode 100644 pages/techniques/pal.zh.mdx create mode 100644 pages/techniques/prompt_chaining.ca.mdx create mode 100644 pages/techniques/prompt_chaining.de.mdx create mode 100644 pages/techniques/prompt_chaining.en.mdx create mode 100644 pages/techniques/prompt_chaining.es.mdx create mode 100644 pages/techniques/prompt_chaining.fi.mdx create mode 100644 pages/techniques/prompt_chaining.fr.mdx create mode 100644 pages/techniques/prompt_chaining.it.mdx create mode 100644 pages/techniques/prompt_chaining.jp.mdx create mode 100644 pages/techniques/prompt_chaining.kr.mdx create mode 100644 pages/techniques/prompt_chaining.pt.mdx create mode 100644 pages/techniques/prompt_chaining.ru.mdx create mode 100644 pages/techniques/prompt_chaining.tr.mdx create mode 100644 pages/techniques/prompt_chaining.zh.mdx create mode 100644 pages/techniques/rag.ca.mdx create mode 100644 pages/techniques/rag.de.mdx create mode 100644 pages/techniques/rag.en.mdx create mode 100644 pages/techniques/rag.es.mdx create mode 100644 pages/techniques/rag.fi.mdx create mode 100644 pages/techniques/rag.fr.mdx create mode 100644 pages/techniques/rag.it.mdx create mode 100644 pages/techniques/rag.jp.mdx create mode 100644 pages/techniques/rag.kr.mdx create mode 100644 pages/techniques/rag.pt.mdx create mode 100644 pages/techniques/rag.ru.mdx create mode 100644 pages/techniques/rag.tr.mdx create mode 100644 pages/techniques/rag.zh.mdx create mode 100644 pages/techniques/react.ca.mdx create mode 100644 pages/techniques/react.de.mdx create mode 100644 pages/techniques/react.en.mdx create mode 100644 pages/techniques/react.es.mdx create mode 100644 pages/techniques/react.fi.mdx create mode 100644 pages/techniques/react.fr.mdx create mode 100644 pages/techniques/react.it.mdx create mode 100644 pages/techniques/react.jp.mdx create mode 100644 pages/techniques/react.kr.mdx create mode 100644 pages/techniques/react.pt.mdx create mode 100644 pages/techniques/react.ru.mdx create mode 100644 pages/techniques/react.tr.mdx create mode 100644 pages/techniques/react.zh.mdx create mode 100644 pages/techniques/reflexion.ca.mdx create mode 100644 pages/techniques/reflexion.de.mdx create mode 100644 pages/techniques/reflexion.en.mdx create mode 100644 pages/techniques/reflexion.es.mdx create mode 100644 pages/techniques/reflexion.fi.mdx create mode 100644 pages/techniques/reflexion.fr.mdx create mode 100644 pages/techniques/reflexion.it.mdx create mode 100644 pages/techniques/reflexion.jp.mdx create mode 100644 pages/techniques/reflexion.kr.mdx create mode 100644 pages/techniques/reflexion.pt.mdx create mode 100644 pages/techniques/reflexion.ru.mdx create mode 100644 pages/techniques/reflexion.tr.mdx create mode 100644 pages/techniques/reflexion.zh.mdx create mode 100644 pages/techniques/tot.ca.mdx create mode 100644 pages/techniques/tot.de.mdx create mode 100644 pages/techniques/tot.en.mdx create mode 100644 pages/techniques/tot.es.mdx create mode 100644 pages/techniques/tot.fi.mdx create mode 100644 pages/techniques/tot.fr.mdx create mode 100644 pages/techniques/tot.it.mdx create mode 100644 pages/techniques/tot.jp.mdx create mode 100644 pages/techniques/tot.kr.mdx create mode 100644 pages/techniques/tot.pt.mdx create mode 100644 pages/techniques/tot.ru.mdx create mode 100644 pages/techniques/tot.tr.mdx create mode 100644 pages/techniques/tot.zh.mdx create mode 100644 pages/techniques/zeroshot.ca.mdx create mode 100644 pages/techniques/zeroshot.de.mdx create mode 100644 pages/techniques/zeroshot.en.mdx create mode 100644 pages/techniques/zeroshot.es.mdx create mode 100644 pages/techniques/zeroshot.fi.mdx create mode 100644 pages/techniques/zeroshot.fr.mdx create mode 100644 pages/techniques/zeroshot.it.mdx create mode 100644 pages/techniques/zeroshot.jp.mdx create mode 100644 pages/techniques/zeroshot.kr.mdx create mode 100644 pages/techniques/zeroshot.pt.mdx create mode 100644 pages/techniques/zeroshot.ru.mdx create mode 100644 pages/techniques/zeroshot.tr.mdx create mode 100644 pages/techniques/zeroshot.zh.mdx create mode 100644 pages/tools.ca.mdx create mode 100644 pages/tools.de.mdx create mode 100644 pages/tools.en.mdx create mode 100644 pages/tools.es.mdx create mode 100644 pages/tools.fi.mdx create mode 100644 pages/tools.fr.mdx create mode 100644 pages/tools.it.mdx create mode 100644 pages/tools.jp.mdx create mode 100644 pages/tools.kr.mdx create mode 100644 pages/tools.pt.mdx create mode 100644 pages/tools.ru.mdx create mode 100644 pages/tools.tr.mdx create mode 100644 pages/tools.zh.mdx create mode 100644 pnpm-lock.yaml create mode 100644 public/144-favicon-dark.svg create mode 100644 public/144-favicon.svg create mode 100644 theme.config.tsx create mode 100644 tsconfig.json diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..ccdbe9d8c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: omarsar # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..f72ed3726 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +.ipynb_checkpoints/ +__pycache__/ +*.swp +.env +.pylintrc +*.egg-info/ +notebooks/.ipynb_checkpoints/ +notebooks/__pycache__/ +notebooks/state_of_the_union.txt +notebooks/chroma_logs.log +notebooks/.chroma/ +notebooks/local_notebooks/ +notebooks/.env +pages/research/local_research/ +.DS_Store +.vscode + +# app +.next +node_modules \ No newline at end of file diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 000000000..770decfe2 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,17 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +authors: +- family-names: "Saravia" + given-names: "Elvis" +title: "Prompt Engineering Guide" +date-released: 2022-12-16 +url: "https://github.com/dair-ai/Prompt-Engineering-Guide" +preferred-citation: + type: article + authors: + - family-names: "Saravia" + given-names: "Elvis" + month: 12 + journal: "https://github.com/dair-ai/Prompt-Engineering-Guide" + title: "Prompt Engineering Guide" + year: 2022 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..be15de7dd --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 DAIR.AI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 000000000..7319a0126 --- /dev/null +++ b/README.md @@ -0,0 +1,154 @@ +# Prompt Engineering Guide + +Prompt engineering is a relatively new discipline for developing and optimizing prompts to efficiently use language models (LMs) for a wide variety of applications and research topics. Prompt engineering skills help to better understand the capabilities and limitations of large language models (LLMs). Researchers use prompt engineering to improve the capacity of LLMs on a wide range of common and complex tasks such as question answering and arithmetic reasoning. Developers use prompt engineering to design robust and effective prompting techniques that interface with LLMs and other tools. + +Motivated by the high interest in developing with LLMs, we have created this new prompt engineering guide that contains all the latest papers, learning guides, lectures, references, and tools related to prompt engineering for LLMs. + +🌐 [Prompt Engineering Guide (Web Version)](https://www.promptingguide.ai/) + +📺 [YouTube Mini Lectures on Prompting Engineering](https://www.youtube.com/playlist?list=PLGSHbNsNO4Vha1jB0wMtuYYEVO4laSo0m) + +🎉 We are excited to launch our brand new [course website](https://dair-ai.thinkific.com/pages/courses) and releasing our first course on Introduction to Prompt Engineering. [Join Now](https://dair-ai.thinkific.com/bundles/pro)! + +Happy Prompting! + +--- +## Announcements / Updates + +- 🎓 New course on Prompt Engineering for LLMs announced! [Enroll here](https://maven.com/dair-ai/prompt-engineering-llms)! +- 💼 We now offer several [services](https://www.promptingguide.ai/services) like corporate training, consulting, and talks. +- 🌐 We now support 13 languages! Welcoming more translations. +- 👩‍🎓 We crossed 3 million learners in January 2024! +- 🎉 We have launched a new web version of the guide [here](https://www.promptingguide.ai/) +- 🔥 We reached #1 on Hacker News on 21 Feb 2023 +- 🎉 The First Prompt Engineering Lecture went live [here](https://youtu.be/dOxUroR57xs) + +[Join our Discord](https://discord.com/invite/SKgkVT8BGJ) + +[Follow us on Twitter](https://twitter.com/dair_ai) + +[Subscribe to our YouTube](https://www.youtube.com/channel/UCyna_OxOWL7IEuOwb7WhmxQ) + +[Subscribe to our Newsletter](https://nlpnews.substack.com/) + +--- + +## Guides +You can also find the most up-to-date guides on our new website [https://www.promptingguide.ai/](https://www.promptingguide.ai/). + +- [Prompt Engineering - Introduction](https://www.promptingguide.ai/introduction) + - [Prompt Engineering - LLM Settings](https://www.promptingguide.ai/introduction/settings) + - [Prompt Engineering - Basics of Prompting](https://www.promptingguide.ai/introduction/basics) + - [Prompt Engineering - Prompt Elements](https://www.promptingguide.ai/introduction/elements) + - [Prompt Engineering - General Tips for Designing Prompts](https://www.promptingguide.ai/introduction/tips) + - [Prompt Engineering - Examples of Prompts](https://www.promptingguide.ai/introduction/examples) +- [Prompt Engineering - Techniques](https://www.promptingguide.ai/techniques) + - [Prompt Engineering - Zero-Shot Prompting](https://www.promptingguide.ai/techniques/zeroshot) + - [Prompt Engineering - Few-Shot Prompting](https://www.promptingguide.ai/techniques/fewshot) + - [Prompt Engineering - Chain-of-Thought Prompting](https://www.promptingguide.ai/techniques/cot) + - [Prompt Engineering - Self-Consistency](https://www.promptingguide.ai/techniques/consistency) + - [Prompt Engineering - Generate Knowledge Prompting](https://www.promptingguide.ai/techniques/knowledge) + - [Prompt Engineering - Prompt Chaining](https://www.promptingguide.ai/techniques/prompt_chaining) + - [Prompt Engineering - Tree of Thoughts (ToT)](https://www.promptingguide.ai/techniques/tot) + - [Prompt Engineering - Retrieval Augmented Generation](https://www.promptingguide.ai/techniques/rag) + - [Prompt Engineering - Automatic Reasoning and Tool-use (ART)](https://www.promptingguide.ai/techniques/art) + - [Prompt Engineering - Automatic Prompt Engineer](https://www.promptingguide.ai/techniques/ape) + - [Prompt Engineering - Active-Prompt](https://www.promptingguide.ai/techniques/activeprompt) + - [Prompt Engineering - Directional Stimulus Prompting](https://www.promptingguide.ai/techniques/dsp) + - [Prompt Engineering - Program-Aided Language Models](https://www.promptingguide.ai/techniques/pal) + - [Prompt Engineering - ReAct Prompting](https://www.promptingguide.ai/techniques/react) + - [Prompt Engineering - Multimodal CoT Prompting](https://www.promptingguide.ai/techniques/multimodalcot) + - [Prompt Engineering - Graph Prompting](https://www.promptingguide.ai/techniques/graph) +- [Prompt Engineering - Applications](https://www.promptingguide.ai/applications) + - [Prompt Engineering - Function Calling](https://www.promptingguide.ai/applications/function_calling) + - [Prompt Engineering - Generating Data](https://www.promptingguide.ai/applications/generating) + - [Prompt Engineering - Generating Synthetic Dataset for RAG](https://www.promptingguide.ai/applications/synthetic_rag) + - [Prompt Engineering - Takling Generated Datasets Diversity](https://www.promptingguide.ai/applications/generating_textbooks) + - [Prompt Engineering - Generating Code](https://www.promptingguide.ai/applications/coding) + - [Prompt Engineering - Graduate Job Classification Case Study](https://www.promptingguide.ai/applications/workplace_casestudy) +- [Prompt Engineering - Prompt Hub](https://www.promptingguide.ai/prompts) + - [Prompt Engineering - Classification](https://www.promptingguide.ai/prompts/classification) + - [Prompt Engineering - Coding](https://www.promptingguide.ai/prompts/coding) + - [Prompt Engineering - Creativity](https://www.promptingguide.ai/prompts/creativity) + - [Prompt Engineering - Evaluation](https://www.promptingguide.ai/prompts/evaluation) + - [Prompt Engineering - Information Extraction](https://www.promptingguide.ai/prompts/information-extraction) + - [Prompt Engineering - Image Generation](https://www.promptingguide.ai/prompts/image-generation) + - [Prompt Engineering - Mathematics](https://www.promptingguide.ai/prompts/mathematics) + - [Prompt Engineering - Question Answering](https://www.promptingguide.ai/prompts/question-answering) + - [Prompt Engineering - Reasoning](https://www.promptingguide.ai/prompts/reasoning) + - [Prompt Engineering - Text Summarization](https://www.promptingguide.ai/prompts/text-summarization) + - [Prompt Engineering - Truthfulness](https://www.promptingguide.ai/prompts/truthfulness) + - [Prompt Engineering - Adversarial Prompting](https://www.promptingguide.ai/prompts/adversarial-prompting) +- [Prompt Engineering - Models](https://www.promptingguide.ai/models) + - [Prompt Engineering - ChatGPT](https://www.promptingguide.ai/models/chatgpt) + - [Prompt Engineering - Code Llama](https://www.promptingguide.ai/models/code-llama) + - [Prompt Engineering - Flan](https://www.promptingguide.ai/models/flan) + - [Prompt Engineering - Gemini](https://www.promptingguide.ai/models/gemini) + - [Prompt Engineering - GPT-4](https://www.promptingguide.ai/models/gpt-4) + - [Prompt Engineering - LLaMA](https://www.promptingguide.ai/models/llama) + - [Prompt Engineering - Mistral 7B](https://www.promptingguide.ai/models/mistral-7b) + - [Prompt Engineering - Mixtral](https://www.promptingguide.ai/models/mixtral) + - [Prompt Engineering - OLMo](https://www.promptingguide.ai/models/olmo) + - [Prompt Engineering - Phi-2](https://www.promptingguide.ai/models/phi-2) + - [Prompt Engineering - Model Collection](https://www.promptingguide.ai/models/collection) +- [Prompt Engineering - Risks and Misuses](https://www.promptingguide.ai/risks) + - [Prompt Engineering - Adversarial Prompting](https://www.promptingguide.ai/risks/adversarial) + - [Prompt Engineering - Factuality](https://www.promptingguide.ai/risks/factuality) + - [Prompt Engineering - Biases](https://www.promptingguide.ai/risks/biases) +- [Prompt Engineering - Papers](https://www.promptingguide.ai/papers) + - [Prompt Engineering - Overviews](https://www.promptingguide.ai/papers#overviews) + - [Prompt Engineering - Approaches](https://www.promptingguide.ai/papers#approaches) + - [Prompt Engineering - Applications](https://www.promptingguide.ai/papers#applications) + - [Prompt Engineering - Collections](https://www.promptingguide.ai/papers#collections) +- [Prompt Engineering - Tools](https://www.promptingguide.ai/tools) +- [Prompt Engineering - Notebooks](https://www.promptingguide.ai/notebooks) +- [Prompt Engineering - Datasets](https://www.promptingguide.ai/datasets) +- [Prompt Engineering - Additional Readings](https://www.promptingguide.ai/readings) + + +--- +## Lecture + +We have published a 1 hour lecture that provides a comprehensive overview of prompting techniques, applications, and tools. +- [Video Lecture](https://youtu.be/dOxUroR57xs) +- [Notebook with code](https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/notebooks/pe-lecture.ipynb) +- [Slides](https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/lecture/Prompt-Engineering-Lecture-Elvis.pdf) + +--- +## Running the guide locally + +To run the guide locally, for example to check the correct implementation of a new translation, you will need to: + +1. Install Node >=18.0.0 +1. Install `pnpm` if not present in your system. Check [here](https://pnpm.io/installation) for detailed instructions. +1. Install the dependencies: `pnpm i next react react-dom nextra nextra-theme-docs` +1. Boot the guide with `pnpm dev` +2. Browse the guide at `http://localhost:3000/` + +--- +## Appearances +Some places where we have been featured: +- Wall Street Journal - [ChatGPT Can Give Great Answers. But Only If You Know How to Ask the Right Question](https://www.wsj.com/articles/chatgpt-ask-the-right-question-12d0f035) +- Forbes - [Mom, Dad, I Want To Be A Prompt Engineer](https://www.forbes.com/sites/craigsmith/2023/04/05/mom-dad-i-want-to-be-a-prompt-engineer/?sh=7f1213159c8e) +- Markettechpost - [Best Free Prompt Engineering Resources (2023)](https://www.marktechpost.com/2023/04/04/best-free-prompt-engineering-resources-2023/) + + +--- +If you are using the guide for your work or research, please cite us as follows: + +``` +@article{Saravia_Prompt_Engineering_Guide_2022, +author = {Saravia, Elvis}, +journal = {https://github.com/dair-ai/Prompt-Engineering-Guide}, +month = {12}, +title = {{Prompt Engineering Guide}}, +year = {2022} +} +``` + +## License + +[MIT License](https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/LICENSE.md) + + +Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions. Just open an issue! diff --git a/ar-pages/about.ar.mdx b/ar-pages/about.ar.mdx new file mode 100644 index 000000000..f601c169f --- /dev/null +++ b/ar-pages/about.ar.mdx @@ -0,0 +1,11 @@ +# About + +The Prompt Engineering Guide is a project by [DAIR.AI](https://github.com/dair-ai). It aims to educate researchers and practitioners about prompt engineering. + +DAIR.AI aims to democratize AI research, education, and technologies. Our mission is to enable the next-generation of AI innovators and creators. + +We welcome contributions from the community. Lookout for the Edit buttons. + +License information [here](https://github.com/dair-ai/Prompt-Engineering-Guide#license). + +We borrow inspirations from many open resources like [OpenAI CookBook](https://github.com/openai/openai-cookbook), [Pretrain, Prompt, Predict](http://pretrain.nlpedia.ai/), [Learn Prompting](https://learnprompting.org/), and many others. \ No newline at end of file diff --git a/ar-pages/applications.ar.mdx b/ar-pages/applications.ar.mdx new file mode 100644 index 000000000..6ba5d5e07 --- /dev/null +++ b/ar-pages/applications.ar.mdx @@ -0,0 +1,10 @@ +# LLM Applications + +import { Callout } from 'nextra-theme-docs' +import {Cards, Card} from 'nextra-theme-docs' +import {FilesIcon} from 'components/icons' +import ContentFileNames from 'components/ContentFileNames' + +In this section, we will cover advanced and interesting ways we can use prompt engineering to perform useful and more advanced tasks with large language models (LLMs). + + \ No newline at end of file diff --git a/ar-pages/applications/_meta.ar.json b/ar-pages/applications/_meta.ar.json new file mode 100644 index 000000000..3a47c68af --- /dev/null +++ b/ar-pages/applications/_meta.ar.json @@ -0,0 +1,9 @@ +{ + "function_calling": "استدعاء الدوال", + "generating": "توليد البيانات", + "synthetic_rag": "توليد مجموعة بيانات لـ RAG", + "generating_textbooks": "معالجة تنوع مجموعات البيانات المولدة", + "coding": "توليد الأكواد", + "workplace_casestudy": "دراسة حالة: تصنيف الوظائف للخريجين الجدد", + "pf": "أمر على صيغة دالّة برمجية" +} diff --git a/ar-pages/applications/coding.ar.mdx b/ar-pages/applications/coding.ar.mdx new file mode 100644 index 000000000..563ba6a93 --- /dev/null +++ b/ar-pages/applications/coding.ar.mdx @@ -0,0 +1,196 @@ +# Generating Code + +import { Callout, FileTree } from 'nextra-theme-docs' +import {Screenshot} from 'components/screenshot' +import CODE1 from '../../img/code-generation/chat-mode.png' + + + This section is under development. + + +LLMs like ChatGPT are very effective at code generation. In this section, we will cover many examples of how to use ChatGPT for code generation. + +The OpenAI's Playground (Chat Mode) and the `gpt-3.5-turbo` model are used for all examples below. + +As with all chat models from OpenAI, you can use a `System Message` to define the behavior and format of the responses. We will use the following System Message for the prompt examples: + +``` +You are a helpful code assistant that can teach a junior developer how to code. Your language of choice is Python. Don't explain the code, just generate the code block itself. +``` + +## Basic Example + +The `User Message` will then be the prompt itself with the instruction of the specific code you want the model to generate. Below is a snapshot of the first basic prompt for code generation. Note that the final code was generated by the `Assistant`. + + + +Here is the prompt if you want to try it yourself: + +``` +Write code that asks the user for their name and say "Hello" +``` + +## Turn Comments Into Code + +You can also use the code generation capabilities of these LLMs to generate code from comments alone. Let's look at another example that passes the instructions as a comment block: + +*Prompt:* +``` +""" +1. Create a list of movies +2. Create a list of ratings for these movies +3. Combine them to make a json object of 10 movies with their ratings. +""" +``` + +*Output:* +```python +movies = ["The Shawshank Redemption", "The Godfather", "The Dark Knight", "Schindler's List", "Pulp Fiction", "The Lord of the Rings: The Return of the King", "Forrest Gump", "Star Wars: Episode V - The Empire Strikes Back", "Inception", "The Silence of the Lambs"] + +ratings = [9.3, 9.2, 9.0, 8.9, 8.9, 8.9, 8.8, 8.7, 8.7, 8.6] + +movie_ratings = {} + +for i in range(len(movies)): + movie_ratings[movies[i]] = ratings[i] + +json_object = json.dumps(movie_ratings, indent=4) + +print(json_object) +``` + +The generated code looks like working code. However, the output doesn't contain an important `import` statement, i.e., `import json`. While these models generate working code, you must pay close attention to small details like this and always make sure to test your code. + +## Complete Functions or Next Line + +These LLMs have also been incorporated into tools like GitHub Copilot which makes them useful for developers. One useful feature is the ability of the model to complete functions. + +*Prompt:* +```python +# function to multiply two numbers and add 75 to it + +def multiply( +``` + +*Output:* +```python +a, b): + result = a * b + result += 75 + return result +``` + +## MySQL Query Generation + +Besides the basic code generation example above, you can use the model to generate useful code that could be used in other aspects of programming like creating and testing MySQL queries. + +Let's say you have a dataset with some information which you can include as part of the prompt and then instruct it to generate a specific query. For example: + +``` +""" +Table departments, columns = [DepartmentId, DepartmentName] +Table students, columns = [DepartmentId, StudentId, StudentName] +Create a MySQL query for all students in the Computer Science department +""" +``` + +*Output:* +```mysql +SELECT students.StudentId, students.StudentName +FROM students +INNER JOIN departments +ON students.DepartmentId = departments.DepartmentId +WHERE departments.DepartmentName = 'Computer Science'; +``` + +The model generates a query! However, in this example we made up the database so we don't have a database to test the generated query. If you are testing this example, it could be useful to have this database created. Fortunately, you can use ChatGPT to generate this for you as well. One approach is using a modified version of the prompt above with slightly different instructions to generate a database schema: + +```mysql +Table departments, columns = [DepartmentId, DepartmentName] +Table students, columns = [DepartmentId, StudentId, StudentName] +Create a valid database schema with the above tables and columns +``` + +The model generated the following schema: + +```mysql +CREATE TABLE departments ( + DepartmentId INT PRIMARY KEY, + DepartmentName VARCHAR(50) +); + +CREATE TABLE students ( + DepartmentId INT, + StudentId INT PRIMARY KEY, + StudentName VARCHAR(50), + FOREIGN KEY (DepartmentId) REFERENCES departments(DepartmentId) +); +``` + +You can create a temporary database using something like [sqliteonline.com](https://sqliteonline.com/). + +You will also need dummy data to test if the original generated query was valid. Let's use ChatGPT for this too! The prompt could look something like the following: + +```mysql +CREATE TABLE departments ( + DepartmentId INT PRIMARY KEY, + DepartmentName VARCHAR(50) +); + +CREATE TABLE students ( + DepartmentId INT, + StudentId INT PRIMARY KEY, + StudentName VARCHAR(50), + FOREIGN KEY (DepartmentId) REFERENCES departments(DepartmentId) +); + +Given the database schema above, generate valid insert statements include 4 rows for each table. +``` + +The output with the insert statements: + +```mysql +INSERT INTO departments (DepartmentId, DepartmentName) +VALUES (1, 'Computer Science'), (2, 'Mathematics'), (3, 'Physics'), (4, 'Biology'); + +INSERT INTO students (DepartmentId, StudentId, StudentName) +VALUES (1, 101, 'John Doe'), (1, 102, 'Jane Doe'), (2, 201, 'Alice Smith'), (2, 202, 'Bob Johnson'); +``` + +Now that you have the database and the dummy data, you can test the original query. Based on the dummy data, the result should be two rows with `Jane Doe` and `John Doe`. + +## Explain Code +If you are learning to program in a certain language, it might be useful to prompt the model to explain certain bits of code. Let's reuse the query generated above and ask the model to explain it. + +If you are using the same System Message from before, be careful of how you are instructing the model. For example, if we use the following example, the model will complain that it is a code assistant in Python but it still provides an explanation. Sometimes the model refuses to generate what you are instructing because it's designed to follow the System Message. + +*Prompt:* + +```mysql +SELECT students.StudentId, students.StudentName +FROM students +INNER JOIN departments +ON students.DepartmentId = departments.DepartmentId +WHERE departments.DepartmentName = 'Computer Science'; + +Explain the above SQL statement. +``` + +*Output:* + +``` +Sorry, as a code assistant in Python, I cannot generate SQL code. However, I can explain the purpose of the SQL statement provided. + +This SQL statement selects the `StudentId` and `StudentName` columns from the `students` table, where the `DepartmentName` column in the `departments` table is equal to 'Computer Science'. To achieve this, the statement performs an inner join on the `DepartmentId` column between the `students` and `departments` tables. + +In simpler terms, it is selecting the names and IDs of students who are enrolled in the Computer Science department. +``` + +## Editing Code +Example coming soon! + +## Debugging Code +Example coming soon! + +## Best practices +Coming soon! diff --git a/ar-pages/applications/function_calling.ar.mdx b/ar-pages/applications/function_calling.ar.mdx new file mode 100644 index 000000000..dd4424816 --- /dev/null +++ b/ar-pages/applications/function_calling.ar.mdx @@ -0,0 +1,143 @@ +# Function Calling with LLMs + +import {Cards, Card} from 'nextra-theme-docs' +import {CodeIcon} from 'components/icons' + +## Getting Started with Function Calling + +Function calling is the ability to reliably connect LLMs to external tools to enable effective tool usage and interaction with external APIs. + +LLMs like GPT-4 and GPT-3.5 have been fine-tuned to detect when a function needs to be called and then output JSON containing arguments to call the function. The functions that are being called by function calling will act as tools in your AI application and you can define more than one in a single request. + +Function calling is an important ability for building LLM-powered chatbots or agents that need to retrieve context for an LLM or interact with external tools by converting natural language into API calls. + +Functional calling enables developers to create: + +- conversational agents that can efficiently use external tools to answer questions. For example, the query "What is the weather like in Belize?" will be converted to a function call such as `get_current_weather(location: string, unit: 'celsius' | 'fahrenheit')` +- LLM-powered solutions for extracting and tagging data (e.g., extracting people names from a Wikipedia article) +- applications that can help convert natural language to API calls or valid database queries +- conversational knowledge retrieval engines that interact with a knowledge base + +In this guide, we demonstrate how to prompt models like GPT-4 and open-source models to perform function calling for different use cases. + +## Function Calling with GPT-4 + +As a basic example, let's say we asked the model to check the weather in a given location. + +The LLM alone would not be able to respond to this request because it has been trained on a dataset with a cutoff point. The way to solve this is to combine the LLM with an external tool. You can leverage the function calling capabilities of the model to determine an external function to call along with its arguments and then have it return a final response. Below is a simple example of how you can achieve this using the OpenAI APIs. + +Let's say a user is asking the following question to the model: + +``` +What is the weather like in London? +``` + +To handle this request using function calling, the first step is to define a weather function or set of functions that you will be passing as part of the OpenAI API request: + +```python +tools = [ + { + "type": "function", + "function": { + "name": "get_current_weather", + "description": "Get the current weather in a given location", + "parameters": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The city and state, e.g. San Francisco, CA", + }, + "unit": { + "type": "string", + "enum": ["celsius", "fahrenheit"]}, + }, + "required": ["location"], + }, + }, + } +] +``` + +The `get_current_weather` function returns the current weather in a given location. When you pass this function definition as part of the request, it doesn't actually executes a function, it just returns a JSON object containing the arguments needed to call the function. Here are some code snippets of how to achieve this. + +You can define a completion function as follows: + +```python +def get_completion(messages, model="gpt-3.5-turbo-1106", temperature=0, max_tokens=300, tools=None): + response = openai.chat.completions.create( + model=model, + messages=messages, + temperature=temperature, + max_tokens=max_tokens, + tools=tools + ) + return response.choices[0].message +``` + +This is how you can compose the user question: + +```python +messages = [ + { + "role": "user", + "content": "What is the weather like in London?" + } +] +``` + +Finally, you can call the `get_completion` above and passing both the `messages` and `tools`: + +```python +response = get_completion(messages, tools=tools) +``` + +The `response` object contains the following: + +```python +ChatCompletionMessage(content=None, role='assistant', function_call=None, tool_calls=[ChatCompletionMessageToolCall(id='...', function=Function(arguments='{"location":"London","unit":"celsius"}', name='get_current_weather'), type='function')]) +``` + +In particular, the `arguments` object contains the important arguments extracted by the model and that will be needed to complete the request. + +You can then choose to call an external weather API for the actual weather. Once you have the weather information available you can pass it back to the model to summarize a final response given the original user question. + +## Notebooks + +Here is a notebook with a simple example that demonstrates how to use function calling with the OpenAI APIs: + + + } + title="Function Calling with OpenAI APIs" + href="https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/notebooks/pe-function-calling.ipynb" + /> + + +## Function Calling with Open-Source LLMs +More notes on function calling with open-source LLMs coming soon. + +## Function Calling Use Cases + +Below is a list of use cases that can benefit from the function calling capability of LLMs: + +- **Conversational Agents**: Function calling can be used to create complex conversational agents or chatbots that answer complex questions by calling external APIs or external knowledge base and providing more relevant and useful responses. + +- **Natural Language Understanding**: It can convert natural language into structured JSON data, extract structured data from text, and perform tasks like named entity recognition, sentiment analysis, and keyword extraction. + +- **Math Problem Solving**: Function calling can be used to define custom functions to solve complex mathematical problems that require multiple steps and different types of advanced calculations. + +- **API Integration**: It can be used to effectively integrate LLMs with external APIs to fetch data or perform actions based on the input. This could be helpful to build either a QA system or creative assistant. In general, function calling can convert natural language into valid API calls. + +- **Information Extraction**: Function calling be effectively used to extract specific information from a given input, such as retrieving relevant news stories or references from an article. + + +## References +- [Fireworks Raises the Quality Bar with Function Calling Model and API Release](https://blog.fireworks.ai/fireworks-raises-the-quality-bar-with-function-calling-model-and-api-release-e7f49d1e98e9) +- [Benchmarking Agent Tool Use and Function Calling](https://blog.langchain.dev/benchmarking-agent-tool-use/) +- [Function Calling](https://ai.google.dev/docs/function_calling) +- [Interacting with APIs](https://python.langchain.com/docs/use_cases/apis) +- [OpenAI's Function Calling](https://platform.openai.com/docs/guides/function-calling) +- [How to call functions with chat models](https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models) +- [Pushing ChatGPT's Structured Data Support To Its Limits](https://minimaxir.com/2023/12/chatgpt-structured-data/) +- [Math Problem Solving with Function Calling](https://github.com/svpino/openai-function-calling/blob/main/sample.ipynb) \ No newline at end of file diff --git a/ar-pages/applications/generating.ar.mdx b/ar-pages/applications/generating.ar.mdx new file mode 100644 index 000000000..28719cd8d --- /dev/null +++ b/ar-pages/applications/generating.ar.mdx @@ -0,0 +1,44 @@ +# Generating Data +LLMs have strong capabilities to generate coherent text. Using effective prompt strategies can steer the model to produce better, consistent, and more factual responses. LLMs can also be especially useful for generating data which is really useful to run all sorts of experiments and evaluations. For example, we can use it to generate quick samples for a sentiment classifier like so: + +*Prompt:* +``` +Produce 10 exemplars for sentiment analysis. Examples are categorized as either positive or negative. Produce 2 negative examples and 8 positive examples. Use this format for the examples: +Q: +A: +``` + +*Output:* +``` +Q: I just got the best news ever! +A: Positive + +Q: We just got a raise at work! +A: Positive + +Q: I'm so proud of what I accomplished today. +A: Positive + +Q: I'm having the best day ever! +A: Positive + +Q: I'm really looking forward to the weekend. +A: Positive + +Q: I just got the best present ever! +A: Positive + +Q: I'm so happy right now. +A: Positive + +Q: I'm so blessed to have such an amazing family. +A: Positive + +Q: The weather outside is so gloomy. +A: Negative + +Q: I just got some terrible news. +A: Negative +``` + +This is very useful. We actually use this example for a different test in another section of the guides. \ No newline at end of file diff --git a/ar-pages/applications/generating_textbooks.ar.mdx b/ar-pages/applications/generating_textbooks.ar.mdx new file mode 100644 index 000000000..78c0d3bf7 --- /dev/null +++ b/ar-pages/applications/generating_textbooks.ar.mdx @@ -0,0 +1,144 @@ +# Tackling Generated Datasets Diversity + +import {Screenshot} from 'components/screenshot' + +import IMG1 from '../../img/synthetic_diversity/textbooks_1.png' +import IMG2 from '../../img/synthetic_diversity/textbooks_2.png' + +In the previous [chapter](https://www.promptingguide.ai/applications/synthetic_rag), we discussed the potential of using LLM for synthetic dataset generation to further finetune a local Retriever model. This method is possible due to the availability of a large corpus of unlabeled documents. Each document is used to generate one or more synthetic queries and form a query-document pair. + +But what if Information Retrieval is not your task? Let's say you are working on a legal document classification problem but are not permitted to send any data to an external API. In this situation, you would need to train a local model. However, collecting data could become a significant obstacle, causing delays in product development. + +For simplicity, let’s suppose the goal is to generate children's stories. This task was the starting point for research by [Eldan et al. (2023)](https://arxiv.org/abs/2305.07759). Each story consists of 2-3 paragraphs that follow a straightforward plot and theme, while the entire dataset covers a child's vocabulary and factual knowledge. + +Language is not just a system of rules and symbols; it conveys and interprets meaning. The main challenge of using large language models to produce training data is ensuring dataset diversity. Even with high [generation temperature](https://www.promptingguide.ai/introduction/settings), models can produce repetitive datasets lacking the necessary diversity (even for a child's language). Coherence and relevance are other natural language generation challenges. + +To tackle the diversity issue, the authors prepared a vocabulary of around 1500 basic words, mirroring a typical child's vocabulary, divided into nouns, verbs, and adjectives. In each generation, one verb, one noun, and one adjective were randomly selected. The model then generates a story integrating these random words. + +This technique significantly broadened the dataset's diversity, ensuring stories cover a child's entire vocabulary and diverse concept combinations. Additionally, the authors integrated potential story features (like dialogue, plot twists, bad endings, or moral lessons). A random subset of these features was chosen for each story, and the model was prompted to include them. + +*Prompt:* +``` +Write a short story (3-5 paragraphs) which only uses very simple words that a 3 year old child would likely understand. The story should use the verb ”{random.choice(verbs_list)}”, the noun ”{random.choice(nouns_list)}” and the adjective ”{random.choice(adjectives_list)}”. The story should have the following features: {random.choice(features_list)}, {random.choice(features_list)}. Remember to only use simple words! +``` + +Let's assume the gaps were filled as follows: + +*Prompt:* +``` +Write a short story (3-5 paragraphs) which only uses very simple words that a 3 year old child would likely understand. The story should use the verb ”decorate”, the noun ”thunder” and the adjective ”ancient”. The story should have the following features: the story should contain at least one dialogue, the story has a bad ending. Remember to only use simple words! +``` + +*Output:* +``` +Once upon a time, in an ancient house, there lived a girl named Lily. She loved to decorate her room with pretty things. One day, she found a big box in the attic. She opened it and saw many shiny decorations. Lily was very happy and decided to use them in her room. As Lily was decorating her room, the sky outside became dark. There was a loud thunder sound, and Lily got scared. She ran to her mom and said, ”Mommy, the thunder is so loud!” Her mom hugged her and said, ”Don’t worry, it will pass soon.” But the thunder did not stop. It got louder and louder, and the ancient house started to shake. Suddenly, the roof fell down on the pretty decorations. Lily was sad because her room was not pretty anymore. The end. +``` + +Here we rely on the latest text generation models (GPT-3.5 and GPT-4), which can produce vast amounts of synthetic content, following the instructions. Since we formulate the prompt randomly each time, and the model adheres to it precisely, the stories turn out to be incredibly varied. The narrative will be entirely different even if one or two words remain the same. In essence, we apply this technique to inject randomness into the prompt, generating a diverse dataset. + +You get the idea: + +1. Identify which parameters/entities might vary between different samples in your synthetic dataset; +2. Generate or manually compile a collection of these entities to fill in the gaps; +3. Produce the dataset by randomly selecting entities for insertion. It's best to set the generation temperature higher than the default but below the maximum; +4. Train a local model on the generation results of ChatGPT/GPT-4. + +It is important to note that one of the entities used to seed your generation could be a class label. For example, in the sentiment classification task, you can directly mention "positive" or "negative" in the prompt to receive a generated text with the corresponding label. Then, a local classifier is trained on this data. + +# Iterative (Hierarchical) Synthetic Data Generation + +The format can be made more complex by using even more entities, some of which are generated beforehand by the LLM itself. For example, one could start with a request to generate a story summary and pen down one sentence that must appear in the story. Later, just use that generated intermediate data in the final request. + +*Prompt:* +``` +Summary: {a short summary generated by LLM, using the approach above} +Features: {copy the features from the initial prompt} +Sentence: {a sentence generated by LLM, which should be present in the story} +Words: {copy the words from the initial prompt} +Story: +``` + +Example of a filled-in prompt: + +*Prompt:* +``` +Summary: Lily and Timmy build a sandcastle together and learn to compromise, but it gets knocked over by a gust of wind. They find beauty in the broken sandcastle and play happily with a butterfly. +Features: Dialogue, Foreshadowing, Twist +Sentence: One day, she went to the park and saw a beautiful butterfly. +Words: disagree, network, beautiful +Story: +``` + +*Output:* +``` +Once upon a time, there was a little girl named Lily. She loved to play with her toys and her friends. One day, she went to the park and saw a beautiful butterfly. She tried to catch it, but it flew away. Lily’s friend, Timmy, came to play with her. They decided to build a sandcastle, but they disagreed on how to build it. Lily wanted to make it tall, while Timmy wanted to make it wide. They argued for a while, but finally agreed to make it both tall and wide. As they were building the sandcastle, they noticed a group of ants working together. They realized that the ants were building a network of tunnels. Suddenly, a gust of wind came and knocked over their sandcastle. They were sad, but then they saw the butterfly again. It landed on the remains of their sandcastle and they realized that it was still beautiful, even in its broken state. They smiled and played together happily. +``` + +Thus, it's possible to generate hundreds of thousands of very diverse examples to train the model on. Let's say you need to train a classifier that determines whether a text contains a dialogue or a plot twist. As the initial prompt contains labels, it's known which target value needs to be predicted for each generated sample. + +# Textbooks Are All You Need + +A crucial question arising from this approach is whether the synthesis of a dataset can truly provide benefits when training networks for real-world applications. Fortunately, the authors addressed this question by conducting their investigation and validating the efficacy of training smaller language models using synthetic data derived from State-of-the-Art LLMs. + +In their study, [Gunasekar et al. (2023)](https://arxiv.org/abs/2306.11644) emphasize the importance of high-quality training data in their model. They argue that language models would be more effective if they were trained on materials that resemble the characteristics of a well-regarded "textbook": clear, comprehensive, informative, and unbiased. + +These principles formed the basis for creating a semi-synthetic dataset to train LLM called Phi-1. The main evaluation task is to generate a Python function that follows a given text description or docstring. The model's quality is evaluated using the HumanEval benchmark ([Chen et al., 2021](https://arxiv.org/abs/2107.03374)). + +The authors highlight the importance of diversity in this approach for several reasons. It exposes the language model to a variety of coding expressions and problem-solving approaches, reduces the risk of overfitting or relying on specific patterns, and improves the model's ability to handle unfamiliar or innovative tasks. + +To address the code-writing challenge, the authors created textbook-like documents that focus on topics promoting reasoning and basic algorithmic skills. They achieved diversity by imposing restrictions on: + +- topics +- target audience + +Unfortunately, the authors did not provide specific information about the prompt template used to generate the synthetic data. However, they did demonstrate the resulting output. They chose to use ChatGPT (GPT-3.5) instead of GPT-4, and even this strategy yielded excellent results as they fine-tuned the model using synthetic data. + + + +Image Source: [Gunasekar et al. (2023)](https://arxiv.org/abs/2306.11644) + +It's essential to pay attention to the target audience constraint. Designating a target audience is an excellent way to enhance synthetic data diversity. A high school student, a CS undergraduate, and a PhD candidate certainly phrase their explanations and process information differently, making the generated data even more varied. Let's attempt to recreate the prompt. + + +*Prompt:* +``` +Write an extract from a Computer Science textbook for a 1st-year bachelor. The coding language is Python 3.6. + +This is an extract from the middle of the following topic: Singular matrices. + +The extract starts with a high-level overview of the topic. Then, it presents an example and describes the solution in natural language. After that, it provides 1-2 code snippets, following the example. Each snippet has no more than 10 rows. There should be no text after code snippets. + +Keep in mind that the extract should be concise and explain only one concept at a time. The code should represent a Python function & its call. All the common ML/DS libraries are available. + +Don't be too verbose. The expected length of the extract is 2 paragraphs at most. +``` + +*Output:* +``` +**Singular Matrices** + +In linear algebra, a matrix is termed as "singular" if it doesn't have an inverse. Another equivalent definition is when the determinant of the matrix is zero. Singular matrices are crucial because they represent systems of linear equations that do not have a unique solution. + +Consider a 2x2 matrix `[[a, b], [c, d]]`. If the product of `ad` and `bc` is the same (i.e., `ad = bc`), then this matrix is singular. Let's explore this with an example: given the matrix `[[2, 4], [1, 2]]`, you'll find that the product of the diagonals yields the same result (2 * 2 = 4 * 1), thus it's a singular matrix. + +import numpy as np + +def is_singular(matrix): + determinant = np.linalg.det(matrix) + return abs(determinant) < 1e-9 + +matrix_example = np.array([[2, 4], [1, 2]]) +print(is_singular(matrix_example)) # returns True +``` + +Quite close! + +In total, the authors generated 1B tokens to augment the model's training set, allowing a smaller model (only 1.5B parameters) to rival models ten times its size (for details, refer to the article [Gunasekar et al. (2023)](https://arxiv.org/abs/2306.11644)). + + + +Image Source: [Gunasekar et al. (2023)](https://arxiv.org/abs/2306.11644) + +For your task, you probably don't need such a large amount of synthetic data (since the authors studied the pretraining, which requires significant resources). However, even as an estimate, at a price of `$0.002` per 1k tokens (standard ChatGPT pricing), it would cost `$2000` for the generated tokens and approximately the same amount for the prompts. + +Keep in mind that fine-tuning on synthetic data becomes more valuable as the domain becomes more niche, especially if the language deviates from English (among other factors). Additionally, this method works well with [Chain-of-Thought (CoT)](https://www.promptingguide.ai/techniques/cot), helping the local model improve its reasoning capabilities. Other prompting techniques work, too. And don't forget that open-source models like Alpaca ([Taori et al., (2023)](https://crfm.stanford.edu/2023/03/13/alpaca.html)) and Vicuna ([Zheng et al., (2023)](https://lmsys.org/blog/2023-03-30-vicuna/)) excel through fine-tuning on synthetic data. diff --git a/ar-pages/applications/pf.ar.mdx b/ar-pages/applications/pf.ar.mdx new file mode 100644 index 000000000..4438aabb1 --- /dev/null +++ b/ar-pages/applications/pf.ar.mdx @@ -0,0 +1,107 @@ +# Prompt Function + +## Introduction +When we draw a parallel between GPT's dialogue interface and a programming language's shell, the encapsulation prompt can be thought of as forming a function. This function has a unique name, and when we call this name with the input text, it produces results based on the set internal rules. In a nutshell, we build a reusable prompt with a name that makes it easy to engage with GPT. It's like having a handy tool that lets GPT carry out particular tasks on our behalf – we just need to give the input, and we receive the desired output. + +By encapsulating prompts into functions, you can create a series of functions to establish a workflow. Each function represents a specific step or task, and when combined in a particular order, they can automate complex processes or solve problems more efficiently. This approach allows for a more structured and streamlined interaction with GPT, ultimately enhancing its capabilities and making it a powerful tool to accomplish a wide range of tasks. + +So before we can use a function, we need to let GPT know about it. Here is a prompt that defines the function. + +*Prompt:* +> Let's call this prompt with **meta prompt**. +This prompt has been tested on GPT3.5 and performs even better on GPT4 + +``` +Hello, ChatGPT! I hope you are doing well. I am reaching out to you for assistance with a specific function. I understand that you have the capability to process information and perform various tasks based on the instructions provided. In order to help you understand my request more easily, I will be using a template to describe the function, input, and instructions on what to do with the input. Please find the details below: + +function_name: [Function Name] +input: [Input] +rule: [Instructions on how to process the input] + +I kindly request you to provide the output for this function, based on the details I have provided. Your assistance is greatly appreciated. Thank you! +I will replace the text inside the brackets with the relevant information for the function I want you to perform. This detailed introduction should help you understand my request more efficiently and provide the desired output. The format is function_name(input) If you understand, just answer one word with ok. + +``` + + +## Examples + +### English study assistant +For example, let's say we want to use GPT to aid us in our English studies. We can simplify the process by creating a series of functions. + +This example has been tested on GPT3.5 and performs even better on GPT4 + +#### Function description + +We need to paste the **meta prompt** that was defined above the section in GPT + +Then we will create a function `trans_word`. +This function prompts GPT to translate Chinese into English. + +*Prompt:* +``` +function_name: [trans_word] +input: ["text"] +rule: [I want you to act as an English translator, spelling corrector and improver. I will provide you with input forms including "text" in any language and you will detect the language, translate it and answer in the corrected of my text, in English.] +``` + + +Write a function that expands text. + +*Prompt:* +``` +function_name: [expand_word] +input: ["text"] +rule: [Please serve as a Chatterbox, spelling corrector, and language enhancer. I will provide you with input forms including "text" in any language, and output the original language.I want you to Keep the meaning same, but make them more literary.] +``` + +Write a function that corrects text. + +*Prompt:* +``` +function_name: [fix_english] +input: ["text"] +rule: [Please serve as an English master, spelling corrector, and language enhancer. I will provide you with input forms including "text", I want you to improve the text's vocabulary and sentences with more natural and elegent. Keep the meaning same.] +``` +Finally, you can run the function independently or chain them together. + +*Prompt:* +``` +trans_word('婆罗摩火山处于享有“千岛之国”美称的印度尼西亚. 多岛之国印尼有4500座之多的火山, 世界著名的十大活火山有三座在这里.') +fix_english('Finally, you can run the function independently or chain them together.') +fix_english(expand_word(trans_word('婆罗摩火山处于享有“千岛之国”美称的印度尼西亚. 多岛之国印尼有4500座之多的火山, 世界著名的十大活火山有三座在这里.'))) +``` +By representing the functions in this format, you can clearly see each function's name, input, and the rule to process the input. It provides an organized way to understand the functionality and purpose of each step in the workflow + +_tips:_ +If you don't want ChatGPT to output excessive information, you can simply add a sentence after defining the function's rules. +``` +DO NOT SAY THINGS ELSE OK, UNLESS YOU DONT UNDERSTAND THE FUNCTION +``` + +### Multiple params function +Let's create a function that generates a password by taking five input parameters, and outputs the generated password. + +*Prompt:* +``` +function_name: [pg] +input: ["length", "capitalized", "lowercase", "numbers", "special"] +rule: [I want you to act as a password generator for individuals in need of a secure password. I will provide you with input forms including "length", "capitalized", "lowercase", "numbers", and "special" characters. Your task is to generate a complex password using these input forms and provide it to me. Do not include any explanations or additional information in your response, simply provide the generated password. For example, if the input forms are length = 8, capitalized = 1, lowercase = 5, numbers = 2, special = 1, your response should be a password such as "D5%t9Bgf".] +``` +``` +pg(length = 10, capitalized = 1, lowercase = 5, numbers = 2, special = 1) +pg(10,1,5,2,1) +``` + +### Thought +Now, there already have many projects that are working on programming GPT, such as: +- [GitHub Copilot](https://github.com/features/copilot) +- [Microsoft AI](https://www.microsoft.com/en-us/ai) +- [chatgpt-plugins](https://openai.com/blog/chatgpt-plugins) +- [LangChain](https://github.com/hwchase17/langchain) +- [marvin](https://github.com/PrefectHQ/marvin) + +But those projects are designed either for product customer or for users who can code with Python or other programming languages. +For the average user, use this easy template for daily work and iterate a couple of times. Use a note application to document the function, and it can even be updated to a library. +Alternatively, some open source ChatGPT tools, such as [ChatGPT-Next-Web](https://github.com/Yidadaa/ChatGPT-Next-Web), [chatbox](https://github.com/Bin-Huang/chatbox), [PromptAppGPT](https://github.com/mleoking/PromptAppGPT), and [ChatGPT-Desktop](https://github.com/lencx/ChatGPT), can be used. Currently, ChatGPT-Next-Web allows adding a few shots before initializing the new chat. And PromptAppGPT supports low-code development of web applications based on prompt templates and enables anyone to develop AutoGPT-like applications with a few lines of prompts. +We can use this feature to add our function, which can then be used. diff --git a/ar-pages/applications/synthetic_rag.ar.mdx b/ar-pages/applications/synthetic_rag.ar.mdx new file mode 100644 index 000000000..9e9c70791 --- /dev/null +++ b/ar-pages/applications/synthetic_rag.ar.mdx @@ -0,0 +1,88 @@ +# Generating Synthetic Dataset for RAG + +import {Screenshot} from 'components/screenshot' +import remarkMath from 'remark-math' +import rehypeKatex from 'rehype-katex' + +import IMG1 from '../../img/synthetic_rag/synthetic_rag_1.png' +import IMG2 from '../../img/synthetic_rag/synthetic_rag_2.png' +import IMG3 from '../../img/synthetic_rag/synthetic_rag_3.png' +import IMG4 from '../../img/synthetic_rag/synthetic_rag_4.png' + + +## Synthetic Data for RAG Setup +Unfortunately, in the life of a Machine Learning Engineer, there's often a lack of labeled data or very little of it. Typically, upon realizing this, projects embark on a lengthy process of data collection and labeling. Only after a couple of months can one start developing a solution. + +However, with the advent of LLM, the paradigm shifted in some products: now one can rely on LLM’s generalization ability and test an idea or develop an AI-powered feature almost immediately. If it turns out to work (almost) as intended, then the traditional development process can begin. + + + +Image Source: [The Rise of the AI Engineer, by S. Wang](https://www.latent.space/p/ai-engineer) + +One of the emerging approaches is [Retrieval Augmented Generation (RAG)](https://www.promptingguide.ai/techniques/rag). It's used for knowledge-intensive tasks where you can't solely rely on the model's knowledge. RAG combines an information retrieval component with a text generator model. To learn more about this approach, refer to [the relevant section in the guide](https://www.promptingguide.ai/techniques/rag). + +The key component of RAG is a Retrieval model that identifies relevant documents and passes them to LLM for further processing. The better the performance of the Retrieval model, the better the product or feature outcome. Ideally, Retrieval works well right out of the box. However, its performance often drops in different languages or specific domains. + +Imagine this: you need to create a chatbot answering questions based on Czech laws and legal practices (in Czech, of course). Or design a tax assistant (a use case presented by OpenAI during the GPT-4 presentation) tailored for the Indian market. You'll likely find that the Retrieval model often misses the most relevant documents and doesn't perform as well overall, thus limiting the system's quality. + +But there's a solution. An emerging trend involves using existing LLMs to synthesize data for the training of new generations of LLMs/Retrievers/other models. This process can be viewed as distilling LLMs into standard-sized encoders via prompt-based query generation. While the distillation is computationally intensive, it substantially reduces inference costs and might greatly enhance performance, particularly in low-resource languages or specialized domains. + +In this guide, we will rely on the latest text generation models, like ChatGPT and GPT-4, which can produce vast amounts of synthetic content following instructions. [Dai et al. (2022)](https://arxiv.org/abs/2209.11755) proposed a method where with only 8 manually labeled examples and a large corpus of unlabeled data (documents for retrieval, e.g., all the parsed laws), one can achieve a near State-of-the-Art performance. This research confirms that synthetically generated data facilitates training task-specific retrievers for tasks where supervised in-domain fine-tuning is a challenge due to data scarcity. + +## Domain-Specific Dataset Generation +To utilize LLM, one needs to provide a short description and manually label a few examples. It's important to note that different retrieval tasks possess varying search intents, meaning different definitions of "relevance." In other words, for the same pair of (Query, Document), their relevance might differ entirely based on the search intent. For instance, an argument retrieval task might seek supporting arguments, while other tasks require counter-arguments (as seen in [ArguAna dataset](https://aclanthology.org/P18-1023/)). + +Consider the example below. Though written in English for easier understanding, remember that data can be in any language since ChatGPT/GPT-4 efficiently processes even low-resource languages. + +*Prompt:* +``` +Task: Identify a counter-argument for the given argument. + +Argument #1: {insert passage X1 here} + +A concise counter-argument query related to the argument #1: {insert manually prepared query Y1 here} + +Argument #2: {insert passage X2 here} +A concise counter-argument query related to the argument #2: {insert manually prepared query Y2 here} + +<- paste your examples here -> + +Argument N: Even if a fine is made proportional to income, you will not get the equality of impact you desire. This is because the impact is not proportional simply to income, but must take into account a number of other factors. For example, someone supporting a family will face a greater impact than someone who is not, because they have a smaller disposable income. Further, a fine based on income ignores overall wealth (i.e. how much money someone actually has: someone might have a lot of assets but not have a high income). The proposition does not cater for these inequalities, which may well have a much greater skewing effect, and therefore the argument is being applied inconsistently. + +A concise counter-argument query related to the argument #N: +``` + +*Output:* +``` +punishment house would make fines relative income +``` + +In general, such a prompt can be expressed as: + +$(e_{prompt}, e_{doc}(d_{1}), e_{query}(q_1), . . . , e_{doc}(d_k), e_{query}(q_k), e_{doc}(d))$ + +, where $e_{doc}$ and $e_{query}$ are task-specific document, query descriptions respectively, $e_{prompt}$ is a task-specific prompt/instruction for ChatGPT/GPT-4, and $d$ is a new document, for which LLM will generate a query. + +From this prompt, only the last document $d$ and the generated query will be used for further training of the local model. This approach can be applied when a target retrieval corpus $D$ is available, but the number of annotated query-document pairs for the new task is limited. + +The whole pipeline overview: + + + +Image Source: [Dai et al. (2022)](https://arxiv.org/abs/2209.11755) + +It's crucial to handle manual annotation of examples responsibly. It's better to prepare more (for instance, 20), and randomly pick 2-8 of them to the prompt. This increases the diversity of generated data without significant time costs in annotation. However, these examples should be representative, correctly formatted, and even detail specifics such as the target query length or its tone. The more precise the examples and instructions, the better the synthetic data will be for training Retriever. Low-quality few-shot examples can negatively impact the resulting quality of the trained model. + +In most cases, using a more affordable model like ChatGPT is sufficient, as it performs well with unusual domains and languages other than English. Let's say, a prompt with instructions and 4-5 examples typically takes up 700 tokens (assuming each passage is no longer than 128 tokens due to Retriever constraints) and generation is 25 tokens. Thus, generating a synthetic dataset for a corpus of 50,000 documents for local model fine-tuning would cost: `50,000 * (700 * 0.001 * $0.0015 + 25 * 0.001 * $0.002) = 55`, where `$0.0015` and `$0.002` are the cost per 1,000 tokens in the GPT-3.5 Turbo API. It's even possible to generate 2-4 query examples for the same document. However, often the benefits of further training are worth it, especially if you're using Retriever not for a general domain (like news retrieval in English) but for a specific one (like Czech laws, as mentioned). + +The figure of 50,000 isn't random. In the research by [Dai et al. (2022)](https://arxiv.org/abs/2209.11755), it's stated that this is approximately the number of manually labeled data needed for a model to match the quality of one trained on synthetic data. Imagine having to gather at least 10,000 examples before launching your product! It would take no less than a month, and the labor costs would surely exceed a thousand dollars, much more than generating synthetic data and training a local Retriever Model. Now, with the technique you learned today, you can achieve double-digit metric growth in just a couple of days! + + + +Image Source: [Dai et al. (2022)](https://arxiv.org/abs/2209.11755) + +And here are prompt templates from the same paper for some of the datasets in BeIR benchmark. + + + +Image Source: [Dai et al. (2022)](https://arxiv.org/abs/2209.11755) diff --git a/ar-pages/applications/workplace_casestudy.ar.mdx b/ar-pages/applications/workplace_casestudy.ar.mdx new file mode 100644 index 000000000..d5297af06 --- /dev/null +++ b/ar-pages/applications/workplace_casestudy.ar.mdx @@ -0,0 +1,56 @@ +# Graduate Job Classification Case Study + +[Clavié et al., 2023](https://arxiv.org/abs/2303.07142) provide a case-study on prompt-engineering applied to a medium-scale text classification use-case in a production system. Using the task of classifying whether a job is a true "entry-level job", suitable for a recent graduate, or not, they evaluated a series of prompt engineering techniques and report their results using GPT-3.5 (`gpt-3.5-turbo`). + +The work shows that LLMs outperforms all other models tested, including an extremely strong baseline in DeBERTa-V3. `gpt-3.5-turbo` also noticeably outperforms older GPT3 variants in all key metrics, but requires additional output parsing as its ability to stick to a template appears to be worse than the other variants. + +The key findings of their prompt engineering approach are: + +- For tasks such as this one, where no expert knowledge is required, Few-shot CoT prompting performed worse than Zero-shot prompting in all experiments. +- The impact of the prompt on eliciting the correct reasoning is massive. Simply asking the model to classify a given job results in an F1 score of 65.6, whereas the post-prompt engineering model achieves an F1 score of 91.7. +- Attempting to force the model to stick to a template lowers performance in all cases (this behaviour disappears in early testing with GPT-4, which are posterior to the paper). +- Many small modifications have an outsized impact on performance. + - The tables below show the full modifications tested. + - Properly giving instructions and repeating the key points appears to be the biggest performance driver. + - Something as simple as giving the model a (human) name and referring to it as such increased F1 score by 0.6pts. + +### Prompt Modifications Tested + +| Short name | Description | +|------------|----------------------------------------------------------------------------| +| Baseline | Provide a a job posting and asking if it is fit for a graduate. | +| CoT | Give a few examples of accurate classification before querying. | +| Zero-CoT | Ask the model to reason step-by-step before providing its answer. | +| rawinst | Give instructions about its role and the task by adding to the user msg. | +| sysinst | Give instructions about its role and the task as a system msg. | +| bothinst | Split instructions with role as a system msg and task as a user msg. | +| mock | Give task instructions by mocking a discussion where it acknowledges them. | +| reit | Reinforce key elements in the instructions by repeating them. | +| strict | Ask the model to answer by strictly following a given template. | +| loose | Ask for just the final answer to be given following a given template. | +| right | Asking the model to reach the right conclusion. | +| info | Provide additional information to address common reasoning failures. | +| name | Give the model a name by which we refer to it in conversation. | +| pos | Provide the model with positive feedback before querying it. | + + +### Performance Impact of All Prompt Modifications + +| | Precision | Recall | F1 | Template Stickiness | +|----------------------------------------|---------------|---------------|---------------|------------------------| +| _Baseline_ | _61.2_ | _70.6_ | _65.6_ | _79%_ | +| _CoT_ | _72.6_ | _85.1_ | _78.4_ | _87%_ | +| _Zero-CoT_ | _75.5_ | _88.3_ | _81.4_ | _65%_ | +| _+rawinst_ | _80_ | _92.4_ | _85.8_ | _68%_ | +| _+sysinst_ | _77.7_ | _90.9_ | _83.8_ | _69%_ | +| _+bothinst_ | _81.9_ | _93.9_ | _87.5_ | _71%_ | +| +bothinst+mock | 83.3 | 95.1 | 88.8 | 74% | +| +bothinst+mock+reit | 83.8 | 95.5 | 89.3 | 75% | +| _+bothinst+mock+reit+strict_ | _79.9_ | _93.7_ | _86.3_ | _**98%**_ | +| _+bothinst+mock+reit+loose_ | _80.5_ | _94.8_ | _87.1_ | _95%_ | +| +bothinst+mock+reit+right | 84 | 95.9 | 89.6 | 77% | +| +bothinst+mock+reit+right+info | 84.9 | 96.5 | 90.3 | 77% | +| +bothinst+mock+reit+right+info+name | 85.7 | 96.8 | 90.9 | 79% | +| +bothinst+mock+reit+right+info+name+pos| **86.9** | **97** | **91.7** | 81% | + +Template stickiness refers to how frequently the model answers in the desired format. diff --git a/ar-pages/course.ar.mdx b/ar-pages/course.ar.mdx new file mode 100644 index 000000000..61e0be24c --- /dev/null +++ b/ar-pages/course.ar.mdx @@ -0,0 +1,41 @@ +# Prompt Engineering Courses + +import { Callout } from 'nextra/components' + + +We've partnered with Maven to deliver the following live cohort-based courses on prompt engineering: + +- [LLMs for Everyone ](https://maven.com/dair-ai/llms-for-everyone) (Beginner) - learn about the latest prompt engineering techniques and how to effectively apply them to real-world use cases. + +- [Prompt Engineering for LLMs ](https://maven.com/dair-ai/prompt-engineering-llms) (Advanced) - learn advanced prompt engineering techniques to build complex use cases and applications with LLMs. + +We are now offering a special discount for our learners. Use promo code MAVENAI20 for a 20% discount. + + +These hands-on courses are built to compliment this prompt engineering guide. They are designed to help expand your skills and knowledge by teaching you how to effectively apply the concepts learned in this guide to real-world use cases and applications. + +[Elvis Saravia](https://www.linkedin.com/in/omarsar/), who has worked at companies like Meta AI and Elastic, and has years of experience in AI and LLMs, is the instructor for both courses. + +Our past learners range from software engineers to AI researchers and practitioners in organizations like Microsoft, Google, Apple, Airbnb, LinkedIn, Amazon, JPMorgan Chase & Co., Asana, Intuit, Fidelity Investments, Coinbase, Guru, and many others. + +Topics we provide training on: + +- Taxonomy of Prompting Techniques +- Tactics to Improve Reliability +- Structuring LLM Outputs +- Zero-shot Prompting +- Few-shot In-Context Learning +- Chain of Thought Prompting +- Self-Reflection & Self-Consistency +- ReAcT +- Retrieval Augmented Generation +- Fine-Tuning & RLHF +- Function Calling +- AI Safety & Moderation +- LLM-Powered Agents +- LLM Evaluation +- Adversarial Prompting (Jailbreaking and Prompt Injections) +- Judge LLMs +- Common Real-World Use Cases of LLMs + +Reach out to training@dair.ai for any questions about the courses, corporate training, and available group discounts. diff --git a/ar-pages/datasets.ar.mdx b/ar-pages/datasets.ar.mdx new file mode 100644 index 000000000..df2fe222f --- /dev/null +++ b/ar-pages/datasets.ar.mdx @@ -0,0 +1,12 @@ +# Datasets +#### (Sorted by Name) + +- [Anthropic's Red Team dataset](https://github.com/anthropics/hh-rlhf/tree/master/red-team-attempts), [(paper)](https://arxiv.org/abs/2209.07858) +- [Awesome ChatGPT Prompts](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts) +- [DiffusionDB](https://github.com/poloclub/diffusiondb) +- [Midjourney Prompts](https://huggingface.co/datasets/succinctly/midjourney-prompts) +- [P3 - Public Pool of Prompts](https://huggingface.co/datasets/bigscience/P3) +- [PartiPrompts](https://parti.research.google) +- [Real Toxicity Prompts](https://allenai.org/data/real-toxicity-prompts) +- [Stable Diffusion Dataset](https://huggingface.co/datasets/Gustavosta/Stable-Diffusion-Prompts) +- [WritingPrompts](https://www.reddit.com/r/WritingPrompts) diff --git a/ar-pages/introduction.ar.mdx b/ar-pages/introduction.ar.mdx new file mode 100644 index 000000000..a1160e3a1 --- /dev/null +++ b/ar-pages/introduction.ar.mdx @@ -0,0 +1,15 @@ +# Introduction + +import {Cards, Card} from 'nextra-theme-docs' +import { CardsIcon, OneIcon, WarningIcon, FilesIcon} from 'components/icons' +import ContentFileNames from 'components/ContentFileNames' + +Prompt engineering is a relatively new discipline for developing and optimizing prompts to efficiently apply and build with large language models (LLMs) for a wide variety of applications and use cases. + +Prompt engineering skills help to better understand the capabilities and limitations of LLMs. Researchers use prompt engineering to improve safety and the capacity of LLMs on a wide range of common and complex tasks such as question answering and arithmetic reasoning. Developers use prompt engineering to design robust and effective prompting techniques that interface with LLMs and other tools. + +This comprehensive guide covers the theory and practical aspects of prompt engineering and how to leverage the best prompting techniques to interact and build with LLMs. + +All examples are tested with `gpt-3.5-turbo` using the [OpenAI's Playground](https://platform.openai.com/playground) unless otherwise specified. The model uses the default configurations, i.e., `temperature=1` and `top_p=1`. The prompts should also work with other models that have similar capabilities as `gpt-3.5-turbo` but the model responses may vary. + + \ No newline at end of file diff --git a/ar-pages/introduction/_meta.ar.json b/ar-pages/introduction/_meta.ar.json new file mode 100644 index 000000000..98f6af2d7 --- /dev/null +++ b/ar-pages/introduction/_meta.ar.json @@ -0,0 +1,7 @@ +{ + "settings": "إعدادات النماذج اللغوية الكبيرة", + "basics": "أساسيات التلقين", + "elements": "عناصر الأوامر", + "tips": "نصائح عامة لتصميم الأوامر", + "examples": "أمثلة على الأوامر" +} diff --git a/ar-pages/introduction/basics.ar.mdx b/ar-pages/introduction/basics.ar.mdx new file mode 100644 index 000000000..effb16235 --- /dev/null +++ b/ar-pages/introduction/basics.ar.mdx @@ -0,0 +1,145 @@ +# Basics of Prompting + +import {Screenshot} from 'components/screenshot' +import INTRO1 from '../../img/introduction/sky.png' +import {Bleed} from 'nextra-theme-docs' + +## Prompting an LLM + +You can achieve a lot with simple prompts, but the quality of results depends on how much information you provide it and how well-crafted the prompt is. A prompt can contain information like the *instruction* or *question* you are passing to the model and include other details such as *context*, *inputs*, or *examples*. You can use these elements to instruct the model more effectively to improve the quality of results. + +Let's get started by going over a basic example of a simple prompt: + +*Prompt* + +```md +The sky is +``` + +*Output:* +```md +blue. +``` + +If you are using the OpenAI Playground or any other LLM playground, you can prompt the model as shown in the following screenshot: + + + +Here is a tutorial on how to get started with the OpenAI Playground: + +