Tagged articles
few-shot
15 articles · Page 1 of 1
This comprehensive guide presents a four-layer framework for prompt engineering: controlling input distribution, sampling techniques, multi-sample orchestration, and context engineering for production systems, with practical examples and engineering principles for reliable LLM applications.
LLMRAGReact
0 likes · 68 min read

This guide covers essential prompt engineering techniques for large language models, including clear instructions, role assignment, output formatting, context injection, few-shot examples, chain-of-thought reasoning, structured outputs, troubleshooting common failures, and template-based prompting for RAG and agent applications.
AgentLLMRAG
0 likes · 7 min read

This article breaks down three core prompt‑engineering techniques—Few‑Shot prompting for output format stability, Chain‑of‑Thought for multi‑step reasoning, and Self‑Consistency for answer robustness—showing when to use each, how to combine them in LangChain, and providing concrete code examples, performance data, and common pitfalls.
LLMLangChainSelf-Consistency
0 likes · 30 min read

This article breaks down System Prompt engineering into a five‑layer contract, presents four design patterns—role anchoring, output schema, chain‑of‑thought steering, and guardrails—explains how to select effective few‑shot examples, provides production‑grade prompt templates with code snippets, and warns about common pitfalls such as token length, sample bias, and contradictory constraints.
AILLMPrompt Design
0 likes · 16 min read

This article explains how vague AI queries lead to generic answers and shows how structured prompt engineering—using clear roles, goals, constraints, and frameworks like RTF and BROKE—can turn ambiguous business needs into precise, high‑quality AI outputs, including advanced chain‑of‑thought and few‑shot techniques for agents.
AIAgentStructured Prompts
0 likes · 10 min read

The article breaks down MiMo-Audio, a next‑token‑prediction‑style large‑scale audio model built on Qwen2, detailing its acoustic front‑end, RVQ tokenizer, patch‑based transformer architecture, streaming capabilities, performance advantages, engineering constraints, and recommended application scenarios.
Audio ModelingQwen2few-shot
0 likes · 9 min read

The article outlines a systematic Prompt Engineering process that starts with defining task goals and metrics, structures prompts into modular components, uses offline evaluation and bad‑case analysis, incorporates RAG or tools when needed, and continuously monitors accuracy, hallucination, latency and cost.
AI workflowRAGevaluation
0 likes · 7 min read

This article explains how Few‑shot Chain‑of‑Thought (CoT) prompting works, presents a concrete example, and introduces advanced variants such as Contrastive CoT, Complexity‑based Prompting, Active Prompting, Memory‑of‑Thought, and Automatic CoT to improve large language model reasoning accuracy.
AI ReasoningChain-of-Thoughtfew-shot
0 likes · 10 min read

This article explains how to converse effectively with large language models by mastering three core prompting techniques—Zero‑shot, Few‑shot, and Chain‑of‑Thought—illustrated with front‑end analogies, code snippets, and a step‑by‑step DeepSeek JSON‑generation exercise that shows common pitfalls and best practices.
DeepSeekJSON generationLLM
0 likes · 12 min read


ArchitectFeb 12, 2025 · Artificial Intelligence
This article presents a comprehensive, step‑by‑step Prompt engineering framework—including role definition, problem description, goal setting, and requirement specification—augmented with techniques such as RAG, few‑shot examples, memory handling, and parameter tuning, enabling users to craft effective prompts for large language models across domains.
AI Prompt OptimizationMemoryRAG
0 likes · 27 min read


JD TechNov 12, 2024 · Artificial Intelligence
This article explains what Prompt Engineering is, traces its development from early NLP commands to modern adaptive and multimodal prompting techniques, describes various prompting strategies such as Zero‑shot, Few‑shot, Chain‑of‑Thought, Auto‑CoT, and showcases a JD Logistics case study using these methods to classify product types with code examples.
AI Prompt Designchain-of-thoughtfew-shot
0 likes · 27 min read

This comprehensive guide explores prompt engineering for large language models, covering its background, fundamental concepts, prompt formats, construction principles, advanced techniques like few‑shot, zero‑shot, and chain‑of‑thought prompting, as well as practical examples, evaluation metrics, and future directions.
LLMartificial intelligencechain-of-thought
0 likes · 33 min read


ByteFEJun 15, 2023 · Artificial Intelligence
This article explains how to craft efficient prompts by combining clear instructions and questions, discusses prompt injection risks and mitigation with delimiters, addresses hallucinations, and introduces zero‑shot, few‑shot, and chain‑of‑thought prompting techniques for large language models.
HallucinationLLMPrompt Injection
0 likes · 16 min read

This article reviews the evolution of NLP training paradigms, explains why prompt learning is needed, defines its core concepts, and surveys major hard‑template and soft‑template methods such as PET, LM‑BFF, P‑tuning, and Prefix‑tuning, highlighting their advantages for few‑shot and zero‑shot scenarios.
NLPPretrained ModelsPrompt Tuning
0 likes · 10 min read

This article explains how to design and implement a lightweight Python recommendation system for personal use by replacing rating‑based similarity with label‑based scoring, handling sparse data, and dynamically updating user models with time‑limited label weights.
Recommendation SystemSimilaritycollaborative filtering
0 likes · 7 min read
