langchain4j▌
7 indexed skills · max 10 per page
langchain4j-tool-function-calling-patterns
giuseppe-trisciuoglio/developer-kit · AI/ML
Annotation-based and programmatic tool system for LangChain4j agents to execute external functions, APIs, and services. \n \n Define tools using @Tool annotations with parameter descriptions via @P , automatically registered with AI services for LLM invocation \n Supports static tool registration, dynamic tool provisioning based on context, concurrent execution, and immediate-return tools for quick responses \n Includes error handling strategies, tool execution monitoring, memory context integra
langchain4j-mcp-server-patterns
giuseppe-trisciuoglio/developer-kit · Backend
Standardized MCP server implementation patterns with LangChain4j for extending AI capabilities. \n \n Provides tool providers, resource providers, and prompt template patterns to expose custom capabilities through the Model Context Protocol \n Supports multiple transport mechanisms including stdio for local processes and HTTP for remote servers \n Includes Spring Boot integration, multi-server configuration, and dynamic tool discovery with context-aware filtering \n Implements security patterns
langchain4j-ai-services-patterns
giuseppe-trisciuoglio/developer-kit · AI/ML
Type-safe AI services in Java using interface-based patterns, annotations, and declarative configuration. \n \n Define AI capabilities as plain Java interfaces with @SystemMessage and @UserMessage annotations, eliminating manual prompt construction and response parsing \n Built-in memory management for multi-turn conversations with per-user or per-session isolation using @MemoryId and configurable chat memory providers \n Tool integration enables AI services to call external functions and execut
langchain4j-vector-stores-configuration
giuseppe-trisciuoglio/developer-kit · AI/ML
LangChain4J vector store configuration for RAG applications with multiple database backends. \n \n Supports PostgreSQL/pgvector, Pinecone, MongoDB Atlas, Milvus, Neo4j, and in-memory stores with unified abstraction \n Includes document ingestion pipelines with configurable chunking, metadata filtering, and batch operations \n Provides production patterns for connection pooling, health checks, monitoring, and index optimization \n Covers semantic search implementation, multi-store setups, and dim
langchain4j-testing-strategies
giuseppe-trisciuoglio/developer-kit · AI/ML
Comprehensive testing strategies for LangChain4j applications with mocks, containers, and RAG validation. \n \n Provides unit testing patterns with mock models, integration testing via Testcontainers, and end-to-end workflows for RAG systems, AI Services, and tool execution \n Covers testing pyramid approach: 70% unit tests with mocks, 20% integration tests with real services, 10% end-to-end tests \n Includes specialized patterns for streaming responses, memory management, guardrail assertions,
langchain4j-spring-boot-integration
giuseppe-trisciuoglio/developer-kit · AI/ML
Spring Boot auto-configuration and declarative AI services for LangChain4j integration. \n \n Provides property-based configuration for multiple AI providers (OpenAI, Azure, Ollama) with Spring Boot starters and automatic bean wiring \n Enables interface-based AI service definitions using @AiService annotations combined with message templates and Spring dependency injection \n Supports RAG systems through configurable embedding stores (pgvector, Neo4j, Pinecone) and document ingestion pipelines
langchain4j-rag-implementation-patterns
giuseppe-trisciuoglio/developer-kit · AI/ML
Complete Retrieval-Augmented Generation systems with LangChain4j for knowledge-enhanced AI applications. \n \n Document ingestion pipelines with configurable chunking, metadata management, and embedding generation using OpenAI or custom embedding models \n Vector search and content retrieval with filtering, re-ranking, and configurable similarity thresholds for precise context matching \n RAG-enabled AI services that automatically inject retrieved context into chat models, with support for multi