Documentation
¶
Overview ¶
Package python exposes the Seshat-managed Python subprocess layer. It re-exports DoclingManager from internal/python so callers outside the seshat module (e.g. the product API server) can start and stop docling-serve without accessing internal packages.
Index ¶
Constants ¶
View Source
const ( DefaultDoclingPort = internalpython.DefaultDoclingPort DefaultDoclingHost = internalpython.DefaultDoclingHost )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoclingManager ¶
type DoclingManager = internalpython.DoclingManager
DoclingManager starts and owns a docling-serve subprocess. Use DefaultDoclingManager() for the standard runtime-root venv.
func DefaultDoclingManager ¶
func DefaultDoclingManager() *DoclingManager
DefaultDoclingManager creates a manager using the Seshat runtime root venv (~/.config/seshat/.venv or $SESHAT_RUNTIME_ROOT/.venv). Returns nil if the venv or docling-serve binary is not installed.
func NewDoclingManager ¶
func NewDoclingManager(venvDir, host string, port int) *DoclingManager
NewDoclingManager creates a manager for the venv at venvDir.
Click to show internal directories.
Click to hide internal directories.