langchain4j-vector-stores-configuration

仓库创建 2025年10月21日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

支持多种向量库与混合搜索,便于优化检索效果与性能。

▸ 风险提示

向量数据库配置与运行需额外基础设施、凭证与运维投入。

这个 Skill 做什么

为 LangChain4j 提供向量数据库配置、元数据过滤与混合检索策略。

为 LangChain4J 的向量存储提供接入与调优方案,涵盖 PostgreSQL/pgvector、Pinecone、MongoDB、Milvus、Neo4j 等的配置、元数据过滤和混合检索策略。在做 RAG、语义搜索或者把 embeddings 存到生产向量库时使用。重点在于 builder 型配置、过滤策略和混合搜索建议,帮你在检索准确性与性能之间做平衡。

▸ 展开 SKILL.md 英文原文

Provides configuration patterns for LangChain4J vector stores in RAG applications. Use when building semantic search, integrating vector databases (PostgreSQL/pgvector, Pinecone, MongoDB, Milvus, Neo4j), implementing embedding storage/retrieval, setting up hybrid search, or optimizing vector database performance for production AI applications.

开发编程向量存储语义检索数据库集成通用
311
Stars
37
Forks
40
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-vector-stores-configuration/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-vector-stores-configuration/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# LangChain4J Vector Stores Configuration

Configure vector stores for Retrieval-Augmented Generation applications with LangChain4J.

## Overview

LangChain4J provides a unified abstraction for vector stores (PostgreSQL/pgvector, Pinecone, MongoDB Atlas, Milvus, Neo4j) with builder-based configuration, metadata filtering, and hybrid search support.

## When to Use

- Configuring vector stores for semantic search and RAG applications
- Setting up embedding storage with metadata filtering and hybrid search
- Optimizing vector database performance for production AI workloads

## Instructions

### Set Up Basic Vector Store

Configure an embedding store for vector operations:

```java
@Bean
publi
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有