| Overlapping RAG Chunker & Hybrid Reciprocal Rank Fusion Python 3RAGChunkingCosine Similarity | GenAI | Easy | AnthropicOpenAICohere | — |
| Cosine Similarity Top-K Vector Retrieval Python 3EmbeddingsVector SearchCosine Similarity | GenAI | Easy | OpenAIAnthropicPinecone | — |
| LLM Temperature Scaling & Top-K Softmax Python 3LLM DecodingTemperatureTop-K | GenAI | Easy | OpenAIAnthropicDeepMind | — |
| Top-P (Nucleus) Sampling Probability Filter Python 3LLM DecodingNucleus SamplingTop-P | GenAI | Easy | OpenAIAnthropicCohere | 100.0% |
| Word-Based Sliding Window RAG Chunker Python 3RAGChunkingText Processing | GenAI | Easy | LangChainOpenAILlamaIndex | — |
| RAG Retrieval Metrics: Precision@K, Recall@K & MRR Python 3RAG EvaluationInformation RetrievalMRR | GenAI | Easy | GoogleOpenAIPerplexity | — |
| BPE Tokenizer: Most Frequent Adjacent Token Pair Python 3TokenizationBPELLM Foundations | GenAI | Easy | OpenAIAnthropicMeta | — |
| BPE Tokenizer: Apply Single Pair Merge Step Python 3TokenizationBPEString Processing | GenAI | Easy | OpenAIAnthropicHuggingFace | — |
| LLM Perplexity & Masked NLL From Token Log-Probs Python 3EvaluationPerplexityLanguage Modeling | GenAI | Easy | OpenAIAnthropicMeta | — |
| LLM Repetition Penalty Logit Processor Python 3LLM DecodingLogits ProcessorRepetition Penalty | GenAI | Easy | HuggingFaceMetavLLM | — |
| Batch L2 Embedding Normalization & Pairwise Similarity Python 3EmbeddingsVector NormalizationMatrix Ops | GenAI | Easy | PineconeOpenAICohere | — |
| BM25 Lexical Relevance Scorer for Hybrid RAG Python 3Hybrid RAGBM25Sparse Retrieval | GenAI | Easy | ElasticGooglePerplexity | — |
| Maximal Marginal Relevance (MMR) Diversity Reranking Python 3RAGMMRDiversity Reranking | GenAI | Easy | LangChainPineconeOpenAI | — |
| Greedy Token-Budget RAG Context Window Packer Python 3Context WindowRAGToken Budget | GenAI | Easy | OpenAIAnthropicPerplexity | — |
| Transformer KV-Cache Memory Estimator (MB) Python 3LLM InferenceKV CacheGQA | GenAI | Easy | NVIDIAOpenAIAnthropic | — |
| Safe Prompt Template Renderer (JSON-Brace Safe) Python 3Prompt EngineeringTemplatingRegex | GenAI | Easy | LangChainOpenAIAnthropic | — |
| Structured LLM Output JSON Extractor & Validator Python 3Structured OutputsJSON ParsingGuardrails | GenAI | Easy | OpenAIAnthropicStripe | — |
| ROUGE-1 Unigram Precision, Recall & F1 Python 3LLM EvaluationROUGESummarization | GenAI | Easy | GoogleMetaCohere | — |
| NDCG@K for RAG Reranker Evaluation Python 3RAG EvaluationRerankingNDCG | GenAI | Easy | GoogleCoherePerplexity | — |
| Semantic LLM Prompt Cache Lookup Python 3Semantic CacheEmbeddingsLLM Serving | GenAI | Easy | OpenAIRedisCloudflare | — |
| Sentence-Aware RAG Chunker With Max-Word Budget Python 3RAGChunkingNLP | GenAI | Easy | LlamaIndexLangChainOpenAI | — |