{"id":29153108,"url":"https://github.com/sunanda01/llm_prompting","last_synced_at":"2025-07-17T03:31:54.027Z","repository":{"id":301518157,"uuid":"1009503414","full_name":"Sunanda01/LLM_prompting","owner":"Sunanda01","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-27T08:39:37.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T09:31:39.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sunanda01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-27T08:35:55.000Z","updated_at":"2025-06-27T08:39:40.000Z","dependencies_parsed_at":"2025-06-27T09:41:45.316Z","dependency_job_id":null,"html_url":"https://github.com/Sunanda01/LLM_prompting","commit_stats":null,"previous_names":["sunanda01/llm_prompting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sunanda01/LLM_prompting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FLLM_prompting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FLLM_prompting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FLLM_prompting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FLLM_prompting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunanda01","download_url":"https://codeload.github.com/Sunanda01/LLM_prompting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FLLM_prompting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265563006,"owners_count":23788627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-01T01:04:37.615Z","updated_at":"2025-07-17T03:31:54.007Z","avatar_url":"https://github.com/Sunanda01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 **Prompt Engineering Techniques**  \n\nA curated collection of prompt engineering strategies and techniques for working effectively with large language models (LLMs) such as GPT-4, Claude, and others.\n\n\u003e This repository is a curated collection of notes, strategies, and examples based on the Coursera course:  \n\u003e **[\"ChatGPT Prompt Engineering for Developers\"](https://www.coursera.org/learn/chatgpt-prompt-engineering-for-developers-project/home)**\n\u003e by [DeepLearning.AI](https://www.deeplearning.ai/) and OpenAI.\n  \n\n\u003e 📁 Organized into practical, real-world categories like summarizing, transforming, inferring, and more.\n\n---\n\n## 🧠 What is Large Language Models (LLMs)?\n### An LLMs is an artificial intelligence (AI) model trained on massive amounts of text data to understand, generate, and reason with human language. \nExamples include:\n- ChatGPT (by OpenAI)\n- Claude (by Anthropic)\n- Gemini (by Google)\n- LLaMA (by Meta)\n\n---\n\n## 💬 What is Prompting?\n### Prompting is how we instruct the model to perform tasks — from summarizing to reasoning or generating creative text.\n\n---\n\n## 📌 Note\n### LLM is the tool. Prompting is how we use it.\n\n---\n\n## ✍️ Two types of Large Language Models (LLMs)\n  - Base LLM\n  - Instruction Tuned LLM\n\n---\n\n## 🎯 Principles for Prompting\n\n### 📌 Principle 1: Write Clear and Specific Instructions\n  \n#### 🔧 Tactics to Apply:\n   \n      - Use Delimiters\n      - Ask for Structured Output\n      - Check whether condition are satisfied. Check assumption required to do the task\n      - Few-shot Prompting\n\n     \n  ### 📌 Principle 2: Give the model time to think\n\n  #### 🔧 Tactics to Apply:\n   \n      - Specify the steps required to complete a task\n      - Instruct the model to work out its own solution before rushing to a conclusion  \n\n---\n\n## 💡 Tips for Prompting\n\n    - Be detailed and specific\n    - Guide the model to think through its answers\n    - Experiment and iterate\n\n---\n\n## 🔁 Prompting Process\n\n    - Be clear and specific in prompt\n    - Think about why result isn't giving desired output\n    - Refine prompt\n    - Repeat\n\n---\n\n## 💢 Demerit of Large Language Models (LLMs)\n\n    - Knowledge Cutoffs\n    - Making things up : HALLUCINATIONS\n    - The input and output length is limited\n    - Bias \u0026 Toxicity\n    - Generative AI does not work well with structured data\n\n---\n    \n\n## 📂 Folder Structure\n\n| Folder Name           | Description                                                                 |\n|-----------------------|-----------------------------------------------------------------------------|\n| `chatbot/`            | Prompts and patterns for building conversational agents and chatbots.       |\n| `expanding/`          | Techniques for elaborating, extending ideas, or continuing content.         |\n| `inferring/`          | Prompts designed to extract meaning, assumptions, or conclusions.           |\n| `iterative_prompt/`   | Step-by-step refinement and feedback-based prompt workflows.                |\n| `prompting_principle/`| Core principles and best practices of good prompt design.                   |\n| `summarizing/`        | Strategies to condense long content into concise, useful summaries.         |\n| `transforming/`       | Prompts for changing tone, format, style, or structure of a given input.    |\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunanda01%2Fllm_prompting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunanda01%2Fllm_prompting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunanda01%2Fllm_prompting/lists"}