Gen AI Builder#
Gen AI Builder#
Gen AI Builder provides comprehensive tooling for developing intelligent applications that leverage organizational knowledge through retrieval‑augmented generation patterns. The platform operates within controlled infrastructure environments, ensuring complete organizational sovereignty over data, models, and inference operations.
New here? Start with Gen AI Builder Hub , review Gen AI Builder Concepts (Assistants, Knowledge, Tools, Threads) and the Gen AI Architecture (Entities and Flows) , then use the Gen AI How-To Guides or jump into the Customer Service Assistant Implementation Guide .
Platform Architecture#
Gen AI Builder integrates multiple components to deliver end-to-end AI application development capabilities within the EDB Postgres AI ecosystem. The platform emphasizes data sovereignty by maintaining all operations within organizational boundaries while providing enterprise-grade governance and auditability. Explore the Assistants Reference Manual , Knowledge Bases Reference Manual , Retrievers Reference Manual , Rulesets Manual , Structures Reference Manual , Tools Reference Manual , Threads Reference Manual , Configure Data Sources in Gen AI Builder , Data Lake Reference Manual , and LibrariesΩ Manual manuals.
Core Infrastructure Integration#
Hybrid Manager Foundation Gen AI Builder operates within EDB’s vision for AI with Postgres and Hybrid Manager ’s Kubernetes orchestration layer, leveraging distributed computing capabilities while maintaining centralized governance. This architecture ensures consistent operational procedures across development and production environments.
Data Estate Integration Knowledge Bases Reference Manual connect directly to Postgres databases and object storage systems (see Data Lake Reference Manual ) within organizational infrastructure, eliminating external data dependencies while supporting diverse Configure Data Sources in Gen AI Builder types.
Model Serving Integration Applications access language models and embedding models through the AI Factory Models infrastructure, ensuring consistent governance policies across all AI capabilities.
Architectural Components#
Knowledge Base Framework#
Knowledge Bases Reference Manual serve as the foundation for retrieval‑augmented generation applications by combining structured database content with unstructured document repositories. The framework provides semantic search capabilities through vector embeddings (see Vector Engine (PGvector) ) while maintaining complete data lineage.
Data Source Integration
Postgres database tables with semantic indexing
Document repositories from object storage systems
Real-time data feeds through API integrations
Web content through controlled scraping operations
Embedding Management
Private embedding models for sensitive content processing
Vector storage optimization within Postgres infrastructure
Semantic similarity algorithms for retrieval accuracy
Hybrid search combining vector and keyword approaches
Retrieval Systems#
Retrievers Reference Manual components orchestrate search operations across diverse data sources, providing unified interfaces for knowledge discovery while maintaining source attribution and access controls.
Retrieval Strategies
Vector similarity search for semantic content matching
Keyword-based search for exact term identification
Hybrid approaches combining multiple retrieval methods
Contextual filtering based on user permissions and data classification
Assistant Framework#
Intelligent Assistants Reference Manual combine knowledge retrieval with language model capabilities to provide conversational interfaces for organizational knowledge. The framework supports complex reasoning workflows while maintaining audit trails for all interactions (see Threads Reference Manual ).
Assistant Capabilities
Multi-turn conversational interfaces with context preservation
Tools Reference Manual integration for external system interactions
Reasoning workflows for complex query resolution
Audit logging for compliance and operational transparency
Implementation Patterns#
Enterprise Knowledge Systems#
Organizations implement comprehensive knowledge management systems that unify structured and unstructured information sources through semantic search capabilities.
Typical Architecture
Data Integration Layer: Connects multiple organizational Configure Data Sources in Gen AI Builder including databases, document repositories, and knowledge management systems
Processing Pipeline: Transforms content into searchable formats with appropriate metadata and access control annotations
Retrieval Interface: Provides unified search across all integrated content with relevance ranking and source attribution
Application Layer: Delivers knowledge access through conversational interfaces and API integrations
Implementation Considerations
Data governance policies for content classification and access control
Performance optimization for large document collections
Integration with existing authentication and authorization systems
Compliance requirements for audit trails and data lineage
Retrieval-Augmented Generation Applications#
Applications combine retrieval capabilities with language model inference to provide context-aware responses based on organizational knowledge.
Development Workflow
Knowledge Base Construction: Establish comprehensive document indexing with semantic embeddings (see Create a Knowledge Base in Gen AI Builder and Manage Knowledge Bases in Gen AI Builder )
Retrieval Configuration: Implement search strategies optimized for application requirements
Generation Integration: Connect language models for response generation based on retrieved context
Response Orchestration: Coordinate retrieval and generation workflows with appropriate caching and optimization
Technical Requirements
Low-latency retrieval for interactive applications
Context window management for large document processing
Response quality evaluation and improvement workflows
Integration testing across knowledge base updates
Conversational AI Platforms#
Interactive applications provide natural language interfaces for complex organizational workflows and information discovery.
Platform Components
Multi-modal input processing for text, voice, and document interactions
Context management for extended conversational sessions
Tool integration for external system operations
Response personalization based on user roles and preferences
Operational Features
Session management with conversation state persistence
Performance monitoring for response quality and latency
Usage analytics for application optimization and capacity planning
Security controls for sensitive information handling
Development Framework#
Knowledge Base Development#
Knowledge base creation involves data source integration, content processing, and semantic indexing to support efficient retrieval operations.
Development Process
Source Assessment: Evaluate Configure Data Sources in Gen AI Builder for content quality, update frequency, and access requirements
Processing Pipeline Design: Configure content transformation workflows including cleaning, chunking, and metadata extraction (see Configure the Data Lake in Gen AI Builder )
Indexing Strategy: Implement embedding generation and vector storage optimization
Retrieval Testing: Validate search quality through systematic evaluation procedures
Quality Assurance
Content accuracy verification through systematic sampling
Retrieval relevance evaluation using standard metrics
Performance benchmarking under expected load conditions
Security testing for access control and data isolation
Assistant Configuration#
Assistant development requires careful orchestration of retrieval, reasoning, and response generation capabilities to deliver reliable user experiences (see Create an Assistant in Gen AI Builder ).
Configuration Areas
Behavior Definition: Establish assistant personality, capabilities, and operational boundaries
Knowledge Integration: Configure retrieval strategies and knowledge source prioritization (see Retrievers Reference Manual )
Tool Integration: Connect external systems and APIs for expanded functionality (see Tools Reference Manual )
Response Optimization: Tune generation parameters for appropriate response characteristics
Testing Strategies
Conversational flow validation through systematic dialog testing
Knowledge accuracy verification across diverse query types
Integration testing for external tool interactions
Load testing for concurrent user scenarios
API Development#
Applications expose functionality through standardized APIs that support diverse client applications while maintaining consistent security and operational characteristics (see Where to find SDK references and examples? ).
API Design Principles
RESTful interfaces with clear resource modeling
Authentication and authorization integration with organizational systems
Rate limiting and quota management for resource protection
Comprehensive documentation and SDK support
Integration Architecture#
EDB Postgres AI Ecosystem#
Gen AI Builder integrates seamlessly with other EDB Postgres AI components to provide comprehensive AI application development capabilities.
Component Interactions
** AI Factory Models **: Governed access to language models and embedding models
** AI Accelerator Pipelines **: Automated content processing and knowledge base updates
** Vector Engine (PGvector) **: High‑performance semantic search within Postgres infrastructure
** EDB’s vision for AI with Postgres and Hybrid Manager **: Orchestration and resource management
External System Integration#
Applications connect with existing organizational systems through standardized interfaces while maintaining security boundaries and audit capabilities.
Integration Patterns
API-based connections for real-time data access
Batch processing for large data source synchronization
Event-driven updates for dynamic content management
Secure authentication delegation for user access control
Operational Considerations#
Performance Characteristics#
Gen AI Builder applications require careful performance optimization to deliver responsive user experiences while managing computational resources efficiently.
Performance Factors
Knowledge base size affects retrieval latency and resource requirements
Model complexity influences response generation time and GPU utilization
Concurrent user load impacts system scalability and resource allocation
Network connectivity affects distributed component communication
Security Framework#
Comprehensive security controls protect sensitive organizational knowledge while enabling appropriate access for authorized users and applications.
Security Components
Multi-tenant isolation for different organizational units
Role-based access control aligned with existing authorization systems
Data encryption for knowledge base content and communication channels
Audit logging for all knowledge access and assistant interactions
Governance Integration#
Built-in governance capabilities ensure applications comply with organizational policies and regulatory requirements throughout their operational lifecycle.
Governance Features
Content approval workflows for knowledge base updates
Model usage tracking and compliance reporting
Data lineage maintenance for audit and troubleshooting
Performance monitoring aligned with service level objectives
Getting Started#
Prerequisites#
Gen AI Builder requires foundational infrastructure components including Hybrid Manager installation and appropriate compute resources for AI workloads.
Infrastructure Requirements
Kubernetes cluster with sufficient compute and storage capacity
GPU resources for model serving and embedding generation
Network connectivity to organizational data sources
Integration with identity and access management systems
Initial Implementation#
Organizations should begin with focused use cases that demonstrate value while establishing operational procedures for broader deployment.
Implementation Sequence
Pilot Knowledge Base: Create initial knowledge base with well-defined content scope
Basic Retrieval: Implement simple search functionality with performance validation
Assistant Prototype: Develop conversational interface for pilot knowledge domain
Production Deployment: Scale successful prototypes with comprehensive operational controls
Learning Resources#
Conceptual Foundation
Gen AI Builder Hub - Platform overview and initial setup procedures
Gen AI How-To Guides - Practical implementation guidance for common scenarios
Component Documentation
LibrariesΩ Manual - Comprehensive knowledge base development guidance
Assistants Reference Manual - Intelligent assistant creation and configuration
API Reference - Detailed technical documentation for development teams
Advanced Topics
Data Lake Reference Manual - Large-scale data processing and management
SDK Documentation - Programmatic interfaces for custom development
Gen AI Builder enables organizations to develop sophisticated AI applications while maintaining complete control over data, models, and inference operations within their existing infrastructure environments.
- Getting Started
- Gen AI Builder Hub
- Gen AI Builder Concepts (Assistants, Knowledge, Tools, Threads)
- Gen AI Architecture (Entities and Flows)
- Gen AI Builder FAQ
- Which models/drivers are supported?
- When to use RAG vs fine‑tuning?
- How do I create and update Knowledge Bases?
- What are Retrievers and how do I tune them?
- How do Assistants call Tools and Structures?
- Where does data live and how is access governed?
- How do I improve latency and control cost?
- How do I test, observe, and troubleshoot?
- Typical use cases and patterns
- Where to find SDK references and examples?
- Manual
- Assistants Reference Manual
- Knowledge Bases Reference Manual
- Knowledge Bases Reference Manual
- Configure Data Sources in Gen AI Builder
- Retrievers Reference Manual
- Retrievers Reference Manual
- Rulesets Manual
- Structures Reference Manual
- Tools Reference Manual
- Tools Reference Manual
- Threads Reference Manual
- Threads Reference Manual
- Data Lake Reference Manual
- Data Lake Reference Manual
- LibrariesΩ Manual
- Explainers
- How to prepare data and kb
- Gen AI How-To Guides
- Create a Knowledge Base in Gen AI Builder
- Manage Knowledge Bases in Gen AI Builder
- Who is this for
- What you will accomplish
- Why manage Knowledge Bases
- Complexity and time to complete
- Viewing existing Knowledge Bases
- Viewing Knowledge Base details
- Editing a Knowledge Base
- Refreshing or re-syncing a Knowledge Base
- Deleting a Knowledge Base
- Troubleshooting
- Example scenario
- SDK reference
- Related topics
- Configure an Atlassian Confluence data source
- Configure a Google Drive data source
- Configure an Amazon S3 data source
- Configure a Web Page data source
- Configure a Custom data source
- Configure a Data Lake data source
- Configure the Data Lake in Gen AI Builder
- Create a Retriever in Gen AI Builder
- How to build assistants
- How to integrate with your apps
- How to operate and observe