Principle:Ucbepic Docetl Package Installation
| Knowledge Sources | |
|---|---|
| Domains | DevOps, Environment_Setup |
| Last Updated | 2026-02-08 01:40 GMT |
Overview
An environment setup principle that installs the DocETL package and configures API keys for LLM provider access.
Description
Package Installation establishes the runtime environment for DocETL, including installing the Python package with its dependencies and configuring authentication for LLM providers. DocETL supports multiple installation profiles: core (basic operations), parsing (with file parsers for PDFs, DOCX), and server (with FastAPI backend for the playground).
Usage
Apply this principle before using any DocETL functionality. Install the core package for CLI and Python API usage, add the parsing extra for file conversion needs, or add the server extra for running the playground.
Theoretical Basis
Environment setup follows a layered dependency model:
- Core Installation: Install base package with essential dependencies
- Optional Extras: Add parsing or server capabilities as needed
- API Configuration: Set environment variables for LLM provider authentication
- Verification: Confirm installation with docetl --help or Python import