Skip to main content

1. Install

The api extra includes FastAPI and uvicorn. Add semantic for the semantic chunker and code for the code chunker. The embeddings refinery works out of the box with local models (e.g. minishlab/potion-base-8M); add the relevant extra (e.g. openai) only if you plan to use API-based embedding providers.

2. Start the Server

Visit http://localhost:8000/docs for the interactive Swagger UI, or http://localhost:8000/redoc for ReDoc.

3. Make Your First Request

Response:

Or Use Docker

The server starts on port 8000. See the Docker guide for the full docker-compose.yml and production setup.

Server Options

Next Steps

All Endpoints

Token, Sentence, Recursive, Semantic, Code, and refineries

Pipelines

Save and execute reusable chunking workflows

Docker Deployment

Production-ready Docker setup with env vars