Skip to content

tdfs4ds.serve

tdfs4ds.serve

tdfs4ds.serve — OpenAI-compatible + LangServe HTTP server for the two agents.

The server and the admin app are part of the base install (pip install tdfs4ds); add the assistant with::

pip install tdfs4ds[agent]

Run the server::

python -m tdfs4ds.serve

See :mod:tdfs4ds.serve.app for the FastAPI factory and :mod:tdfs4ds.serve.openai_router for the OpenAI surface.

__all__ module-attribute

__all__ = ['create_app', 'serve']

__getattr__

__getattr__(name)

create_app / serve need fastapi (the serve extra): import them on first use, so modules outside the server (tdfs4ds.serve.store_consistency, the page snippets) import with the base install.

Submodules