# docker/genai-stack

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/docker-genai-stack).**

5,333 stars · 1,221 forks · Python · CC0-1.0

## Links

- GitHub: https://github.com/docker/genai-stack
- awesome-repositories: https://awesome-repositories.com/repository/docker-genai-stack.md

## Description

This project is a containerized development stack and application framework for building retrieval-augmented generation systems. It provides a dockerized AI sandbox that integrates local model runtimes, knowledge graphs, and vector stores to enable the creation of contextual chatbots.

The stack is distinguished by its graph-based vector store, which combines structured knowledge graphs with vector indices for both semantic and structural data retrieval. It allows for local model hosting with CPU or GPU acceleration, enabling generative tasks without reliance on external cloud APIs.

The framework covers a broad range of capabilities, including the processing and indexing of PDF documents, the orchestration of container-based AI services, and the implementation of grounded response generation. It includes a web-based chat interface with incremental response streaming and a standardized interface for switching between different language model providers.

The environment is bootstrapped using container orchestration to rapidly deploy a pre-configured stack of models and databases.

## Tags

### Artificial Intelligence & ML

- [LLM Application Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-application-frameworks.md) — Provides a comprehensive toolkit for integrating large language models with vector and graph databases to build contextual chatbots.
- [Vector Knowledge Bases](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-stores/weaviate-knowledge-stores/vector-knowledge-bases.md) — Uses Neo4j to create a data layer combining structured knowledge graphs and vector embeddings.
- [Standard RAG Development](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-rag-development/standard-rag-development.md) — Builds systems that retrieve context from vector and graph databases to provide grounded answers.
- [Graph Retrieval Augmented Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/graph-retrieval-augmented-generation.md) — Combines graph-based knowledge structures with retrieval-augmented generation to provide contextually grounded AI responses. ([source](https://github.com/docker/genai-stack/blob/main/bot.py))
- [LLM Provider Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-provider-integrations.md) — Implements a standardized interface for connecting to various local and cloud large language model providers. ([source](https://github.com/docker/genai-stack/blob/main/chains.py))
- [LLM Provider Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-provider-interfaces.md) — Uses a common abstraction layer to seamlessly switch between local model runtimes and cloud AI services.
- [Local Model Runtimes](https://awesome-repositories.com/f/artificial-intelligence-ml/local-model-runtimes.md) — Includes a deployment setup for running open-source language models on local hardware with CPU or GPU acceleration.
- [Model Provider Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-configurations.md) — Provides standardized connection settings and credential management for integrating diverse AI model providers. ([source](https://github.com/docker/genai-stack/blob/main/env.example))
- [RAG Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/rag-frameworks.md) — Offers a containerized development environment combining LangChain, Neo4j, and Ollama for building RAG applications.
- [Retrieval Augmented Generation Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/retrieval-augmented-generation-pipelines.md) — Implements a pipeline that fetches relevant document chunks and graph nodes to ground AI responses.
- [Text Embedding Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/text-embedding-generators.md) — Converts text data into numerical vector representations to enable semantic search and similarity analysis. ([source](https://github.com/docker/genai-stack/blob/main/chains.py))
- [Vector Embeddings](https://awesome-repositories.com/f/artificial-intelligence-ml/vector-embeddings.md) — Implements a workflow that processes raw PDF text into vector embeddings for semantic retrieval.
- [Chatbot Containerization](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-deployment/containerized-deployments/chatbot-containerization.md) — Packages the AI application and its web interface into containers for consistent execution. ([source](https://github.com/docker/genai-stack/blob/main/bot.Dockerfile))
- [Response Grounding](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-knowledge-bases/response-grounding.md) — Produces grounded responses with source citations by constraining model outputs to verified facts within a knowledge base. ([source](https://github.com/docker/genai-stack/blob/main/readme.md))
- [Local Document Indexing](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-rag-development/knowledge-base-retrieval/local-document-indexing.md) — Processes local PDF files into searchable vector stores to enable similarity-based questioning within RAG pipelines. ([source](https://github.com/docker/genai-stack/blob/main/readme.md))
- [Chat Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/chat-interfaces.md) — Renders a web-based conversational interface for interacting with the integrated AI models. ([source](https://github.com/docker/genai-stack/blob/main/bot.py))
- [LLM Response Streaming](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-response-streaming.md) — Delivers generated text tokens incrementally from the model to the UI to minimize perceived latency.
- [PDF Chatbots](https://awesome-repositories.com/f/artificial-intelligence-ml/pdf-chatbots.md) — Processes PDF files into text chunks and embeddings for natural language querying.
- [PDF Content Querying](https://awesome-repositories.com/f/artificial-intelligence-ml/pdf-content-querying.md) — Extracts text from PDF documents and indexes it in a vector database to enable natural language querying. ([source](https://github.com/docker/genai-stack/blob/main/pdf_bot.py))
- [PDF Document Analyzers](https://awesome-repositories.com/f/artificial-intelligence-ml/pdf-document-analyzers.md) — Combines text extraction and semantic search to analyze and query information within local PDF documents. ([source](https://github.com/docker/genai-stack#readme))

### Data & Databases

- [Hybrid Vector-Graph Databases](https://awesome-repositories.com/f/data-databases/hybrid-vector-graph-databases.md) — Combines knowledge graphs with vector indices in a single database for semantic and structural data retrieval. ([source](https://github.com/docker/genai-stack/blob/main/docker-compose.yml))
- [Document Chunking and Embedding Pipelines](https://awesome-repositories.com/f/data-databases/database-management-systems/database-engines/vector-databases/vector-document-indexing/document-chunking-and-embedding-pipelines.md) — Provides an automated pipeline to chunk, embed, and load external documents into a vector-graph database. ([source](https://github.com/docker/genai-stack/blob/main/docker-compose.yml))
- [External Data Ingestion](https://awesome-repositories.com/f/data-databases/external-data-ingestion.md) — Ingests questions and answers from external APIs, generating embeddings for storage in a graph database. ([source](https://github.com/docker/genai-stack/blob/main/loader.py))
- [Graph Databases](https://awesome-repositories.com/f/data-databases/graph-databases.md) — Provides connectivity to a graph database for the storage and retrieval of structured knowledge. ([source](https://github.com/docker/genai-stack/blob/main/env.example))
- [Graph RAG Frameworks](https://awesome-repositories.com/f/data-databases/graph-rag-frameworks.md) — Implements retrieval-augmented generation using a hybrid of vector and graph-based data structures for grounded answering. ([source](https://github.com/docker/genai-stack#readme))
- [Knowledge Graph Builders](https://awesome-repositories.com/f/data-databases/knowledge-graph-indexers/knowledge-graph-builders.md) — Extracts external data and processes it into embedded vectors and graph nodes for retrieval. ([source](https://github.com/docker/genai-stack#readme))
- [Vector Indexing](https://awesome-repositories.com/f/data-databases/vector-indexing.md) — Creates specialized vector indexes within a graph database to enable high-dimensional similarity searches for questions and answers. ([source](https://github.com/docker/genai-stack/blob/main/utils.py))

### DevOps & Infrastructure

- [Container Orchestration Environments](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration-environments.md) — Orchestrates a containerized stack of models, databases, and interfaces for rapid AI environment bootstrapping.
- [Pre-Configured Sandbox Deployments](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/docker-compose-deployments/pre-configured-sandbox-deployments.md) — Provides a pre-configured set of containers for deploying local model runtimes and knowledge graphs.
- [LLM Deployments](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/llm-deployments.md) — Runs language models and embedding providers in containers to enable offline generative tasks.
- [Full-Stack Orchestration](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/platforms/container-orchestration-environments/full-stack-orchestration.md) — Orchestrates a full stack of AI models and databases using containers for rapid development. ([source](https://github.com/docker/genai-stack/blob/main/loader.Dockerfile))
- [AI Interface Deployments](https://awesome-repositories.com/f/devops-infrastructure/devops/backend-as-a-service-platforms/backend-as-a-service-integrations/ai-frontend-backend-bridges/ai-interface-deployments.md) — Bootstraps a containerized user interface to interact with integrated AI services. ([source](https://github.com/docker/genai-stack/blob/main/front-end.Dockerfile))
- [PDF Chatbot Deployments](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-bot-deployments/pdf-chatbot-deployments.md) — Containerizes a generative AI application to provide an interface for interacting with PDF documents. ([source](https://github.com/docker/genai-stack/blob/main/pdf_bot.Dockerfile))
- [AI Stack Deployments](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-deployments/ai-stack-deployments.md) — Wraps AI functionality with a server to serve generative capabilities over HTTP. ([source](https://github.com/docker/genai-stack/blob/main/api.Dockerfile))

### Development Tools & Productivity

- [AI Infrastructure Stacks](https://awesome-repositories.com/f/development-tools-productivity/local-development-stacks/ai-infrastructure-stacks.md) — Sets up a pre-configured stack of model runtimes and databases using Docker for rapid AI prototyping.

### Security & Cryptography

- [Local Language Model Hosting](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection/local-only-data-processing/local-language-model-hosting.md) — Executes language models in containers with CPU or GPU acceleration for local generative tasks. ([source](https://github.com/docker/genai-stack/blob/main/docker-compose.yml))

### Software Engineering & Architecture

- [AI Project Bootstrapping](https://awesome-repositories.com/f/software-engineering-architecture/application-bootstrapping/ai-project-bootstrapping.md) — Provides tools for initializing a pre-configured environment with a model runner and graph database. ([source](https://github.com/docker/genai-stack#readme))

### Web Development

- [Incremental Response Streaming](https://awesome-repositories.com/f/web-development/incremental-response-streaming.md) — Streams tokens incrementally to the user interface to reduce perceived latency during response generation. ([source](https://github.com/docker/genai-stack/blob/main/bot.py))
