[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792AKTRQ51F9HT8RH57Y7N9":3,"skill-same:01M792AKTRQ51F9HT8RH57Y7N9":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M792AKTRQ51F9HT8RH57Y7N9","langchain-embeddings-search",null,"Build and query vector stores with LangChain 1.0 without getting burned by\nflipped score semantics, embedding-dim mismatches, reranker quirks, and\nchunk-splitter bugs. Use when building a RAG pipeline, choosing between FAISS \u002F\nPinecone \u002F Chroma \u002F PGVector, filtering by similarity score, or adding a reranker.\nTrigger with \"langchain embeddings\", \"vector store similarity search\",\n\"langchain RAG retrieval\", \"FAISS score\", \"Pinecone score\", \"reranker score\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--langchain-py-pack--langchain-embeddings-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: langchain-embeddings-search\ndescription: |\n  Build and query vector stores with LangChain 1.0 without getting burned by\n  flipped score semantics, embedding-dim mismatches, reranker quirks, and\n  chunk-splitter bugs. Use when building a RAG pipeline, choosing between FAISS \u002F\n  Pinecone \u002F Chroma \u002F PGVector, filtering by similarity score, or adding a reranker.\n  Trigger with \"langchain embeddings\", \"vector store similarity search\",\n  \"langchain RAG retrieval\", \"FAISS score\", \"Pinecone score\", \"reranker score\".\nallowed-tools: Read, Write, Edit, Bash(python:*), Bash(pip:*), Grep\nversion: 2.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, langchain, python, langchain-1.0, embeddings, rag, vector-store]\ncompatible-with: claude-code, codex\n---\n\n# LangChain Embeddings and Vector Search (Python)\n\n## Overview\n\n`FAISS.similarity_search_with_score()` returns L2 distance — **lower is better**.\n`Pinecone.similarity_search_with_score()` returns cosine similarity — **higher is\nbetter**. Swap your vector store and your `if score > 0.8` filter now keeps the\ngarbage and drops the good results, silently. This is pain-catalog entry P12,\nand it is the single most common reason a \"we migrated from FAISS to Pinecone\nfor scale\" project loses retrieval quality overnight.\n\nThe sibling gotchas:\n\n- P13 — `RecursiveCharacterTextSplitter` default separators break inside code\n  fences, so RAG over Markdown docs truncates code examples mid-function\n- P14 — Embedding-dim mismatch crashes at insert time (after 10 minutes of\n  processing), not at `VectorStore.__init__`; the failure blames \"dim\n  mismatch: 1536 != 3072\" and no earlier error\n- P15 — Cohere\u002FJina reranker scores are **within-query relative**, so a 0.34\n  top-1 is not worse than a 0.92 top-1 on a different query; filtering by\n  threshold is the wrong heuristic\n\nThis skill walks through embedding model selection, vector store creation with\nthe version-safe dim guard, score normalization, hybrid keyword+vector search,\nand rerankers with the correct filter-by-rank pattern. Pin: `langchain-core 1.0.x`,\n`langchain-community 1.0.x`, `langchain-openai 1.0.x`, `faiss-cpu`, `pinecone-client`.\nPain-catalog anchors: P12, P13, P14, P15, P49, P50.\n\n## Prerequisites\n\n- Python 3.10+\n- `langchain-core >= 1.0, \u003C 2.0` and `langchain-community >= 1.0, \u003C 2.0`\n- Embedding provider: `pip install langchain-openai` (text-embedding-3-small\u002Flarge)\n- Vector store: `pip install faiss-cpu` OR `pip install langchain-pinecone`\n- Provider API keys: `OPENAI_API_KEY`, `PINECONE_API_KEY`\n\n## Instructions\n\n### Step 1 — Initialize embeddings with an explicit dim\n\n```python\nfrom langchain_openai import OpenAIEmbeddings\n\nembeddings = OpenAIEmbeddings(\n    model=\"text-embedding-3-small\",  # 1536 dims\n    # For text-embedding-3-large, use 3072 dims — must match index\n)\n\n# Assert dim at startup (prevents P14)\nassert len(embeddings.embed_query(\"test\")) == 1536, \"embedding dim drifted\"\n```\n\nSwapping models (`-small` 1536 → `-large` 3072) is a migration, not a swap.\nPlan it — back-fill the index, not just the config.\n\n### Step 2 — Choose a vector store\n\n| Store | Score metric | Latency (1M vectors) | When to use |\n|---|---|---|---|\n| `FAISS` | L2 distance (lower = better) | ~5ms | Local dev, \u003C 1M vectors, in-process |\n| `Chroma` | Cosine similarity (higher = better) | ~10ms | Small multi-user, persistent local |\n| `PGVector` | Cosine by default (higher = better) | ~20ms | Existing Postgres, transactional needs |\n| `PineconeVectorStore` | Cosine similarity (higher = better) | ~50ms (hosted) | > 1M vectors, multi-tenant, managed |\n\n```python\nfrom langchain_community.vectorstores import FAISS\n\nstore = FAISS.from_documents(docs, embedding=embeddings)\nresults = store.similarity_search_with_score(\"query\", k=5)\n# FAISS: [(doc, 0.31), (doc, 0.42), ...] — LOWER IS MORE SIMILAR\n```\n\nvs.\n\n```python\nfrom langchain_pinecone import PineconeVectorStore\n\nstore = PineconeVectorStore(index_name=\"prod\", embedding=embeddings)\nresults = store.similarity_search_with_score(\"query\", k=5)\n# Pinecone: [(doc, 0.91), (doc, 0.87), ...] — HIGHER IS MORE SIMILAR\n```\n\nSee [Vector Store Comparison](references\u002Fvector-store-comparison.md) for the\nfeature matrix and the migration gotchas.\n\n### Step 3 — Normalize scores before any threshold filter\n\nWrite a normalizer at the retriever boundary, so downstream code never sees\nraw store-specific scores:\n\n```python\ndef normalize(score: float, store_type: str) -> float:\n    \"\"\"Return similarity in [0, 1] where 1 = identical, 0 = unrelated.\"\"\"\n    if store_type == \"faiss_l2\":\n        return 1.0 \u002F (1.0 + score)  # collapse L2 distance into similarity\n    if store_type in {\"pinecone\", \"chroma\", \"pgvector\"}:\n        return max(0.0, min(1.0, score))  # already similarity, clamp just in case\n    raise ValueError(f\"Unknown store type: {store_type}\")\n```\n\nNow `score > 0.7` means the same thing regardless of backend. See\n[Score Semantics](references\u002Fscore-semantics.md) for the per-store derivation.\n\n### Step 4 — Chunk text with language-aware splitters\n\n```python\nfrom langchain_text_splitters import RecursiveCharacterTextSplitter, Language\n\n# BAD — breaks inside Markdown code fences (P13)\nbad = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)\n\n# GOOD — respects Markdown structure\nmd_splitter = RecursiveCharacterTextSplitter.from_language(\n    Language.MARKDOWN, chunk_size=1000, chunk_overlap=100,\n)\n\n# For Python source files\npy_splitter = RecursiveCharacterTextSplitter.from_language(\n    Language.PYTHON, chunk_size=1500, chunk_overlap=150,\n)\n```\n\nPDF pipelines have their own pain: `PyPDFLoader` splits by page, tearing tables\nin half (P49). Use `PyMuPDFLoader` or `UnstructuredPDFLoader` for documents\nwith tables.\n\n### Step 5 — Hybrid search (keyword + vector)\n\nPure vector search misses exact-match keywords (product SKUs, error codes,\nfunction names). Combine BM25 + vector:\n\n```python\nfrom langchain.retrievers import EnsembleRetriever\nfrom langchain_community.retrievers import BM25Retriever\n\nbm25 = BM25Retriever.from_documents(docs); bm25.k = 5\nvector = store.as_retriever(search_kwargs={\"k\": 5})\n\nensemble = EnsembleRetriever(\n    retrievers=[bm25, vector],\n    weights=[0.4, 0.6],  # tune on your eval set\n)\n```\n\nSee [Hybrid Search](references\u002Fhybrid-search.md) for the eval harness and the\nweight-tuning procedure.\n\n### Step 6 — Rerank by rank, not by score\n\n```python\nfrom langchain_cohere import CohereRerank\n\nreranker = CohereRerank(top_n=3, model=\"rerank-v3.5\")\nreranked = reranker.compress_documents(\n    documents=candidates, query=query,\n)\n# reranked[0].metadata[\"relevance_score\"] is query-relative — 0.34 may be the best\n# WRONG: [d for d in reranked if d.metadata[\"relevance_score\"] > 0.5]\n# RIGHT: reranked[:top_n]  — trust the rank order\n```\n\nFilter by *rank* (keep top-k) not threshold. Calibration per-query is possible\nbut rarely worth the engineering cost.\n\n## Output\n\n- Embeddings initialized with dim assertion at startup\n- Vector store chosen from the comparison matrix with score-semantics awareness\n- Score normalizer applied at retriever boundary (no raw scores downstream)\n- Language-aware text splitter that respects code fences and PDF structure\n- Hybrid retriever combining BM25 and vector with tuned weights\n- Reranker filtering by rank, not threshold\n\n## Error Handling\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `PineconeApiException: dim mismatch: 1536 != 3072` | Changed embedding model without reindexing (P14) | Create a new index with the new dim; migrate in a background job |\n| Retrieval quality drops after FAISS→Pinecone swap | Score semantics flipped (P12) | Apply `normalize()` at boundary; retune threshold on eval set |\n| RAG answers misquote tables | `PyPDFLoader` tore table across pages (P49) | Switch to `PyMuPDFLoader` or `UnstructuredPDFLoader` |\n| RAG retrieval drops code examples mid-function | `RecursiveCharacterTextSplitter` broke code fence (P13) | Use `from_language(Language.MARKDOWN\u002FPYTHON)` |\n| Cohere reranker top-1 score \u003C 0.5 | Scores are per-query relative (P15) | Filter by rank (`reranked[:k]`), not threshold |\n| `WebBaseLoader` returns 403 \u002F Cloudflare interstitial (P50) | Default User-Agent flagged as bot | Pass `header_template={\"User-Agent\": \"Mozilla\u002F5.0 ...\"}`; respect robots.txt |\n| `ValueError: expected str instance, NoneType found` on embed | Empty document content | Filter `docs = [d for d in docs if d.page_content.strip()]` before embedding |\n\n## Examples\n\n### Building a RAG retriever with hybrid search\n\nEnd-to-end: load Markdown docs with language-aware chunking, embed with OpenAI\n`text-embedding-3-small`, index in FAISS for local dev, wrap in an\n`EnsembleRetriever` with BM25 at 0.4 weight and vector at 0.6.\n\nSee [Hybrid Search](references\u002Fhybrid-search.md) for the full builder and the\nweight-tuning procedure on a golden set.\n\n### Migrating from FAISS to Pinecone without quality regression\n\nThe three gotchas: (a) score semantics flip (P12), (b) the migration needs a\nre-embed unless the source embedding is stable, (c) threshold filters must be\nretuned on the new score scale.\n\nSee [Vector Store Comparison](references\u002Fvector-store-comparison.md) for the\nmigration checklist.\n\n### Per-tenant vector stores without leakage\n\nUse Pinecone namespaces or PGVector row-level security. Construct the retriever\nper-request with the tenant ID — never bind a retriever at import time (P33).\n\nSee the pack's `langchain-enterprise-rbac` skill for the tenant-isolation pattern.\n\n## Resources\n\n- [LangChain Python: Vector stores](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fintegrations\u002Fvectorstores\u002F)\n- [LangChain Python: Retrievers](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fconcepts\u002Fretrievers\u002F)\n- [LangChain: Text splitters](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fconcepts\u002Ftext_splitters\u002F)\n- [FAISS docs](https:\u002F\u002Fgithub.com\u002Ffacebookresearch\u002Ffaiss\u002Fwiki) (score is L2 distance)\n- [Pinecone metrics](https:\u002F\u002Fdocs.pinecone.io\u002Fguides\u002Findexes\u002Funderstanding-indexes#metrics) (cosine default)\n- [Cohere Rerank](https:\u002F\u002Fdocs.cohere.com\u002Fdocs\u002Frerank-overview) (score per-query relative)\n- Pack pain catalog: `docs\u002Fpain-catalog.md` (entries P12, P13, P14, P15, P49, P50)\n","# LangChain Embeddings and Vector Search (Python)\n\n## Overview\n\n`FAISS.similarity_search_with_score()` returns L2 distance — **lower is better**.\n`Pinecone.similarity_search_with_score()` returns cosine similarity — **higher is\nbetter**. Swap your vector store and your `if score > 0.8` filter now keeps the\ngarbage and drops the good results, silently. This is pain-catalog entry P12,\nand it is the single most common reason a \"we migrated from FAISS to Pinecone\nfor scale\" project loses retrieval quality overnight.\n\nThe sibling gotchas:\n\n- P13 — `RecursiveCharacterTextSplitter` default separators break inside code\n  fences, so RAG over Markdown docs truncates code examples mid-function\n- P14 — Embedding-dim mismatch crashes at insert time (after 10 minutes of\n  processing), not at `VectorStore.__init__`; the failure blames \"dim\n  mismatch: 1536 != 3072\" and no earlier error\n- P15 — Cohere\u002FJina reranker scores are **within-query relative**, so a 0.34\n  top-1 is not worse than a 0.92 top-1 on a different query; filtering by\n  threshold is the wrong heuristic\n\nThis skill walks through embedding model selection, vector store creation with\nthe version-safe dim guard, score normalization, hybrid keyword+vector search,\nand rerankers with the correct filter-by-rank pattern. Pin: `langchain-core 1.0.x`,\n`langchain-community 1.0.x`, `langchain-openai 1.0.x`, `faiss-cpu`, `pinecone-client`.\nPain-catalog anchors: P12, P13, P14, P15, P49, P50.\n\n## Prerequisites\n\n- Python 3.10+\n- `langchain-core >= 1.0, \u003C 2.0` and `langchain-community >= 1.0, \u003C 2.0`\n- Embedding provider: `pip install langchain-openai` (text-embedding-3-small\u002Flarge)\n- Vector store: `pip install faiss-cpu` OR `pip install langchain-pinecone`\n- Provider API keys: `OPENAI_API_KEY`, `PINECONE_API_KEY`\n\n## Instructions\n\n### Step 1 — Initialize embeddings with an explicit dim\n\n```python\nfrom langchain_openai import OpenAIEmbeddings\n\nembeddings = OpenAIEmbeddings(\n    model=\"text-embedding-3-small\",  # 1536 dims\n    # For text-embedding-3-large, use 3072 dims — must match index\n)\n\n# Assert dim at startup (prevents P14)\nassert len(embeddings.embed_query(\"test\")) == 1536, \"embedding dim drifted\"\n```\n\nSwapping models (`-small` 1536 → `-large` 3072) is a migration, not a swap.\nPlan it — back-fill the index, not just the config.\n\n### Step 2 — Choose a vector store\n\n| Store | Score metric | Latency (1M vectors) | When to use |\n|---|---|---|---|\n| `FAISS` | L2 distance (lower = better) | ~5ms | Local dev, \u003C 1M vectors, in-process |\n| `Chroma` | Cosine similarity (higher = better) | ~10ms | Small multi-user, persistent local |\n| `PGVector` | Cosine by default (higher = better) | ~20ms | Existing Postgres, transactional needs |\n| `PineconeVectorStore` | Cosine similarity (higher = better) | ~50ms (hosted) | > 1M vectors, multi-tenant, managed |\n\n```python\nfrom langchain_community.vectorstores import FAISS\n\nstore = FAISS.from_documents(docs, embedding=embeddings)\nresults = store.similarity_search_with_score(\"query\", k=5)\n# FAISS: [(doc, 0.31), (doc, 0.42), ...] — LOWER IS MORE SIMILAR\n```\n\nvs.\n\n```python\nfrom langchain_pinecone import PineconeVectorStore\n\nstore = PineconeVectorStore(index_name=\"prod\", embedding=embeddings)\nresults = store.similarity_search_with_score(\"query\", k=5)\n# Pinecone: [(doc, 0.91), (doc, 0.87), ...] — HIGHER IS MORE SIMILAR\n```\n\nSee [Vector Store Comparison](references\u002Fvector-store-comparison.md) for the\nfeature matrix and the migration gotchas.\n\n### Step 3 — Normalize scores before any threshold filter\n\nWrite a normalizer at the retriever boundary, so downstream code never sees\nraw store-specific scores:\n\n```python\ndef normalize(score: float, store_type: str) -> float:\n    \"\"\"Return similarity in [0, 1] where 1 = identical, 0 = unrelated.\"\"\"\n    if store_type == \"faiss_l2\":\n        return 1.0 \u002F (1.0 + score)  # collapse L2 distance into similarity\n    if store_type in {\"pinecone\", \"chroma\", \"pgvector\"}:\n        return max(0.0, min(1.0, score))  # already similarity, clamp just in case\n    raise ValueError(f\"Unknown store type: {store_type}\")\n```\n\nNow `score > 0.7` means the same thing regardless of backend. See\n[Score Semantics](references\u002Fscore-semantics.md) for the per-store derivation.\n\n### Step 4 — Chunk text with language-aware splitters\n\n```python\nfrom langchain_text_splitters import RecursiveCharacterTextSplitter, Language\n\n# BAD — breaks inside Markdown code fences (P13)\nbad = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)\n\n# GOOD — respects Markdown structure\nmd_splitter = RecursiveCharacterTextSplitter.from_language(\n    Language.MARKDOWN, chunk_size=1000, chunk_overlap=100,\n)\n\n# For Python source files\npy_splitter = RecursiveCharacterTextSplitter.from_language(\n    Language.PYTHON, chunk_size=1500, chunk_overlap=150,\n)\n```\n\nPDF pipelines have their own pain: `PyPDFLoader` splits by page, tearing tables\nin half (P49). Use `PyMuPDFLoader` or `UnstructuredPDFLoader` for documents\nwith tables.\n\n### Step 5 — Hybrid search (keyword + vector)\n\nPure vector search misses exact-match keywords (product SKUs, error codes,\nfunction names). Combine BM25 + vector:\n\n```python\nfrom langchain.retrievers import EnsembleRetriever\nfrom langchain_community.retrievers import BM25Retriever\n\nbm25 = BM25Retriever.from_documents(docs); bm25.k = 5\nvector = store.as_retriever(search_kwargs={\"k\": 5})\n\nensemble = EnsembleRetriever(\n    retrievers=[bm25, vector],\n    weights=[0.4, 0.6],  # tune on your eval set\n)\n```\n\nSee [Hybrid Search](references\u002Fhybrid-search.md) for the eval harness and the\nweight-tuning procedure.\n\n### Step 6 — Rerank by rank, not by score\n\n```python\nfrom langchain_cohere import CohereRerank\n\nreranker = CohereRerank(top_n=3, model=\"rerank-v3.5\")\nreranked = reranker.compress_documents(\n    documents=candidates, query=query,\n)\n# reranked[0].metadata[\"relevance_score\"] is query-relative — 0.34 may be the best\n# WRONG: [d for d in reranked if d.metadata[\"relevance_score\"] > 0.5]\n# RIGHT: reranked[:top_n]  — trust the rank order\n```\n\nFilter by *rank* (keep top-k) not threshold. Calibration per-query is possible\nbut rarely worth the engineering cost.\n\n## Output\n\n- Embeddings initialized with dim assertion at startup\n- Vector store chosen from the comparison matrix with score-semantics awareness\n- Score normalizer applied at retriever boundary (no raw scores downstream)\n- Language-aware text splitter that respects code fences and PDF structure\n- Hybrid retriever combining BM25 and vector with tuned weights\n- Reranker filtering by rank, not threshold\n\n## Error Handling\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `PineconeApiException: dim mismatch: 1536 != 3072` | Changed embedding model without reindexing (P14) | Create a new index with the new dim; migrate in a background job |\n| Retrieval quality drops after FAISS→Pinecone swap | Score semantics flipped (P12) | Apply `normalize()` at boundary; retune threshold on eval set |\n| RAG answers misquote tables | `PyPDFLoader` tore table across pages (P49) | Switch to `PyMuPDFLoader` or `UnstructuredPDFLoader` |\n| RAG retrieval drops code examples mid-function | `RecursiveCharacterTextSplitter` broke code fence (P13) | Use `from_language(Language.MARKDOWN\u002FPYTHON)` |\n| Cohere reranker top-1 score \u003C 0.5 | Scores are per-query relative (P15) | Filter by rank (`reranked[:k]`), not threshold |\n| `WebBaseLoader` returns 403 \u002F Cloudflare interstitial (P50) | Default User-Agent flagged as bot | Pass `header_template={\"User-Agent\": \"Mozilla\u002F5.0 ...\"}`; respect robots.txt |\n| `ValueError: expected str instance, NoneType found` on embed | Empty document content | Filter `docs = [d for d in docs if d.page_content.strip()]` before embedding |\n\n## Examples\n\n### Building a RAG retriever with hybrid search\n\nEnd-to-end: load Markdown docs with language-aware chunking, embed with OpenAI\n`text-embedding-3-small`, index in FAISS for local dev, wrap in an\n`EnsembleRetriever` with BM25 at 0.4 weight and vector at 0.6.\n\nSee [Hybrid Search](references\u002Fhybrid-search.md) for the full builder and the\nweight-tuning procedure on a golden set.\n\n### Migrating from FAISS to Pinecone without quality regression\n\nThe three gotchas: (a) score semantics flip (P12), (b) the migration needs a\nre-embed unless the source embedding is stable, (c) threshold filters must be\nretuned on the new score scale.\n\nSee [Vector Store Comparison](references\u002Fvector-store-comparison.md) for the\nmigration checklist.\n\n### Per-tenant vector stores without leakage\n\nUse Pinecone namespaces or PGVector row-level security. Construct the retriever\nper-request with the tenant ID — never bind a retriever at import time (P33).\n\nSee the pack's `langchain-enterprise-rbac` skill for the tenant-isolation pattern.\n\n## Resources\n\n- [LangChain Python: Vector stores](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fintegrations\u002Fvectorstores\u002F)\n- [LangChain Python: Retrievers](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fconcepts\u002Fretrievers\u002F)\n- [LangChain: Text splitters](https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fconcepts\u002Ftext_splitters\u002F)\n- [FAISS docs](https:\u002F\u002Fgithub.com\u002Ffacebookresearch\u002Ffaiss\u002Fwiki) (score is L2 distance)\n- [Pinecone metrics](https:\u002F\u002Fdocs.pinecone.io\u002Fguides\u002Findexes\u002Funderstanding-indexes#metrics) (cosine default)\n- [Cohere Rerank](https:\u002F\u002Fdocs.cohere.com\u002Fdocs\u002Frerank-overview) (score per-query relative)\n- Pack pain catalog: `docs\u002Fpain-catalog.md` (entries P12, P13, P14, P15, P49, P50)\n",{"name":5,"tags":24,"author":32,"license":15,"version":33,"description":34,"allowed-tools":35,"compatible-with":36},[25,26,27,28,29,30,31],"saas","langchain","python","langchain-1.0","embeddings","rag","vector-store","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","2.0.0","Build and query vector stores with LangChain 1.0 without getting burned by\nflipped score semantics, embedding-dim mismatches, reranker quirks, and\nchunk-splitter bugs. Use when building a RAG pipeline, choosing between FAISS \u002F\nPinecone \u002F Chroma \u002F PGVector, filtering by similarity score, or adding a reranker.\nTrigger with \"langchain embeddings\", \"vector store similarity search\",\n\"langchain RAG retrieval\", \"FAISS score\", \"Pinecone score\", \"reranker score\".\n","Read, Write, Edit, Bash(python:*), Bash(pip:*), Grep","claude-code, codex","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--langchain-py-pack--langchain-embeddings-search",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill langchain-embeddings-search",{"tool":52,"command":53},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill langchain-embeddings-search",{"tool":55,"command":56},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill langchain-embeddings-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--langchain-py-pack--langchain-embeddings-search\u002FSKILL.md",true,[],[61,68,75,82,89,97],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]