{% extends "base.html" %} {% block content %}
docs_chat section in your configuration (or
export DC43_CONTRACTS_APP_DOCS_CHAT_ENABLED=1) and restart the dc43 app to chat with the bundled guides.
Launching the demo with dc43-demo --config <path-to-config> applies your personal TOML without having to
export the variable globally.
Install the optional extra (pip install --no-cache-dir -e ".[demo]" from a source checkout, or
pip install "dc43-contracts-app[docs-chat]" from PyPI) and provide an API key either by setting
docs_chat.api_key in your private configuration file or by exposing the
docs_chat.api_key_env environment variable. Skip chaining both commands in the same environment to avoid pip
dependency conflicts.
Confirm the docs_chat configuration is enabled, the docs-chat extra is installed, your config path is passed to the
app (for example dc43-demo --config ~/.dc43/contracts-app.toml), and an API key is available via
docs_chat.api_key or the configured environment variable before retrying.
Ask questions about the dc43 platform, architecture, and deployment guides. Answers are grounded in the Markdown documentation and indexed source files bundled with this repository so you can jump straight to the relevant implementation details.
Prefer an API? POST messages to /api/docs-chat/messages with a JSON payload ({"message": "...", "history": [...]})
to retrieve answers and cited sources programmatically.