llm_extraction boundary

This commit is contained in:
2026-04-26 03:05:48 +02:00
parent c6d1ee55e6
commit 7e66c57350
4 changed files with 372 additions and 0 deletions

View File

@@ -105,6 +105,21 @@ Candidate graphs are meant to be corrected before publication. The API supports:
Examples are available in the generated OpenAPI docs at `/docs`.
## Optional LLM Extraction
The `llm_extraction` module is designed to work with the sibling `llm-connect`
project without making it a hard dependency. To enable provider-backed
extraction locally:
```bash
python -m pip install -e ../llm-connect
```
The integration accepts any `llm-connect` style adapter with
`execute_prompt(prompt, config)` and parses strict JSON candidate drafts from
model responses. Tests use a fake adapter, so the default test suite does not
call external providers.
## Agent-Facing Endpoints
The v0.1 API covers the main registration, analysis, review, search, and inspection loop: