This repository contains the user documentation for Open Chat Studio.
Open Chat Studio is a platform for building, deploying, and evaluating AI-powered chat applications. It provides tools for working with various LLMs (Large Language Models), creating chatbots, managing conversations, and integrating with different messaging platforms.
Assuming you've already cloned this repository:
-
Install UV python package and project manager
curl -LsSf https://astral.sh/uv/install.sh | sh -
Set up the project
uv venv uv sync
-
Install the pre-commit hooks
uv run prek install --install-hooks
-
Start the project
uv run zensical serve
Read the contributing to user docs guide before making changes to the documentation.
The AGENTS.md file is a great place to start to understand the architecture, the page type conventions, custom tooling etc. See the Zensical documentation for how to write markdown.
Note: This project uses mkdocs.yml for site configuration, since Zensical is compatible with the MkDocs configuration format.
Before pushing, run the strict build to catch broken internal links (CI will fail if you don't):
uv run zensical build --clean --strictAPI docs are generated automatically based on the OpenAPI schema. This is done using the src/ocs_docs/openapi_to_docs.py utility.
python src/ocs_docs/openapi_to_docs.py https://openchatstudio.com/api/schema -o docs/apiThis utility is used in the update-api-docs GitHub action.
Documentation for the embeddable chat widget lives under docs/chat_widget/ and ships on a different cadence from the rest of Open Chat Studio. To keep those docs aligned with widget releases:
- Start branches from
widget-develop, and open the pull request againstwidget-developso updates can be bundled into the next widget release. - Limit changes to the widget docs (and their assets) when targeting
widget-develop; broader documentation updates should continue to go tomain. - Release managers merge
widget-developback intomainas part of the widget release process, so no extra action is needed once the PR is approved.
Changelog updates are largely automated. See the changelog process developer guide for background on the automation and the AGENTS.md file for details.
