-
Notifications
You must be signed in to change notification settings - Fork 316
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Problem
- There is no single place to view or edit DocETL global config (default model, rate limit, system prompt, etc.). DocWrangler can set only some params, and they drift.
Proposal
- Single source of truth in DocETL: new GlobalConfig and Python API.
- Add docetl.api.get_global_config() and docetl.api.update_global_config(overrides: dict).
- Load/validate via a schema; persist to file/env; optionally expose read-only endpoint in server.
- DocWrangler integration
- Fetch read-only/display all params.
- Allow setting an optional docwrangler_config_overrides: dict for allowed keys; merge with DocETL defaults.
- Enforce allowlist (e.g., default model, system prompt, temperature, max tokens, rate limit).
Sync semantics
- Merge: DocWrangler overrides take precedence; timestamp updates for audit.
- Validate types/ranges; apply to running jobs where safe; otherwise next run.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request