From 5483cf4d66eeeb7691707e178a1bcd92a42c3497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Kadir=20Ak=C4=B1n?= Date: Fri, 30 Jan 2026 17:48:16 +0300 Subject: [PATCH] chore(github): update repository links and references --- .claude-plugin/marketplace.json | 2 +- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 4 +- .github/workflows/update-contributors.yml | 2 +- CLAUDE-PLUGIN.md | 2 +- README.md | 64 +- SELF-HOSTING.md | 6 +- context7.json | 2 +- docker/Dockerfile | 4 +- messages/en.json | 432 +++++++++++++ messages/tr.json | 444 +++++++++++++ packages/prompts.chat/package.json | 2 +- packages/prompts.chat/src/cli/new.ts | 2 +- packages/raycast-extension/README.md | 2 +- src/app/about/page.tsx | 10 +- src/app/book/[slug]/page.tsx | 96 ++- src/app/book/page.tsx | 206 +++--- src/app/docs/api/page.tsx | 2 +- src/app/docs/self-hosting/page.tsx | 12 +- src/app/page.tsx | 16 +- src/app/privacy/page.tsx | 2 +- src/app/support/page.tsx | 2 +- src/app/terms/page.tsx | 4 +- src/components/book/continue-reading.tsx | 47 ++ src/components/book/elements/ai-demos.tsx | 105 ++-- src/components/book/elements/builder.tsx | 131 ++-- src/components/book/elements/chain-demos.tsx | 1 + .../book/elements/chain-error-demo.tsx | 86 +-- src/components/book/elements/chain.tsx | 84 +-- src/components/book/elements/challenge.tsx | 73 +-- .../book/elements/context-demos.tsx | 237 ++++--- src/components/book/elements/demos.tsx | 391 +++++++----- src/components/book/elements/exercises.tsx | 1 + src/components/book/elements/frameworks.tsx | 1 + src/components/book/elements/lists.tsx | 1 + src/components/book/elements/media-demos.tsx | 119 ++-- src/components/book/elements/navigation.tsx | 36 +- src/components/book/elements/principles.tsx | 36 +- src/components/book/elements/security.tsx | 71 +-- .../book/elements/token-prediction.tsx | 302 +++++---- src/components/book/elements/ui.tsx | 16 +- src/components/book/sidebar.tsx | 247 ++++++-- src/components/ide/prompt-ide.tsx | 2 +- src/components/layout/footer.tsx | 4 +- .../prompts/hf-data-studio-dropdown.tsx | 2 +- src/components/prompts/prompt-filters.tsx | 4 +- src/components/seo/structured-data.tsx | 2 +- src/content/book/00a-preface.mdx | 2 +- src/content/book/00b-history.mdx | 8 +- src/content/book/00c-introduction.mdx | 2 +- src/content/book/tr/00a-preface.mdx | 82 +++ src/content/book/tr/00b-history.mdx | 159 +++++ src/content/book/tr/00c-introduction.mdx | 130 ++++ .../book/tr/01-understanding-ai-models.mdx | 302 +++++++++ .../tr/02-anatomy-of-effective-prompt.mdx | 343 ++++++++++ .../book/tr/03-core-prompting-principles.mdx | 373 +++++++++++ .../book/tr/04-role-based-prompting.mdx | 328 ++++++++++ src/content/book/tr/05-structured-output.mdx | 411 ++++++++++++ src/content/book/tr/06-chain-of-thought.mdx | 363 +++++++++++ src/content/book/tr/07-few-shot-learning.mdx | 478 ++++++++++++++ .../book/tr/08-iterative-refinement.mdx | 387 ++++++++++++ .../book/tr/09-json-yaml-prompting.mdx | 586 ++++++++++++++++++ .../book/tr/10-system-prompts-personas.mdx | 435 +++++++++++++ src/content/book/tr/11-prompt-chaining.mdx | 245 ++++++++ .../book/tr/12-handling-edge-cases.mdx | 370 +++++++++++ .../book/tr/13-multimodal-prompting.mdx | 421 +++++++++++++ .../book/tr/14-context-engineering.mdx | 270 ++++++++ src/content/book/tr/15-common-pitfalls.mdx | 222 +++++++ .../book/tr/16-ethics-responsible-use.mdx | 340 ++++++++++ .../book/tr/17-prompt-optimization.mdx | 269 ++++++++ src/content/book/tr/18-writing-content.mdx | 393 ++++++++++++ .../book/tr/19-programming-development.mdx | 414 +++++++++++++ src/content/book/tr/20-education-learning.mdx | 345 +++++++++++ .../book/tr/21-business-productivity.mdx | 335 ++++++++++ src/content/book/tr/22-creative-arts.mdx | 326 ++++++++++ src/content/book/tr/23-research-analysis.mdx | 323 ++++++++++ .../book/tr/24-future-of-prompting.mdx | 445 +++++++++++++ src/content/book/tr/25-agents-and-skills.mdx | 428 +++++++++++++ src/lib/ai/sql-generation.prompt.yml | 2 +- 79 files changed, 11921 insertions(+), 935 deletions(-) create mode 100644 src/components/book/continue-reading.tsx create mode 100644 src/content/book/tr/00a-preface.mdx create mode 100644 src/content/book/tr/00b-history.mdx create mode 100644 src/content/book/tr/00c-introduction.mdx create mode 100644 src/content/book/tr/01-understanding-ai-models.mdx create mode 100644 src/content/book/tr/02-anatomy-of-effective-prompt.mdx create mode 100644 src/content/book/tr/03-core-prompting-principles.mdx create mode 100644 src/content/book/tr/04-role-based-prompting.mdx create mode 100644 src/content/book/tr/05-structured-output.mdx create mode 100644 src/content/book/tr/06-chain-of-thought.mdx create mode 100644 src/content/book/tr/07-few-shot-learning.mdx create mode 100644 src/content/book/tr/08-iterative-refinement.mdx create mode 100644 src/content/book/tr/09-json-yaml-prompting.mdx create mode 100644 src/content/book/tr/10-system-prompts-personas.mdx create mode 100644 src/content/book/tr/11-prompt-chaining.mdx create mode 100644 src/content/book/tr/12-handling-edge-cases.mdx create mode 100644 src/content/book/tr/13-multimodal-prompting.mdx create mode 100644 src/content/book/tr/14-context-engineering.mdx create mode 100644 src/content/book/tr/15-common-pitfalls.mdx create mode 100644 src/content/book/tr/16-ethics-responsible-use.mdx create mode 100644 src/content/book/tr/17-prompt-optimization.mdx create mode 100644 src/content/book/tr/18-writing-content.mdx create mode 100644 src/content/book/tr/19-programming-development.mdx create mode 100644 src/content/book/tr/20-education-learning.mdx create mode 100644 src/content/book/tr/21-business-productivity.mdx create mode 100644 src/content/book/tr/22-creative-arts.mdx create mode 100644 src/content/book/tr/23-research-analysis.mdx create mode 100644 src/content/book/tr/24-future-of-prompting.mdx create mode 100644 src/content/book/tr/25-agents-and-skills.mdx diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index c9d905e4..535fcc57 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -19,7 +19,7 @@ "email": "fatihkadirakin@gmail.com" }, "homepage": "https://prompts.chat", - "repository": "https://github.com/f/awesome-chatgpt-prompts", + "repository": "https://github.com/f/prompts.chat", "license": "MIT", "keywords": ["prompts", "ai", "skills", "chatgpt", "claude", "llm"], "category": "ai", diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fa2e2986..579aeb8b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://prompts.chat/prompts/new about: Please submit new prompts via our website automation. - name: 🐛 Report a Bug / Spam - url: https://github.com/f/awesome-chatgpt-prompts/issues/new?title=Report:%20 + url: https://github.com/f/prompts.chat/issues/new?title=Report:%20 about: Report spam or issues with the repository. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c37c8608..e0fd0842 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -18,9 +18,9 @@ Instead, visit **[prompts.chat](https://prompts.chat)** and: 1. **Login with GitHub** - Click the login button and authenticate with your GitHub account 2. **Create your prompt** - Use the prompt editor to add your new prompt -3. **Submit** - Your prompt will be reviewed and a [GitHub Action](https://github.com/f/awesome-chatgpt-prompts/actions/workflows/update-contributors.yml) will automatically create a commit on your behalf +3. **Submit** - Your prompt will be reviewed and a [GitHub Action](https://github.com/f/prompts.chat/actions/workflows/update-contributors.yml) will automatically create a commit on your behalf -This ensures proper attribution, formatting, and keeps the repository in sync. You'll also appear on the [Contributors page](https://github.com/f/awesome-chatgpt-prompts/graphs/contributors)! +This ensures proper attribution, formatting, and keeps the repository in sync. You'll also appear on the [Contributors page](https://github.com/f/prompts.chat/graphs/contributors)! --- diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml index 944ece04..b01dc798 100644 --- a/.github/workflows/update-contributors.yml +++ b/.github/workflows/update-contributors.yml @@ -50,7 +50,7 @@ jobs: api.upload_file( path_or_fileobj="prompts.csv", path_in_repo="prompts.csv", - repo_id="fka/awesome-chatgpt-prompts", + repo_id="fka/prompts.chat", repo_type="dataset", commit_message="Update prompts.csv" ) diff --git a/CLAUDE-PLUGIN.md b/CLAUDE-PLUGIN.md index b3041c55..924399f0 100644 --- a/CLAUDE-PLUGIN.md +++ b/CLAUDE-PLUGIN.md @@ -7,7 +7,7 @@ Access prompts.chat directly in [Claude Code](https://code.claude.com) with our Add the prompts.chat marketplace to Claude Code: ``` -/plugin marketplace add f/awesome-chatgpt-prompts +/plugin marketplace add f/prompts.chat ``` Then install the plugin: diff --git a/README.md b/README.md index a76ccbfe..6def3c96 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@

Website Awesome - Hugging Face - Ask DeepWiki + Hugging Face + Ask DeepWiki

🌐 Browse Prompts • 📖 Read the Book • - 📄 View on GitHub • + 📄 View on GitHub • 🚀 Self-Host

@@ -34,7 +34,7 @@ 🏆 Featured in Forbes · 🎓 Referenced by Harvard, Columbia · 📄 40+ academic citations · - ❤️ Most liked dataset on Hugging Face
+ ❤️ Most liked dataset on Hugging Face
⭐ 143k+ GitHub stars · 🏅 GitHub Staff Pick · 🚀 First prompt library (Dec 2022) @@ -60,7 +60,7 @@ A curated collection of **prompt examples** for AI chat models. Originally creat | Browse Prompts | Data Formats | |----------------|--------------| | [prompts.chat](https://prompts.chat/prompts) | [prompts.csv](prompts.csv) | -| [PROMPTS.md](https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/PROMPTS.md) | [Hugging Face Dataset](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts) | +| [PROMPTS.md](https://raw.githubusercontent.com/f/prompts.chat/main/PROMPTS.md) | [Hugging Face Dataset](https://huggingface.co/datasets/fka/prompts.chat) | **Want to contribute?** Add prompts at [prompts.chat/prompts/new](https://prompts.chat/prompts/new) — they sync here automatically. @@ -106,8 +106,8 @@ cd my-prompt-library **Manual Setup:** ```bash -git clone https://github.com/f/awesome-chatgpt-prompts.git -cd awesome-chatgpt-prompts +git clone https://github.com/f/prompts.chat.git +cd prompts.chat npm install && npm run setup ``` @@ -126,7 +126,7 @@ npx prompts.chat ### Claude Code Plugin ``` -/plugin marketplace add f/awesome-chatgpt-prompts +/plugin marketplace add f/prompts.chat /plugin install prompts.chat@prompts.chat ``` 📖 [Plugin Documentation](CLAUDE-PLUGIN.md) @@ -167,61 +167,61 @@ Use prompts.chat as an MCP server in your AI tools. - - - Clemta + + + Clemta    - Wiro + Wiro    - - - Cognition + + + Cognition    - - - CodeRabbit + + + CodeRabbit    - - - Sentry + + + Sentry    - - - MitteAI + + + MitteAI    - - - Each Labs + + + Each Labs    - - - Warp + + + Warp

@@ -235,8 +235,8 @@ Use prompts.chat as an MCP server in your AI tools. ## 👥 Contributors - - + + --- diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 3b69fee4..ad62a6c9 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -80,8 +80,8 @@ This will: 1. **Clone the repository** ```bash - git clone https://github.com/f/awesome-chatgpt-prompts.git - cd awesome-chatgpt-prompts + git clone https://github.com/f/prompts.chat.git + cd prompts.chat ``` 2. **Install dependencies** @@ -202,4 +202,4 @@ This is ideal for organizations that want to deploy their own white-labeled prom ## Support -For issues and questions, please open a [GitHub Issue](https://github.com/f/awesome-chatgpt-prompts/issues). +For issues and questions, please open a [GitHub Issue](https://github.com/f/prompts.chat/issues). diff --git a/context7.json b/context7.json index a2292bbf..b5404d81 100644 --- a/context7.json +++ b/context7.json @@ -1,4 +1,4 @@ { - "url": "https://context7.com/f/awesome-chatgpt-prompts", + "url": "https://context7.com/f/prompts.chat", "public_key": "pk_1VY7yEEijnbFIFVAIDEh2" } diff --git a/docker/Dockerfile b/docker/Dockerfile index 823f0e49..693398a9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,7 +7,7 @@ FROM node:24-bookworm-slim -LABEL org.opencontainers.image.source="https://github.com/f/awesome-chatgpt-prompts" +LABEL org.opencontainers.image.source="https://github.com/f/prompts.chat" LABEL org.opencontainers.image.description="prompts.chat - Self-hosted AI prompt library" LABEL org.opencontainers.image.licenses="MIT" @@ -39,7 +39,7 @@ ENV PORT=3000 ENV HOSTNAME="0.0.0.0" ENV DATABASE_URL="postgresql://prompts:prompts@localhost:5432/prompts?schema=public" ENV DIRECT_URL="postgresql://prompts:prompts@localhost:5432/prompts?schema=public" -ENV REPO_URL="https://github.com/f/awesome-chatgpt-prompts.git" +ENV REPO_URL="https://github.com/f/prompts.chat.git" EXPOSE 3000 diff --git a/messages/en.json b/messages/en.json index eecfb4d2..88c11489 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1742,5 +1742,437 @@ "resetComplete": "Progress reset! Reloading...", "cancel": "Cancel" } + }, + "book": { + "title": "The Interactive Book of Prompting", + "subtitle": "An Interactive Guide to Crafting Clear and Effective Prompts", + "metaTitle": "The Interactive Book of Prompting | Free Online Guide to AI Prompt Engineering", + "metaDescription": "Master AI prompt engineering with this free, interactive guide. Learn ChatGPT prompts, chain-of-thought reasoning, few-shot learning, and advanced techniques. 25+ chapters with real examples.", + "interactiveGuideBy": "An Interactive Guide by", + "authorIntro": "Hi, I'm Fatih Kadir Akın, the curator of the popular Awesome ChatGPT Prompts repository on GitHub and prompts.chat.", + "bookDescription": "In this comprehensive and interactive guide, you'll discover expert strategies for crafting compelling AI prompts that drive engaging and effective conversations. From understanding how AI models work to mastering advanced techniques like prompt chaining and agentic systems, this book provides you with the tools you need to take your AI interactions to the next level.", + "whatYouWillLearn": "What you'll learn:", + "highlights": { + "understanding": "Understanding how AI models think and process prompts", + "crafting": "Crafting clear, specific, and effective prompts", + "advanced": "Advanced techniques: chain-of-thought, few-shot learning, and prompt chaining", + "interactive": "Interactive examples you can try directly in the browser", + "realWorld": "Real-world use cases for writing, coding, education, and business", + "future": "The future of prompting: agents and agentic systems" + }, + "bookStructure": "Book Structure", + "structure": { + "introduction": "Introduction", + "part1": "Part 1: Foundations", + "part2": "Part 2: Techniques", + "part3": "Part 3: Advanced Strategies", + "part4": "Part 4: Best Practices", + "part5": "Part 5: Use Cases", + "part6": "Part 6: Conclusion", + "chapters": "25 Interactive Chapters" + }, + "startReading": "Start Reading", + "skipToChapter1": "Skip to Chapter 1", + "continuousUpdate": "This book is continuously updated with new techniques and insights as AI evolves.", + "partOfProject": "Part of the Awesome ChatGPT Prompts project. Licensed under CC0.", + "kidsSection": { + "question": "Are you a school teacher or a parent?", + "title": "Try our Playable Book for Kids! 🎮", + "description": "An interactive, game-based adventure to teach children (ages 8-14) how to communicate with AI through fun puzzles and stories.", + "startPlaying": "Start Playing" + }, + "chapter": { + "notFound": "Chapter Not Found", + "comingSoon": "This chapter is coming soon.", + "previous": "Previous", + "next": "Next" + }, + "tableOfContents": "Table of Contents", + "awesomeChatGPTPrompts": "Awesome ChatGPT Prompts", + "search": { + "placeholder": "Search chapters...", + "noResults": "No chapters found" + }, + "bookmark": { + "add": "Bookmark this chapter", + "remove": "Remove bookmark", + "continueReading": "Continue where you left off", + "continue": "Continue" + }, + "parts": { + "introduction": "Introduction", + "foundations": "Foundations", + "techniques": "Techniques", + "advanced": "Advanced Strategies", + "bestPractices": "Best Practices", + "useCases": "Use Cases", + "conclusion": "Conclusion" + }, + "chapters": { + "00a-preface": "Preface", + "00b-history": "History", + "00c-introduction": "Introduction", + "01-understanding-ai-models": "Understanding AI Models", + "02-anatomy-of-effective-prompt": "Anatomy of an Effective Prompt", + "03-core-prompting-principles": "Core Prompting Principles", + "04-role-based-prompting": "Role-Based Prompting", + "05-structured-output": "Structured Output", + "06-chain-of-thought": "Chain of Thought", + "07-few-shot-learning": "Few-Shot Learning", + "08-iterative-refinement": "Iterative Refinement", + "09-json-yaml-prompting": "JSON & YAML Prompting", + "10-system-prompts-personas": "System Prompts & Personas", + "11-prompt-chaining": "Prompt Chaining", + "12-handling-edge-cases": "Handling Edge Cases", + "13-multimodal-prompting": "Multimodal Prompting", + "14-context-engineering": "Context Engineering", + "25-agents-and-skills": "Agents & Skills", + "15-common-pitfalls": "Common Pitfalls", + "16-ethics-responsible-use": "Ethics & Responsible Use", + "17-prompt-optimization": "Prompt Optimization", + "18-writing-content": "Writing & Content", + "19-programming-development": "Programming & Development", + "20-education-learning": "Education & Learning", + "21-business-productivity": "Business & Productivity", + "22-creative-arts": "Creative Arts", + "23-research-analysis": "Research & Analysis", + "24-future-of-prompting": "The Future of Prompting" + }, + "chapterDescriptions": { + "00a-preface": "A personal note from the author", + "00b-history": "The story of Awesome ChatGPT Prompts", + "00c-introduction": "What is prompt engineering and why it matters", + "01-understanding-ai-models": "How large language models work", + "02-anatomy-of-effective-prompt": "Components that make prompts work", + "03-core-prompting-principles": "Fundamental principles for better prompts", + "04-role-based-prompting": "Using personas and roles effectively", + "05-structured-output": "Getting consistent, formatted responses", + "06-chain-of-thought": "Step-by-step reasoning for complex tasks", + "07-few-shot-learning": "Teaching by example", + "08-iterative-refinement": "Improving prompts through iteration", + "09-json-yaml-prompting": "Structured data formats in prompts", + "10-system-prompts-personas": "Creating consistent AI personalities", + "11-prompt-chaining": "Connecting multiple prompts", + "12-handling-edge-cases": "Dealing with unexpected inputs", + "13-multimodal-prompting": "Working with images, audio, and video", + "14-context-engineering": "RAG, embeddings, function calling, and MCP", + "25-agents-and-skills": "Building AI agents with reusable skill packages", + "15-common-pitfalls": "Mistakes to avoid", + "16-ethics-responsible-use": "Ethical considerations in AI", + "17-prompt-optimization": "Testing and improving prompts", + "18-writing-content": "Content creation and copywriting", + "19-programming-development": "Code generation and debugging", + "20-education-learning": "Teaching and learning applications", + "21-business-productivity": "Professional and workplace applications", + "22-creative-arts": "Artistic and creative applications", + "23-research-analysis": "Data analysis and research tasks", + "24-future-of-prompting": "Emerging trends and looking ahead" + }, + "interactive": { + "tryIt": "Try It Yourself", + "copy": "Copy", + "copied": "Copied!", + "correct": "Correct!", + "notQuite": "Not quite.", + "nextTokenPrediction": "Next Token Prediction", + "watchHowAIPredicts": "Watch how AI predicts the next token at each step", + "replay": "Replay", + "playing": "Playing...", + "play": "Play", + "pressPlayToStart": "Press Play to start...", + "completingCurrentToken": "Completing current token:", + "top3PredictedNextTokens": "Top 3 Predicted Next Tokens:", + "howItWorks": "How it works:", + "howItWorksExplanation": "At each step, the model calculates probabilities for all possible next tokens (~50,000+). The highest probability token is selected, then the process repeats.", + "tokenizerDemo": "Tokenizer Demo", + "seeHowTextIsSplit": "See how text is split into tokens", + "enterText": "Enter text:", + "tokens": "tokens", + "tryExamples": "Try: \"Unbelievable\", \"ChatGPT is amazing\" or type your own", + "contextWindowVisualizer": "Context Window Visualizer", + "understandHowContextIsConsumed": "Understand how context is consumed", + "contextWindow": "Context Window", + "remaining": "remaining", + "prompt": "Prompt", + "response": "Response", + "yourPrompt": "Your Prompt", + "aiResponse": "AI Response", + "contextOverflow": "Context overflow!", + "contextOverflowMessage": "Your prompt + response exceeds the context window. The model will truncate or fail. Try reducing your prompt length or requesting shorter responses.", + "tipLabel": "Tip:", + "contextTip": "Both your prompt AND the AI's response must fit in the context window. Longer prompts leave less room for responses. Put important information at the start of your prompt.", + "temperatureDemo": "Temperature Demo", + "seeHowRandomnessAffects": "See how randomness affects outputs", + "temperature": "Temperature", + "deterministic": "Deterministic", + "balanced": "Balanced", + "creative": "Creative", + "veryCreative": "Very Creative", + "focused": "Focused", + "random": "Random", + "possibleResponsesAtThisTemp": "Possible responses at this temperature:", + "useLowTemperature": "Use low temperature", + "useHighTemperature": "Use high temperature", + "forFactualAnswers": "for factual, consistent answers.", + "forCreativeWriting": "for creative writing and brainstorming.", + "structuredOutputDemo": "Structured Output Demo", + "seeTheDifferenceStructureMakes": "See the difference structure makes", + "unstructured": "Unstructured", + "output": "Output:", + "youCan": "You can:", + "parseProgrammatically": "Parse programmatically", + "compareAcrossQueries": "Compare across queries", + "integrateIntoWorkflows": "Integrate into workflows", + "validateForCompleteness": "Validate for completeness", + "parseProgrammaticallyLabel": "Parse programmatically:", + "complexRegexRequired": "Complex regex or NLP required", + "unreliableBreaksWithChanges": "Unreliable, breaks with slight wording changes", + "simpleAndReliable": "Simple and reliable", + "parseableWithMarkdown": "Parseable with markdown library", + "fewShotLearningDemo": "Few-Shot Learning Demo", + "seeHowExamplesImproveAccuracy": "See how examples improve accuracy", + "numberOfExamples": "Number of examples", + "zeroShot": "Zero-shot", + "oneShot": "One-shot", + "twoShot": "Two-shot", + "threeShot": "Three-shot", + "examplesProvided": "Examples provided:", + "testInput": "Test input:", + "modelPrediction": "Model prediction:", + "confidence": "Confidence:", + "expected": "Expected:", + "formatComparison": "Format Comparison", + "sameDataDifferentFormats": "Same data, different formats", + "defineStructureWithTypeScript": "Define the structure with TypeScript interfaces", + "machineReadableStrictSyntax": "Machine-readable, strict syntax, great for APIs", + "humanReadableSupportsComments": "Human-readable, supports comments, great for config", + "defineSchema": "Define schema", + "apisAndParsing": "APIs & parsing", + "configFiles": "Config files", + "iterativeRefinementDemo": "Iterative Refinement Demo", + "watchAPromptEvolve": "Watch a prompt evolve", + "pause": "Pause", + "versionXOfY": "Version {current} / {total}", + "newInThisVersion": "New in this version", + "quality": "Quality", + "issue": "Issue:", + "success": "Success", + "successMessage": "The prompt now produces high-quality, consistent output.", + "apiCostCalculator": "API Cost Calculator", + "inputTokens": "Input Tokens (per request)", + "outputTokens": "Output Tokens (per request)", + "inputPrice": "Input Price ($ per 1M tokens)", + "outputPrice": "Output Price ($ per 1M tokens)", + "requestsPerDay": "Requests per Day", + "perRequest": "Per Request", + "dailyCost": "Daily Cost", + "monthlyCost": "Monthly Cost", + "textToImageBuildPrompt": "Text-to-Image: Build Your Prompt", + "selectOptionsToBuiltImagePrompt": "Select options from each category to build an image prompt:", + "generatedPrompt": "Generated Prompt", + "simulateDiffusionProcess": "Simulate Diffusion Process", + "diffusionStep1": "Start from random noise", + "diffusionStep2": "Detect rough shapes", + "diffusionStep3": "Add basic colors and forms", + "diffusionStep4": "Refine details", + "diffusionStep5": "Final image", + "diffusionExplanation": "Real diffusion models run thousands of steps, gradually removing noise until a coherent image emerges.", + "textToVideoBuildPrompt": "Text-to-Video: Build Your Prompt", + "videoPromptsNeed": "Video prompts need motion, camera work, and timing:", + "playAnimation": "Play Animation", + "stop": "Stop", + "frame": "Frame:", + "consistency": "Consistency:", + "consistencyDesc": "Subject stays the same across frames", + "motion": "Motion:", + "motionDesc": "Position changes smoothly over time", + "physics": "Physics:", + "physicsDesc": "Movement follows natural laws", + "simplifiedAnimationPreview": "Simplified animation preview", + "videoModelExplanation": "Real video models generate 24-60 frames per second with photorealistic detail and consistent subjects.", + "embeddingsVisualization": "Embeddings Visualization", + "clickWordToSeeVector": "Click a word to see its vector and similarity to other words:", + "vector": "vector", + "similarityTo": "Similarity to:", + "embeddingsExplanation": "Words with similar meanings (like \"happy\" and \"joyful\") have similar vectors and get high similarity scores.", + "canDoWell": "Can Do Well", + "cannotDo": "Cannot Do", + "promptBuilder": "Prompt Builder", + "buildYourPromptStepByStep": "Build your prompt step by step", + "pleaseAddTask": "Please add at least one task to your prompt", + "rateLimitReached": "Rate limit reached. Try again in:", + "orSignInForMore": "or sign in for more.", + "failedToRunPrompt": "Failed to run prompt", + "runWithAI": "Run with AI", + "failedToConnectApi": "Failed to connect to API", + "day": "day", + "promptAnalyzer": "Prompt Analyzer", + "getAiFeedbackOnPrompt": "Get AI feedback on your prompt", + "pasteOrWritePromptHere": "Paste or write your prompt here...", + "analyze": "Analyze", + "pleaseEnterPromptToAnalyze": "Please enter a prompt to analyze", + "failedToAnalyzePrompt": "Failed to analyze prompt", + "clarity": "Clarity", + "specificity": "Specificity", + "missingElements": "Missing Elements", + "suggestions": "Suggestions", + "improvedVersion": "Improved Version", + "summarizationStrategies": "Summarization Strategies", + "originalConversation": "Original Conversation", + "after": "After:", + "summary": "Summary", + "keptMessages": "Kept Messages", + "saved": "Saved:", + "part": "Part", + "demoExamples": { + "tokenPrediction": { + "tokens": ["The", " capital", " of", " France", " is", " Paris", "."], + "fullText": "The capital of France is Paris." + }, + "tokenizer": { + "default": "Hello, world!", + "samples": { + "Hello, world!": ["Hel", "lo", ",", " world", "!"], + "Unbelievable": ["Un", "believ", "able"], + "ChatGPT is amazing": ["Chat", "G", "PT", " is", " amazing"], + "The quick brown fox": ["The", " quick", " brown", " fox"], + "Prompt engineering": ["Prom", "pt", " engineering"] + }, + "tryExamples": "Try: \"Unbelievable\", \"ChatGPT is amazing\" or type your own" + }, + "temperature": { + "prompt": "What is the capital of France?", + "lowTemp": [ + "The capital of France is Paris.", + "The capital of France is Paris.", + "The capital of France is Paris." + ], + "mediumLowTemp": [ + "The capital of France is Paris.", + "Paris is the capital of France.", + "The capital of France is Paris, a major European city." + ], + "mediumHighTemp": [ + "Paris serves as the capital of France.", + "The capital of France is Paris, home to the Eiffel Tower.", + "France's capital is the historic and romantic city of Paris." + ], + "highTemp": [ + "Paris, the City of Light, proudly stands as France's magnificent capital!", + "France's romantic capital is none other than the enchanting city of Paris.", + "The heart of France beats in Paris, its beloved capital of art and culture." + ] + }, + "fewShot": { + "examples": [ + { "input": "I love this product!", "output": "Positive" }, + { "input": "Terrible experience, waste of money", "output": "Negative" }, + { "input": "It's okay, nothing special", "output": "Neutral" } + ], + "testCase": { "input": "Great quality but slow shipping", "expected": "Mixed" }, + "labels": { + "positive": "Positive", + "negative": "Negative", + "neutral": "Neutral", + "mixed": "Mixed" + } + } + }, + "promptChallenge": "Prompt Challenge", + "yourTask": "Your task:", + "yourPromptWillBeScoredOn": "Your prompt will be scored on:", + "startChallenge": "Start Challenge", + "writeYourPromptHere": "Write your prompt here...", + "yourPrompt": "Your Prompt:", + "points": "points", + "hints": "Hints", + "hintsUsed": "{used}/{total} used, each -5 points", + "revealNextHint": "Reveal Next Hint (-5 points)", + "submitForScoring": "Submit for Scoring", + "aiCallsRemaining": "AI calls remaining", + "excellent": "🎉 Excellent!", + "goodEffort": "👍 Good effort!", + "keepPracticing": "Keep practicing!", + "criteriaBreakdown": "Criteria Breakdown:", + "suggestionsForImprovement": "Suggestions for Improvement:", + "exampleSolution": "Example Solution", + "hide": "Hide", + "show": "Show", + "improveThisPrompt": "Improve This Prompt", + "improveThisPromptTask": "Improve this prompt to get better results", + "improvePromptTask": "Improve this prompt to get better results", + "originalWeakPrompt": "Original (Weak) Prompt", + "yourImprovedVersion": "Your Improved Version", + "compareWithAI": "Compare with AI", + "reset": "Reset", + "showIdealSolution": "Show Ideal Solution", + "hideIdealSolution": "Hide Ideal Solution", + "idealSolution": "Ideal Solution", + "yourVersionBetter": "🎉 Your version is better!", + "yourVersionIsBetter": "🎉 Your version is better!", + "keepImproving": "The original might still be better. Keep improving!", + "originalMightBeBetter": "The original might still be better. Keep improving!", + "keyDifferences": "Key Differences:", + "beginner": "beginner", + "intermediate": "intermediate", + "advanced": "advanced", + "youllHaveTime": "You'll have {time} to complete this challenge.", + "takeYourTime": "Take your time and craft the best prompt.", + "pleaseWritePromptBeforeSubmitting": "Please write a prompt before submitting", + "fillInTheBlanks": "Fill in the Blanks", + "perfect": "🎉 Perfect!", + "ofCorrect": "{score} / {total} correct", + "correctAnswer": "Correct answer:", + "checking": "Checking...", + "checkAnswers": "Check Answers", + "tryAgain": "Try Again", + "aiPoweredValidation": "AI-powered semantic validation", + "hintForBlank": "Hint:", + "wellStructuredPrompt": "🎉 Well-structured prompt!", + "consistencyIssuesFound": "Some consistency issues found", + "issues": "Issues:", + "aiValidationFailed": "AI validation failed. Using local validation.", + "aiCheckFailed": "AI check failed. Please try again.", + "checklist": "Checklist", + "complete": "complete", + "allDoneGreatWork": "🎉 All done! Great work!", + "debugThisPrompt": "Debug This Prompt", + "hideHint": "Hide hint", + "showHint": "Show hint", + "thePrompt": "The Prompt:", + "theOutputProblematic": "The Output (problematic):", + "whatsWrongWithThisPrompt": "What's wrong with this prompt?", + "jailbreakAttackSimulator": "Jailbreak Attack Simulator", + "selectAttackType": "Select an attack type to see how it works and test if AI defends against it:", + "systemPromptDefense": "System Prompt (Defense)", + "attackAttempt": "Attack Attempt", + "whatThisAttackDoes": "What this attack does:", + "testJailbreakDefense": "Test Jailbreak Defense", + "systemPromptLabel": "SYSTEM PROMPT", + "userAttemptsJailbreak": "USER ATTEMPTS JAILBREAK", + "sequentialChain": "Sequential Chain", + "parallelChain": "Parallel Chain", + "conditionalChain": "Conditional Chain", + "iterativeChain": "Iterative Chain", + "running": "Running...", + "run": "Run", + "outputLabel": "Output", + "skippedConditionNotMet": "Skipped - condition not met", + "iterationOf": "Iteration {current} of {total}", + "previousOutputAsInput": "Previous output as input", + "loopUntilQualityMet": "Loop until quality threshold met", + "chainErrorHandlingDemo": "Chain Error Handling Demo", + "attempt": "Attempt", + "retryingWithFeedback": "Retrying with error feedback...", + "switchingToFallback": "Switching to fallback approach...", + "failed": "Failed", + "retry": "Retry", + "fallback": "Fallback", + "contextPlayground": "Context Playground", + "toggleContextBlocks": "Toggle context blocks on/off to see how they combine. Watch the token count!", + "overContextLimit": "Over context limit! Some content will be truncated.", + "enableContextBlocksToBuild": "Enable some context blocks to build a prompt", + "testContext": "Test Context" + } } } diff --git a/messages/tr.json b/messages/tr.json index c52f108e..2b3b3b0a 100644 --- a/messages/tr.json +++ b/messages/tr.json @@ -1675,5 +1675,449 @@ "resetComplete": "İlerleme sıfırlandı! Yeniden yükleniyor...", "cancel": "İptal" } + }, + "book": { + "title": "İnteraktif Prompt Yazma Kitabı", + "subtitle": "Net ve Etkili Promptlar Hazırlamak için İnteraktif Bir Rehber", + "metaTitle": "İnteraktif Prompt Yazma Kitabı | Ücretsiz Online AI Prompt Mühendisliği Rehberi", + "metaDescription": "Bu ücretsiz, interaktif rehber ile AI prompt mühendisliğinde ustalaşın. ChatGPT promptları, düşünce zinciri muhakemesi, az örnekli öğrenme ve gelişmiş teknikleri öğrenin. Gerçek örneklerle 25+ bölüm.", + "interactiveGuideBy": "İnteraktif Rehber - Yazar:", + "authorIntro": "Merhaba, ben Fatih Kadir Akın. GitHub'daki popüler Awesome ChatGPT Prompts deposunun ve prompts.chat'in küratörüyüm.", + "bookDescription": "Bu kapsamlı ve interaktif rehberde, ilgi çekici ve etkili sohbetler sağlayan çarpıcı AI promptları oluşturmak için uzman stratejilerini keşfedeceksiniz. AI modellerinin nasıl çalıştığını anlamaktan prompt zincirleme ve ajantik sistemler gibi gelişmiş tekniklerde ustalaşmaya kadar, bu kitap AI etkileşimlerinizi bir üst seviyeye taşımak için ihtiyacınız olan araçları sağlar.", + "whatYouWillLearn": "Neler öğreneceksiniz:", + "highlights": { + "understanding": "AI modellerinin promptları nasıl düşündüğünü ve işlediğini anlama", + "crafting": "Net, spesifik ve etkili promptlar oluşturma", + "advanced": "Gelişmiş teknikler: düşünce zinciri, az örnekli öğrenme ve prompt zincirleme", + "interactive": "Doğrudan tarayıcıda deneyebileceğiniz interaktif örnekler", + "realWorld": "Yazarlık, kodlama, eğitim ve iş için gerçek dünya kullanım senaryoları", + "future": "Prompt yazımının geleceği: ajanlar ve ajantik sistemler" + }, + "bookStructure": "Kitap Yapısı", + "structure": { + "introduction": "Giriş", + "part1": "Bölüm 1: Temeller", + "part2": "Bölüm 2: Teknikler", + "part3": "Bölüm 3: Gelişmiş Stratejiler", + "part4": "Bölüm 4: En İyi Uygulamalar", + "part5": "Bölüm 5: Kullanım Senaryoları", + "part6": "Bölüm 6: Sonuç", + "chapters": "25 İnteraktif Bölüm" + }, + "startReading": "Okumaya Başla", + "skipToChapter1": "1. Bölüme Atla", + "continuousUpdate": "Bu kitap, AI geliştikçe yeni teknikler ve içgörülerle sürekli güncellenmektedir.", + "partOfProject": "Awesome ChatGPT Prompts projesinin bir parçası. CC0 lisansı altında.", + "kidsSection": { + "question": "Bir öğretmen veya ebeveyn misiniz?", + "title": "Çocuklar için Oynanabilir Kitabımızı Deneyin! 🎮", + "description": "Çocuklara (8-14 yaş) eğlenceli bulmacalar ve hikayeler aracılığıyla AI ile nasıl iletişim kuracaklarını öğreten interaktif, oyun tabanlı bir macera.", + "startPlaying": "Oynamaya Başla" + }, + "chapter": { + "notFound": "Bölüm Bulunamadı", + "comingSoon": "Bu bölüm yakında geliyor.", + "previous": "Önceki", + "next": "Sonraki" + }, + "tableOfContents": "İçindekiler", + "awesomeChatGPTPrompts": "Awesome ChatGPT Prompts", + "search": { + "placeholder": "Bölümlerde ara...", + "noResults": "Bölüm bulunamadı" + }, + "bookmark": { + "add": "Bu bölümü yer imlerine ekle", + "remove": "Yer imini kaldır", + "continueReading": "Kaldığınız yerden devam edin", + "continue": "Devam Et" + }, + "parts": { + "introduction": "Giriş", + "foundations": "Temeller", + "techniques": "Teknikler", + "advanced": "Gelişmiş Stratejiler", + "bestPractices": "En İyi Uygulamalar", + "useCases": "Kullanım Senaryoları", + "conclusion": "Sonuç" + }, + "chapters": { + "00a-preface": "Önsöz", + "00b-history": "Tarihçe", + "00c-introduction": "Giriş", + "01-understanding-ai-models": "AI Modellerini Anlamak", + "02-anatomy-of-effective-prompt": "Etkili Promptun Anatomisi", + "03-core-prompting-principles": "Temel Prompting İlkeleri", + "04-role-based-prompting": "Rol Tabanlı Prompting", + "05-structured-output": "Yapılandırılmış Çıktı", + "06-chain-of-thought": "Düşünce Zinciri", + "07-few-shot-learning": "Az Örnekli Öğrenme", + "08-iterative-refinement": "İteratif İyileştirme", + "09-json-yaml-prompting": "JSON ve YAML Prompting", + "10-system-prompts-personas": "Sistem Promptları ve Personalar", + "11-prompt-chaining": "Prompt Zincirleme", + "12-handling-edge-cases": "Uç Durumları Ele Alma", + "13-multimodal-prompting": "Çok Modlu Prompting", + "14-context-engineering": "Bağlam Mühendisliği", + "25-agents-and-skills": "Ajanlar ve Yetenekler", + "15-common-pitfalls": "Yaygın Tuzaklar", + "16-ethics-responsible-use": "Etik ve Sorumlu Kullanım", + "17-prompt-optimization": "Prompt Optimizasyonu", + "18-writing-content": "Yazarlık ve İçerik", + "19-programming-development": "Programlama ve Geliştirme", + "20-education-learning": "Eğitim ve Öğrenme", + "21-business-productivity": "İş ve Verimlilik", + "22-creative-arts": "Yaratıcı Sanatlar", + "23-research-analysis": "Araştırma ve Analiz", + "24-future-of-prompting": "Promptingin Geleceği" + }, + "chapterDescriptions": { + "00a-preface": "Yazardan kişisel bir not", + "00b-history": "Awesome ChatGPT Prompts'un hikayesi", + "00c-introduction": "Prompt mühendisliği nedir ve neden önemlidir", + "01-understanding-ai-models": "Büyük dil modelleri nasıl çalışır", + "02-anatomy-of-effective-prompt": "Promptları etkili yapan bileşenler", + "03-core-prompting-principles": "Daha iyi promptlar için temel ilkeler", + "04-role-based-prompting": "Personaları ve rolleri etkili kullanma", + "05-structured-output": "Tutarlı, formatlanmış yanıtlar alma", + "06-chain-of-thought": "Karmaşık görevler için adım adım muhakeme", + "07-few-shot-learning": "Örneklerle öğretme", + "08-iterative-refinement": "İterasyon yoluyla promptları iyileştirme", + "09-json-yaml-prompting": "Promptlarda yapılandırılmış veri formatları", + "10-system-prompts-personas": "Tutarlı AI kişilikleri oluşturma", + "11-prompt-chaining": "Birden fazla promptu bağlama", + "12-handling-edge-cases": "Beklenmedik girdilerle başa çıkma", + "13-multimodal-prompting": "Görüntü, ses ve video ile çalışma", + "14-context-engineering": "RAG, embedding'ler, fonksiyon çağırma ve MCP", + "25-agents-and-skills": "Yeniden kullanılabilir yetenek paketleriyle AI ajanları oluşturma", + "15-common-pitfalls": "Kaçınılması gereken hatalar", + "16-ethics-responsible-use": "AI'da etik değerlendirmeler", + "17-prompt-optimization": "Promptları test etme ve iyileştirme", + "18-writing-content": "İçerik oluşturma ve metin yazarlığı", + "19-programming-development": "Kod üretimi ve hata ayıklama", + "20-education-learning": "Öğretme ve öğrenme uygulamaları", + "21-business-productivity": "Profesyonel ve iş yeri uygulamaları", + "22-creative-arts": "Sanatsal ve yaratıcı uygulamalar", + "23-research-analysis": "Veri analizi ve araştırma görevleri", + "24-future-of-prompting": "Ortaya çıkan trendler ve ileriye bakış" + }, + "interactive": { + "tryIt": "Kendiniz Deneyin", + "copy": "Kopyala", + "copied": "Kopyalandı!", + "correct": "Doğru!", + "notQuite": "Tam değil.", + "nextTokenPrediction": "Sonraki Token Tahmini", + "watchHowAIPredicts": "AI'ın her adımda sonraki token'ı nasıl tahmin ettiğini izleyin", + "replay": "Tekrar Oynat", + "playing": "Oynatılıyor...", + "play": "Oynat", + "pressPlayToStart": "Başlamak için Oynat'a basın...", + "completingCurrentToken": "Mevcut token tamamlanıyor:", + "top3PredictedNextTokens": "En Olası 3 Sonraki Token:", + "howItWorks": "Nasıl çalışır:", + "howItWorksExplanation": "Her adımda model, tüm olası sonraki tokenlar için (~50.000+) olasılıkları hesaplar. En yüksek olasılıklı token seçilir, ardından işlem tekrarlanır.", + "tokenizerDemo": "Tokenizer Demosu", + "seeHowTextIsSplit": "Metnin token'lara nasıl ayrıldığını görün", + "enterText": "Metin girin:", + "tokens": "Token'lar", + "tryExamples": "Deneyin: \"Unbelievable\", \"ChatGPT is amazing\" veya kendi metninizi yazın", + "contextWindowVisualizer": "Bağlam Penceresi Görselleştirici", + "understandHowContextIsConsumed": "Bağlamın nasıl tüketildiğini anlayın", + "contextWindow": "Bağlam Penceresi", + "remaining": "kalan", + "prompt": "Prompt", + "response": "Yanıt", + "yourPrompt": "Promptunuz", + "aiResponse": "AI Yanıtı", + "contextOverflow": "Bağlam taşması!", + "contextOverflowMessage": "Promptunuz + yanıtınız bağlam penceresini aşıyor. Model kırpacak veya başarısız olacak. Prompt uzunluğunuzu azaltmayı veya daha kısa yanıtlar istemeyi deneyin.", + "tipLabel": "İpucu:", + "contextTip": "Hem promptunuz HEM DE AI'ın yanıtı bağlam penceresine sığmalıdır. Uzun promptlar yanıtlar için daha az yer bırakır. Önemli bilgileri promptunuzun başına koyun.", + "temperatureDemo": "Sıcaklık Demosu", + "seeHowRandomnessAffects": "Rastgeleliğin çıktıları nasıl etkilediğini görün", + "temperature": "Sıcaklık", + "deterministic": "Belirleyici", + "balanced": "Dengeli", + "creative": "Yaratıcı", + "veryCreative": "Çok Yaratıcı", + "focused": "Odaklı", + "random": "Rastgele", + "possibleResponsesAtThisTemp": "Bu sıcaklıkta olası yanıtlar:", + "useLowTemperature": "Düşük sıcaklık kullanın", + "useHighTemperature": "Yüksek sıcaklık kullanın", + "forFactualAnswers": "olgusal, tutarlı cevaplar için.", + "forCreativeWriting": "yaratıcı yazarlık ve beyin fırtınası için.", + "structuredOutputDemo": "Yapılandırılmış Çıktı Demosu", + "seeTheDifferenceStructureMakes": "Yapının ne kadar fark yarattığını görün", + "unstructured": "Yapılandırılmamış", + "output": "Çıktı:", + "youCan": "Yapabilirsiniz:", + "parseProgrammatically": "Programatik olarak ayrıştır", + "compareAcrossQueries": "Sorgular arasında karşılaştır", + "integrateIntoWorkflows": "İş akışlarına entegre et", + "validateForCompleteness": "Tamlık için doğrula", + "parseProgrammaticallyLabel": "Programatik olarak ayrıştır:", + "complexRegexRequired": "Karmaşık regex veya NLP gerekli", + "unreliableBreaksWithChanges": "Güvenilmez, küçük ifade değişikliklerinde bozulur", + "simpleAndReliable": "Basit ve güvenilir", + "parseableWithMarkdown": "Markdown kütüphanesiyle ayrıştırılabilir", + "fewShotLearningDemo": "Az Örnekli Öğrenme Demosu", + "seeHowExamplesImproveAccuracy": "Örneklerin doğruluğu nasıl artırdığını görün", + "numberOfExamples": "Örnek sayısı", + "zeroShot": "Sıfır örnek", + "oneShot": "Bir örnek", + "twoShot": "İki örnek", + "threeShot": "Üç örnek", + "examplesProvided": "Verilen örnekler:", + "testInput": "Test girdisi:", + "modelPrediction": "Model tahmini:", + "confidence": "Güven:", + "expected": "Beklenen:", + "formatComparison": "Format Karşılaştırması", + "sameDataDifferentFormats": "Aynı veri, farklı formatlar", + "defineStructureWithTypeScript": "TypeScript arayüzleriyle yapıyı tanımlayın", + "machineReadableStrictSyntax": "Makine tarafından okunabilir, katı sözdizimi, API'ler için harika", + "humanReadableSupportsComments": "İnsan tarafından okunabilir, yorumları destekler, yapılandırma için harika", + "defineSchema": "Şema tanımla", + "apisAndParsing": "API'ler ve ayrıştırma", + "configFiles": "Yapılandırma dosyaları", + "iterativeRefinementDemo": "İteratif İyileştirme Demosu", + "watchAPromptEvolve": "Bir promptun gelişimini izleyin", + "pause": "Duraklat", + "versionXOfY": "Sürüm {current} / {total}", + "newInThisVersion": "Bu sürümde yeni", + "quality": "Kalite", + "issue": "Sorun:", + "success": "✓ Başarılı!", + "successMessage": "Prompt artık yüksek kaliteli, tutarlı çıktı üretiyor.", + "apiCostCalculator": "API Maliyet Hesaplayıcı", + "inputTokens": "Girdi Token'ları (istek başına)", + "outputTokens": "Çıktı Token'ları (istek başına)", + "inputPrice": "Girdi Fiyatı (1M token başına $)", + "outputPrice": "Çıktı Fiyatı (1M token başına $)", + "requestsPerDay": "Günlük İstek Sayısı", + "perRequest": "İstek Başına", + "dailyCost": "Günlük Maliyet", + "monthlyCost": "Aylık Maliyet", + "textToImageBuildPrompt": "Metinden Görüntüye: Promptunuzu Oluşturun", + "selectOptionsToBuiltImagePrompt": "Bir görüntü promptu oluşturmak için her kategoriden seçenekler seçin:", + "generatedPrompt": "Oluşturulan Prompt", + "simulateDiffusionProcess": "Difüzyon Sürecini Simüle Et", + "diffusionStep1": "Rastgele gürültüden başla", + "diffusionStep2": "Kaba şekilleri algıla", + "diffusionStep3": "Temel renkleri ve formları ekle", + "diffusionStep4": "Detayları iyileştir", + "diffusionStep5": "Son görüntü", + "diffusionExplanation": "Gerçek difüzyon modelleri binlerce adım çalıştırır ve tutarlı bir görüntü ortaya çıkana kadar gürültüyü kademeli olarak kaldırır.", + "textToVideoBuildPrompt": "Metinden Videoya: Promptunuzu Oluşturun", + "videoPromptsNeed": "Video promptları hareket, kamera çalışması ve zamanlama gerektirir:", + "playAnimation": "Animasyonu Oynat", + "stop": "Durdur", + "frame": "Kare:", + "consistency": "Tutarlılık:", + "consistencyDesc": "Konu kareler arasında aynı kalır", + "motion": "Hareket:", + "motionDesc": "Konum zaman içinde yumuşak bir şekilde değişir", + "physics": "Fizik:", + "physicsDesc": "Hareket doğal yasalara uyar", + "simplifiedAnimationPreview": "Basitleştirilmiş animasyon önizlemesi", + "videoModelExplanation": "Gerçek video modelleri saniyede 24-60 kare üretir, fotorealistik detay ve tutarlı konularla.", + "embeddingsVisualization": "Gömme Vektörleri Görselleştirmesi", + "clickWordToSeeVector": "Vektörünü ve diğer kelimelerle benzerliğini görmek için bir kelimeye tıklayın:", + "vector": "vektörü", + "similarityTo": "Benzerlik:", + "embeddingsExplanation": "Benzer anlamlara sahip kelimeler (\"mutlu\" ve \"neşeli\" gibi) benzer vektörlere sahiptir ve yüksek benzerlik puanları elde eder.", + "canDoWell": "İyi Yapabilir", + "cannotDo": "Yapamaz", + "promptBuilder": "Prompt Oluşturucu", + "buildYourPromptStepByStep": "Promptunuzu adım adım oluşturun", + "pleaseAddTask": "Lütfen promptunuza en az bir görev ekleyin", + "rateLimitReached": "Hız sınırına ulaşıldı. Tekrar deneyin:", + "orSignInForMore": "veya daha fazlası için giriş yapın.", + "failedToRunPrompt": "Prompt çalıştırılamadı", + "runWithAI": "AI ile Çalıştır", + "failedToConnectApi": "API'ye bağlanılamadı", + "day": "gün", + "promptAnalyzer": "Prompt Analizörü", + "getAiFeedbackOnPrompt": "Promptunuz hakkında AI geri bildirimi alın", + "pasteOrWritePromptHere": "Promptunuzu buraya yapıştırın veya yazın...", + "analyze": "Analiz Et", + "pleaseEnterPromptToAnalyze": "Lütfen analiz etmek için bir prompt girin", + "failedToAnalyzePrompt": "Prompt analiz edilemedi", + "clarity": "Netlik", + "specificity": "Özgüllük", + "missingElements": "Eksik Öğeler", + "suggestions": "Öneriler", + "improvedVersion": "İyileştirilmiş Versiyon", + "summarizationStrategies": "Özetleme Stratejileri", + "originalConversation": "Orijinal Konuşma", + "after": "Sonra:", + "summary": "Özet", + "keptMessages": "Korunan Mesajlar", + "saved": "Tasarruf:", + "part": "Bölüm", + "demoExamples": { + "tokenPrediction": { + "tokens": ["Türkiye", "'nin", " başkenti", " Ankara", "'dır", "."], + "fullText": "Türkiye'nin başkenti Ankara'dır." + }, + "tokenizer": { + "default": "Merhaba, dünya!", + "samples": { + "Merhaba, dünya!": ["Mer", "ha", "ba", ",", " dün", "ya", "!"], + "İnanılmaz": ["İna", "nıl", "maz"], + "Yapay zeka harika": ["Ya", "pay", " ze", "ka", " ha", "ri", "ka"], + "Hızlı kahverengi tilki": ["Hız", "lı", " kah", "ve", "ren", "gi", " til", "ki"], + "Prompt mühendisliği": ["Prom", "pt", " mü", "hen", "dis", "li", "ği"] + }, + "tryExamples": "Deneyin: \"İnanılmaz\", \"Yapay zeka harika\" veya kendi metninizi yazın" + }, + "temperature": { + "prompt": "Türkiye'nin başkenti neresidir?", + "lowTemp": [ + "Türkiye'nin başkenti Ankara'dır.", + "Türkiye'nin başkenti Ankara'dır.", + "Türkiye'nin başkenti Ankara'dır." + ], + "mediumLowTemp": [ + "Türkiye'nin başkenti Ankara'dır.", + "Ankara, Türkiye'nin başkentidir.", + "Türkiye'nin başkenti Ankara, büyük bir Anadolu şehridir." + ], + "mediumHighTemp": [ + "Ankara, Türkiye'nin başkenti olarak hizmet vermektedir.", + "Türkiye'nin başkenti, Anıtkabir'in bulunduğu Ankara'dır.", + "Türkiye'nin başkenti tarihi ve modern Ankara şehridir." + ], + "highTemp": [ + "Ankara, Cumhuriyet'in kalbi, gururla Türkiye'nin başkenti olarak parlıyor!", + "Türkiye'nin romantik başkenti, kültür ve tarih şehri Ankara'dan başkası değil.", + "Türkiye, sanat ve kültür şehri Ankara'yı başkent olarak seçti." + ] + }, + "fewShot": { + "examples": [ + { "input": "Bu ürünü çok sevdim!", "output": "Olumlu" }, + { "input": "Berbat bir deneyim, para israfı", "output": "Olumsuz" }, + { "input": "Fena değil, özel bir şey yok", "output": "Nötr" } + ], + "testCase": { "input": "Kalitesi harika ama kargo yavaştı", "expected": "Karışık" }, + "labels": { + "positive": "Olumlu", + "negative": "Olumsuz", + "neutral": "Nötr", + "mixed": "Karışık" + } + } + }, + "promptChallenge": "Prompt Mücadelesi", + "yourTask": "Göreviniz:", + "yourPromptWillBeScoredOn": "Promptunuz şunlara göre puanlanacak:", + "startChallenge": "Mücadeleyi Başlat", + "writeYourPromptHere": "Promptunuzu buraya yazın...", + "yourPrompt": "Promptunuz:", + "points": "puan", + "hints": "İpuçları", + "hintsUsed": "{used}/{total} kullanıldı, her biri -5 puan", + "revealNextHint": "Sonraki İpucunu Göster (-5 puan)", + "submitForScoring": "Puanlama İçin Gönder", + "aiCallsRemaining": "AI çağrısı kaldı", + "excellent": "🎉 Mükemmel!", + "goodEffort": "👍 İyi çaba!", + "keepPracticing": "Pratik yapmaya devam edin!", + "criteriaBreakdown": "Kriter Dağılımı:", + "suggestionsForImprovement": "İyileştirme Önerileri:", + "exampleSolution": "Örnek Çözüm", + "hide": "Gizle", + "show": "Göster", + "improveThisPrompt": "Bu Promptu İyileştirin", + "improveThisPromptTask": "Daha iyi sonuçlar almak için bu promptu iyileştirin", + "originalWeakPrompt": "Orijinal (Zayıf) Prompt", + "yourImprovedVersion": "İyileştirilmiş Sürümünüz", + "compareWithAI": "AI ile Karşılaştır", + "reset": "Sıfırla", + "idealSolution": "İdeal Çözüm", + "yourVersionIsBetter": "🎉 Sürümünüz daha iyi!", + "originalMightBeBetter": "Orijinal hala daha iyi olabilir. İyileştirmeye devam edin!", + "keyDifferences": "Temel Farklar:", + "beginner": "başlangıç", + "intermediate": "orta", + "advanced": "ileri", + "youllHaveTime": "{time} süreniz olacak bu mücadeleyi tamamlamak için.", + "takeYourTime": "Acele etmeyin, en iyi promptu hazırlayın.", + "pleaseWritePromptBeforeSubmitting": "Göndermeden önce lütfen bir prompt yazın", + "fillInTheBlanks": "Boşlukları Doldurun", + "perfect": "🎉 Mükemmel!", + "ofCorrect": "{score} / {total} doğru", + "correctAnswer": "Doğru cevap:", + "checking": "Kontrol ediliyor...", + "checkAnswers": "Cevapları Kontrol Et", + "tryAgain": "Tekrar Dene", + "aiPoweredValidation": "AI destekli semantik doğrulama", + "hintForBlank": "İpucu:", + "wellStructuredPrompt": "🎉 İyi yapılandırılmış prompt!", + "consistencyIssuesFound": "Bazı tutarlılık sorunları bulundu", + "issues": "Sorunlar:", + "suggestions": "Öneriler:", + "rateLimitReached": "İstek limiti aşıldı.", + "aiValidationFailed": "AI doğrulaması başarısız. Yerel doğrulama kullanılıyor.", + "aiCheckFailed": "AI kontrolü başarısız. Lütfen tekrar deneyin.", + "checklist": "Kontrol Listesi", + "complete": "tamamlandı", + "allDoneGreatWork": "🎉 Hepsi tamam! Harika iş!", + "debugThisPrompt": "Bu Promptu Hata Ayıkla", + "hideHint": "İpucunu gizle", + "showHint": "İpucu göster", + "thePrompt": "Prompt:", + "theOutputProblematic": "Çıktı (sorunlu):", + "whatsWrongWithThisPrompt": "Bu promptta yanlış olan ne?", + "improveThisPrompt": "Bu Promptu İyileştir", + "improvePromptTask": "Daha iyi sonuçlar almak için bu promptu iyileştirin", + "originalWeakPrompt": "Orijinal (Zayıf) Prompt", + "yourImprovedVersion": "İyileştirilmiş Versiyonunuz", + "compareWithAI": "AI ile Karşılaştır", + "reset": "Sıfırla", + "showIdealSolution": "İdeal Çözümü Göster", + "hideIdealSolution": "İdeal Çözümü Gizle", + "idealSolution": "İdeal Çözüm", + "yourVersionBetter": "🎉 Sizin versiyonunuz daha iyi!", + "keepImproving": "Orijinal hala daha iyi olabilir. İyileştirmeye devam edin!", + "keyDifferences": "Temel Farklar:", + "jailbreakAttackSimulator": "Jailbreak Saldırı Simülatörü", + "selectAttackType": "Nasıl çalıştığını görmek ve AI'ın buna karşı savunma yapıp yapmadığını test etmek için bir saldırı türü seçin:", + "systemPromptDefense": "Sistem Promptu (Savunma)", + "attackAttempt": "Saldırı Girişimi", + "whatThisAttackDoes": "Bu saldırı ne yapar:", + "testJailbreakDefense": "Jailbreak Savunmasını Test Et", + "systemPromptLabel": "SİSTEM PROMPTU", + "userAttemptsJailbreak": "KULLANICI JAILBREAK DENİYOR", + "sequentialChain": "Sıralı Zincir", + "parallelChain": "Paralel Zincir", + "conditionalChain": "Koşullu Zincir", + "iterativeChain": "Yinelemeli Zincir", + "running": "Çalışıyor...", + "run": "Çalıştır", + "prompt": "Prompt", + "outputLabel": "Çıktı", + "skippedConditionNotMet": "Atlandı - koşul sağlanmadı", + "iterationOf": "{current}. yineleme / {total}", + "previousOutputAsInput": "Önceki çıktı girdi olarak", + "loopUntilQualityMet": "Kalite eşiğine ulaşana kadar döngü", + "chainErrorHandlingDemo": "Zincir Hata İşleme Demosu", + "attempt": "Deneme", + "retryingWithFeedback": "Hata geri bildirimiyle yeniden deneniyor...", + "switchingToFallback": "Yedek yaklaşıma geçiliyor...", + "success": "Başarılı", + "failed": "Başarısız", + "retry": "Yeniden Dene", + "fallback": "Yedek", + "contextPlayground": "Bağlam Oyun Alanı", + "tokens": "token", + "toggleContextBlocks": "Bağlam bloklarını açıp kapatarak nasıl birleştiklerini görün. Token sayısını takip edin!", + "overContextLimit": "Bağlam limiti aşıldı! Bazı içerikler kırpılacak.", + "enableContextBlocksToBuild": "Bir prompt oluşturmak için bazı bağlam bloklarını etkinleştirin", + "testContext": "Bağlamı Test Et" + } } } diff --git a/packages/prompts.chat/package.json b/packages/prompts.chat/package.json index c176104f..f4829add 100644 --- a/packages/prompts.chat/package.json +++ b/packages/prompts.chat/package.json @@ -62,7 +62,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/f/awesome-chatgpt-prompts" + "url": "https://github.com/f/prompts.chat" }, "homepage": "https://prompts.chat", "author": "Fatih Kadir Akın ", diff --git a/packages/prompts.chat/src/cli/new.ts b/packages/prompts.chat/src/cli/new.ts index 5947fda3..c6f3e54c 100644 --- a/packages/prompts.chat/src/cli/new.ts +++ b/packages/prompts.chat/src/cli/new.ts @@ -2,7 +2,7 @@ import { spawn, execSync } from 'child_process'; import { existsSync, rmSync, readdirSync } from 'fs'; import { join, resolve } from 'path'; -const REPO = 'f/awesome-chatgpt-prompts'; +const REPO = 'f/prompts.chat'; interface NewOptions { directory: string; diff --git a/packages/raycast-extension/README.md b/packages/raycast-extension/README.md index 719e695b..87344e5a 100644 --- a/packages/raycast-extension/README.md +++ b/packages/raycast-extension/README.md @@ -53,4 +53,4 @@ You can use this extension with self-hosted instances of prompts.chat by changin ## Links - [prompts.chat](https://prompts.chat) — Browse prompts on the web -- [GitHub Repository](https://github.com/f/awesome-chatgpt-prompts) — Source code and contributions +- [GitHub Repository](https://github.com/f/prompts.chat) — Source code and contributions diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 97be62fb..1f4649a2 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -302,7 +302,7 @@ export default async function AboutPage() {

{t.rich("story1Rich", { repoLink: (chunks) => ( - + {chunks} ), @@ -430,7 +430,7 @@ export default async function AboutPage() {

  • {t.rich("githubStars", { link: (chunks) => ( - + {chunks} ), @@ -457,7 +457,7 @@ export default async function AboutPage() {
  • {t.rich("huggingFace", { link: (chunks) => ( - + {chunks} ), @@ -687,7 +687,7 @@ export default async function AboutPage() { /> ))} {t("viewAllContributors")}{" "} ; @@ -19,9 +20,10 @@ export async function generateStaticParams() { export async function generateMetadata({ params }: ChapterPageProps): Promise { const { slug } = await params; const chapter = getChapterBySlug(slug); + const t = await getTranslations("book"); if (!chapter) { - return { title: "Chapter Not Found" }; + return { title: t("chapter.notFound") }; } const description = chapter.description @@ -89,14 +91,72 @@ export default async function ChapterPage({ params }: ChapterPageProps) { const { prev, next } = getAdjacentChapters(slug); + const t = await getTranslations("book"); + const locale = await getLocale(); + + // Get translated title and description + const getChapterTitle = () => { + try { + const translated = t(`chapters.${slug}`); + return translated !== `chapters.${slug}` ? translated : chapter.title; + } catch { + return chapter.title; + } + }; + + const getChapterDescription = () => { + try { + const translated = t(`chapterDescriptions.${slug}`); + return translated !== `chapterDescriptions.${slug}` ? translated : chapter.description; + } catch { + return chapter.description; + } + }; + + const getPartName = () => { + const partKeys: Record = { + "Introduction": "introduction", + "Foundations": "foundations", + "Techniques": "techniques", + "Advanced": "advanced", + "Best Practices": "bestPractices", + "Use Cases": "useCases", + "Conclusion": "conclusion", + }; + const key = partKeys[chapter.part]; + if (key) { + try { + const translated = t(`parts.${key}`); + return translated !== `parts.${key}` ? translated : chapter.part; + } catch { + return chapter.part; + } + } + return chapter.part; + }; + + const chapterTitle = getChapterTitle(); + const chapterDescription = getChapterDescription(); + const partName = getPartName(); + let Content; try { - Content = (await import(`@/content/book/${slug}.mdx`)).default; + // Try to load locale-specific content first, fall back to English + if (locale !== "en") { + try { + Content = (await import(`@/content/book/${locale}/${slug}.mdx`)).default; + } catch { + // Fall back to English content + Content = (await import(`@/content/book/${slug}.mdx`)).default; + } + } else { + Content = (await import(`@/content/book/${slug}.mdx`)).default; + } } catch { Content = () => (

    - This chapter is coming soon. + {t("chapter.comingSoon")}

    ); @@ -107,15 +167,15 @@ export default async function ChapterPage({ params }: ChapterPageProps) { {/* Chapter Header */}
    - {chapter.part} + {partName}
    -

    {chapter.title}

    +

    {chapterTitle}

    - {chapter.description && ( + {chapterDescription && (

    - {chapter.description} + {chapterDescription}

    )}
    @@ -131,8 +191,15 @@ export default async function ChapterPage({ params }: ChapterPageProps) { ) : ( @@ -141,8 +208,15 @@ export default async function ChapterPage({ params }: ChapterPageProps) { {next ? ( diff --git a/src/app/book/page.tsx b/src/app/book/page.tsx index 57d20f9e..d68776b9 100644 --- a/src/app/book/page.tsx +++ b/src/app/book/page.tsx @@ -5,73 +5,81 @@ import { ArrowRight, BookOpen, Sparkles, Brain, Layers, Target, Lightbulb, Gamep import { Button } from "@/components/ui/button"; import type { Metadata } from "next"; import { PixelRobot } from "@/components/kids/elements/pixel-art"; +import { getTranslations } from "next-intl/server"; +import { ContinueReadingButton } from "@/components/book/continue-reading"; const kidsFont = Schoolbell({ subsets: ["latin"], weight: "400", }); -export const metadata: Metadata = { - title: "The Interactive Book of Prompting | Free Online Guide to AI Prompt Engineering", - description: "Master AI prompt engineering with this free, interactive guide. Learn ChatGPT prompts, chain-of-thought reasoning, few-shot learning, and advanced techniques. 25+ chapters with real examples.", - keywords: [ - "prompt engineering", - "ChatGPT prompts", - "AI prompts", - "prompt engineering guide", - "prompt engineering book", - "how to write prompts", - "AI prompt techniques", - "chain of thought prompting", - "few-shot learning", - "prompt chaining", - "system prompts", - "LLM prompts", - "GPT prompts", - "Claude prompts", - "AI communication", - ], - authors: [{ name: "Fatih Kadir Akın", url: "https://github.com/f" }], - creator: "Fatih Kadir Akın", - publisher: "prompts.chat", - openGraph: { - title: "The Interactive Book of Prompting", - description: "Master AI prompt engineering with this free, interactive guide. Learn ChatGPT prompts, chain-of-thought reasoning, few-shot learning, and 25+ chapters of advanced techniques.", - url: "https://prompts.chat/book", - siteName: "prompts.chat", - images: [ - { - url: "https://prompts.chat/book-cover-photo.jpg", - width: 1200, - height: 630, - alt: "The Interactive Book of Prompting - Free AI Prompt Engineering Guide", - }, +export async function generateMetadata(): Promise { + const t = await getTranslations("book"); + const title = t("title"); + const description = t("metaDescription"); + + return { + title: t("metaTitle"), + description, + keywords: [ + "prompt engineering", + "ChatGPT prompts", + "AI prompts", + "prompt engineering guide", + "prompt engineering book", + "how to write prompts", + "AI prompt techniques", + "chain of thought prompting", + "few-shot learning", + "prompt chaining", + "system prompts", + "LLM prompts", + "GPT prompts", + "Claude prompts", + "AI communication", ], - locale: "en_US", - type: "book", - }, - twitter: { - card: "summary_large_image", - title: "The Interactive Book of Prompting", - description: "Master AI prompt engineering with this free, interactive guide. 25+ chapters with real examples.", - images: ["https://prompts.chat/book-cover-photo.jpg"], - creator: "@fkadev", - }, - alternates: { - canonical: "https://prompts.chat/book", - }, - robots: { - index: true, - follow: true, - googleBot: { + authors: [{ name: "Fatih Kadir Akın", url: "https://github.com/f" }], + creator: "Fatih Kadir Akın", + publisher: "prompts.chat", + openGraph: { + title, + description, + url: "https://prompts.chat/book", + siteName: "prompts.chat", + images: [ + { + url: "https://prompts.chat/book-cover-photo.jpg", + width: 1200, + height: 630, + alt: title, + }, + ], + locale: "en_US", + type: "book", + }, + twitter: { + card: "summary_large_image", + title, + description, + images: ["https://prompts.chat/book-cover-photo.jpg"], + creator: "@fkadev", + }, + alternates: { + canonical: "https://prompts.chat/book", + }, + robots: { index: true, follow: true, - "max-video-preview": -1, - "max-image-preview": "large", - "max-snippet": -1, + googleBot: { + index: true, + follow: true, + "max-video-preview": -1, + "max-image-preview": "large", + "max-snippet": -1, + }, }, - }, -}; + }; +} // JSON-LD structured data for SEO const jsonLd = { @@ -104,14 +112,16 @@ const jsonLd = { license: "https://creativecommons.org/publicdomain/zero/1.0/", }; -export default function BookHomePage() { +export default async function BookHomePage() { + const t = await getTranslations("book"); + const highlights = [ - { icon: Brain, text: "Understanding how AI models think and process prompts" }, - { icon: Target, text: "Crafting clear, specific, and effective prompts" }, - { icon: Layers, text: "Advanced techniques: chain-of-thought, few-shot learning, and prompt chaining" }, - { icon: Sparkles, text: "Interactive examples you can try directly in the browser" }, - { icon: Lightbulb, text: "Real-world use cases for writing, coding, education, and business" }, - { icon: BookOpen, text: "The future of prompting: agents and agentic systems" }, + { icon: Brain, text: t("highlights.understanding") }, + { icon: Target, text: t("highlights.crafting") }, + { icon: Layers, text: t("highlights.advanced") }, + { icon: Sparkles, text: t("highlights.interactive") }, + { icon: Lightbulb, text: t("highlights.realWorld") }, + { icon: BookOpen, text: t("highlights.future") }, ]; return ( @@ -122,12 +132,15 @@ export default function BookHomePage() { dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} />
    + {/* Continue Reading Button */} + + {/* Book Cover Image */}
    The Interactive Book of Prompting -

    An Interactive Guide by

    +

    {t("interactiveGuideBy")}

    Fatih Kadir Akın

    - The Interactive Book of Prompting + {t("title")}

    - An Interactive Guide to Crafting Clear and Effective Prompts + {t("subtitle")}

    {/* Author Introduction */}

    - Hi, I'm Fatih Kadir Akın, the curator of the popular{" "} - - Awesome ChatGPT Prompts - {" "} - repository on GitHub and prompts.chat. + {t.rich("authorIntro", { + author: (chunks) => {chunks}, + repoLink: (chunks) => {chunks}, + siteName: (chunks) => {chunks}, + })}

    - In this comprehensive and interactive guide, you'll discover expert strategies for crafting - compelling AI prompts that drive engaging and effective conversations. From understanding - how AI models work to mastering advanced techniques like prompt chaining and agentic systems, - this book provides you with the tools you need to take your AI interactions to the next level. + {t("bookDescription")}

    {/* Highlights */}
    -

    What you'll learn:

    +

    {t("whatYouWillLearn")}

    {highlights.map((item, index) => (
    @@ -179,16 +189,16 @@ export default function BookHomePage() { {/* Book Structure */}
    -

    Book Structure

    +

    {t("bookStructure")}

    -
    • Introduction
    -
    • Part 1: Foundations
    -
    • Part 2: Techniques
    -
    • Part 3: Advanced Strategies
    -
    • Part 4: Best Practices
    -
    • Part 5: Use Cases
    -
    • Part 6: Conclusion
    -
    • 25 Interactive Chapters
    +
    • {t("structure.introduction")}
    +
    • {t("structure.part1")}
    +
    • {t("structure.part2")}
    +
    • {t("structure.part3")}
    +
    • {t("structure.part4")}
    +
    • {t("structure.part5")}
    +
    • {t("structure.part6")}
    +
    • {t("structure.chapters")}
    @@ -196,20 +206,20 @@ export default function BookHomePage() {
    {/* Note */}
    -

    This book is continuously updated with new techniques and insights as AI evolves.

    +

    {t("continuousUpdate")}

    {/* Kids Playable Book Section */} @@ -220,18 +230,18 @@ export default function BookHomePage() {

    - Are you a school teacher or a parent? + {t("kidsSection.question")}

    - Try our Playable Book for Kids! 🎮 + {t("kidsSection.title")}

    - An interactive, game-based adventure to teach children (ages 8-14) how to communicate with AI through fun puzzles and stories. + {t("kidsSection.description")}

    @@ -242,11 +252,9 @@ export default function BookHomePage() { {/* Footer */}

    - Part of the{" "} - - Awesome ChatGPT Prompts - {" "} - project. Licensed under CC0. + {t.rich("partOfProject", { + repoLink: (chunks) => {chunks}, + })}

    diff --git a/src/app/docs/api/page.tsx b/src/app/docs/api/page.tsx index f4cdd09b..daa31988 100644 --- a/src/app/docs/api/page.tsx +++ b/src/app/docs/api/page.tsx @@ -926,7 +926,7 @@ curl "${baseUrl}/api/prompts/{id}"`}

    For issues and feature requests, please open a{" "}

    Quick Start

    # Clone the repository

    -

    git clone https://github.com/f/awesome-chatgpt-prompts.git

    -

    cd awesome-chatgpt-prompts

    +

    git clone https://github.com/f/prompts.chat.git

    +

    cd prompts.chat

    # Install dependencies

    npm install

    # Configure environment

    @@ -564,7 +564,7 @@ export default function SelfHostingPage() {

    For issues and questions, please open a{" "} . For the complete documentation, see the{" "} {!useCloneBranding && (

    -

    “Love the community explorations of ChatGPT, from capabilities (https://github.com/f/awesome-chatgpt-prompts) to limitations (...). No substitute for the collective power of the internet when it comes to plumbing the uncharted depths of a new deep learning model.”

    +

    “Love the community explorations of ChatGPT, from capabilities (https://github.com/f/prompts.chat) to limitations (...). No substitute for the collective power of the internet when it comes to plumbing the uncharted depths of a new deep learning model.”

    {/* Wojciech Zaremba */} @@ -427,7 +427,7 @@ export default async function HomePage() {

    Co-Founder at OpenAI · Dec 10, 2022

    -

    “I love it! https://github.com/f/awesome-chatgpt-prompts”

    +

    “I love it! https://github.com/f/prompts.chat”

    {/* Clement Delangue */} diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx index 89633d73..1f0d1b5a 100644 --- a/src/app/privacy/page.tsx +++ b/src/app/privacy/page.tsx @@ -118,7 +118,7 @@ export default function PrivacyPage() {

    Open Source

    This platform is open source. You can review the code and self-host your own instance at{" "} - + GitHub .

    diff --git a/src/app/support/page.tsx b/src/app/support/page.tsx index d3ded59d..400bc084 100644 --- a/src/app/support/page.tsx +++ b/src/app/support/page.tsx @@ -11,7 +11,7 @@ import { Label } from "@/components/ui/label"; import { ExternalLink, MessageCircleQuestion, ChevronDown } from "lucide-react"; import { cn } from "@/lib/utils"; -const GITHUB_ISSUE_BASE_URL = "https://github.com/f/awesome-chatgpt-prompts/issues/new"; +const GITHUB_ISSUE_BASE_URL = "https://github.com/f/prompts.chat/issues/new"; interface FAQItemProps { question: string; diff --git a/src/app/terms/page.tsx b/src/app/terms/page.tsx index 1725e6dc..6cb92b5a 100644 --- a/src/app/terms/page.tsx +++ b/src/app/terms/page.tsx @@ -175,7 +175,7 @@ export default function TermsPage() { While all content is released under CC0 (public domain), we strive to maintain accurate attribution for prompts. If you believe the attribution on a prompt is incorrect (for example, if you are the original author but not credited), please open an issue on our{" "} - + GitHub repository {" "} or use the form on our{" "} @@ -214,7 +214,7 @@ export default function TermsPage() {

    Open Source

    This platform is open source and available at{" "} - + GitHub . You are free to self-host your own instance under the project's license. diff --git a/src/components/book/continue-reading.tsx b/src/components/book/continue-reading.tsx new file mode 100644 index 00000000..01a6a7da --- /dev/null +++ b/src/components/book/continue-reading.tsx @@ -0,0 +1,47 @@ +"use client"; + +import Link from "next/link"; +import { useTranslations } from "next-intl"; +import { Bookmark, ArrowRight } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { useBookmark } from "./sidebar"; +import { getChapterBySlug } from "@/lib/book/chapters"; + +export function ContinueReadingButton() { + const { bookmark } = useBookmark(); + const t = useTranslations("book"); + + if (!bookmark) return null; + + const chapter = getChapterBySlug(bookmark); + if (!chapter) return null; + + const getChapterTitle = () => { + try { + const translated = t(`chapters.${bookmark}`); + return translated !== `chapters.${bookmark}` ? translated : chapter.title; + } catch { + return chapter.title; + } + }; + + return ( +

    +
    +
    + +
    +
    +

    {t("bookmark.continueReading")}

    +

    {getChapterTitle()}

    +
    + +
    +
    + ); +} diff --git a/src/components/book/elements/ai-demos.tsx b/src/components/book/elements/ai-demos.tsx index 6cf67ca4..9b073536 100644 --- a/src/components/book/elements/ai-demos.tsx +++ b/src/components/book/elements/ai-demos.tsx @@ -1,8 +1,9 @@ "use client"; -import { useState } from "react"; +import { useState, useMemo } from "react"; import { Check, X } from "lucide-react"; import { cn } from "@/lib/utils"; +import { useTranslations, useLocale } from "next-intl"; // Embeddings Demo interface EmbeddingWord { @@ -11,15 +12,26 @@ interface EmbeddingWord { color: string; } -const embeddingWords: EmbeddingWord[] = [ - { word: "happy", vector: [0.82, 0.75, 0.15, 0.91], color: "amber" }, - { word: "joyful", vector: [0.79, 0.78, 0.18, 0.88], color: "amber" }, - { word: "delighted", vector: [0.76, 0.81, 0.21, 0.85], color: "amber" }, - { word: "sad", vector: [0.18, 0.22, 0.85, 0.12], color: "blue" }, - { word: "unhappy", vector: [0.21, 0.19, 0.82, 0.15], color: "blue" }, - { word: "angry", vector: [0.45, 0.12, 0.72, 0.35], color: "red" }, - { word: "furious", vector: [0.48, 0.09, 0.78, 0.32], color: "red" }, -]; +const embeddingWordsLocale: Record = { + en: [ + { word: "happy", vector: [0.82, 0.75, 0.15, 0.91], color: "amber" }, + { word: "joyful", vector: [0.79, 0.78, 0.18, 0.88], color: "amber" }, + { word: "delighted", vector: [0.76, 0.81, 0.21, 0.85], color: "amber" }, + { word: "sad", vector: [0.18, 0.22, 0.85, 0.12], color: "blue" }, + { word: "unhappy", vector: [0.21, 0.19, 0.82, 0.15], color: "blue" }, + { word: "angry", vector: [0.45, 0.12, 0.72, 0.35], color: "red" }, + { word: "furious", vector: [0.48, 0.09, 0.78, 0.32], color: "red" }, + ], + tr: [ + { word: "mutlu", vector: [0.82, 0.75, 0.15, 0.91], color: "amber" }, + { word: "neşeli", vector: [0.79, 0.78, 0.18, 0.88], color: "amber" }, + { word: "sevinçli", vector: [0.76, 0.81, 0.21, 0.85], color: "amber" }, + { word: "üzgün", vector: [0.18, 0.22, 0.85, 0.12], color: "blue" }, + { word: "mutsuz", vector: [0.21, 0.19, 0.82, 0.15], color: "blue" }, + { word: "kızgın", vector: [0.45, 0.12, 0.72, 0.35], color: "red" }, + { word: "öfkeli", vector: [0.48, 0.09, 0.78, 0.32], color: "red" }, + ], +}; function cosineSimilarity(a: number[], b: number[]): number { const dotProduct = a.reduce((sum, val, i) => sum + val * b[i], 0); @@ -36,28 +48,32 @@ const embeddingColors: Record ({ + const similarities = embeddingWords.map((w: EmbeddingWord, i: number) => ({ ...w, similarity: i === selectedIndex ? 1 : cosineSimilarity(selected.vector, w.vector), index: i, - })).sort((a, b) => b.similarity - a.similarity); + })).sort((a: { similarity: number }, b: { similarity: number }) => b.similarity - a.similarity); return (
    -

    Embeddings Visualization

    +

    {t("embeddingsVisualization")}

    - Click a word to see its vector and similarity to other words: + {t("clickWordToSeeVector")}

    - {embeddingWords.map((w, index) => { + {embeddingWords.map((w: EmbeddingWord, index: number) => { const c = embeddingColors[w.color]; return ( {rateLimit?.remaining !== undefined && ( - {rateLimit.remaining} {rateLimit.dailyRemaining !== undefined ? `(${rateLimit.dailyRemaining}/day)` : ""} remaining + {rateLimit.remaining} {rateLimit.dailyRemaining !== undefined ? `(${rateLimit.dailyRemaining}/${t("day")})` : ""} {t("remaining")} )}
    @@ -269,10 +253,10 @@ export function PromptBuilder({ {response && (
    - AI Response + {t("aiResponse")}
    @@ -305,10 +289,11 @@ interface PromptAnalyzerProps { } export function PromptAnalyzer({ - title = "Prompt Analyzer", - description = "Get AI feedback on your prompt", + title, + description, defaultPrompt = "", }: PromptAnalyzerProps) { + const t = useTranslations("book.interactive"); const [prompt, setPrompt] = useState(defaultPrompt); const [isAnalyzing, setIsAnalyzing] = useState(false); const [analysis, setAnalysis] = useState(null); @@ -317,7 +302,7 @@ export function PromptAnalyzer({ const handleAnalyze = async () => { if (!prompt.trim()) { - setError("Please enter a prompt to analyze"); + setError(t("pleaseEnterPromptToAnalyze")); return; } @@ -339,9 +324,9 @@ export function PromptAnalyzer({ if (!res.ok) { if (res.status === 429) { - setError(`Rate limit reached. Try again in ${data.resetIn}s.`); + setError(`${t("rateLimitReached")} ${data.resetIn}s.`); } else { - setError(data.error || "Failed to analyze prompt"); + setError(data.error || t("failedToAnalyzePrompt")); } return; } @@ -349,7 +334,7 @@ export function PromptAnalyzer({ setAnalysis(data.result as AnalysisResult); setRateLimit({ remaining: data.remaining }); } catch { - setError("Failed to connect to API"); + setError(t("failedToConnectApi")); } finally { setIsAnalyzing(false); } @@ -364,17 +349,17 @@ export function PromptAnalyzer({ return (
    - {title} - {description} + {title || t("promptAnalyzer")} + {description || t("getAiFeedbackOnPrompt")}
    - +