Skip to content

About

User documentation for Open Chat Studio

Resources

Stars

5 stars

Watchers

3 watching

Forks

Repository files navigation

Open Chat Studio Documentation

OCS Logo

This repository contains the user documentation for Open Chat Studio (OCS), published at docs.openchatstudio.com.

OCS 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.

How the docs stay up to date

Much of this repo is updated by automation: changelog entries, the API reference, and docs updates that follow code changes. OCS uses a Docs-as-Code + LLM Augmentation approach: the docs are markdown in git and go through pull requests like code. When a code PR merges in the OCS repo, a workflow here has Claude draft a changelog entry and any needed docs updates, and opens a PR assigned to the code PR's author for review. Each week, another workflow drafts a GitHub release from the new changelog entries for a person to review and publish.

The reasoning and the developer's part of the process are in the user documentation and changelog process guide. See also changelog automation and weekly release notes.

Where to start

Contributing documentation by hand

Manual edits are for changes the automation does not cover: corrections, restructuring, new tutorials or concepts, and changes when the automation did not fire or cannot run (for example, on a fork).

  • Read Contributing to user docs for page types, writing guidance, and how to rename pages safely.
  • Read AGENTS.md for the page type conventions, writing style, commands and branch workflow. Chat widget docs (docs/chat_widget/) go to widget-develop, everything else to main. Don't mix the two in one PR.
  • Use the Zensical documentation for markdown features.
  • If the automation missed an OCS PR, re-run it from GitHub Actions. Steps are in the changelog automation guide.
  • Don't edit docs/api/. It is generated from the OCS OpenAPI schema (see the REST API docs) by src/ocs_docs/openapi_to_docs.py, run by the update-api-docs workflow.
  • Manual changelog edits are fine. Match the existing style in docs/changelog.md; the entry format is in AGENTS.md.

Improving the repo's processes, security, and tooling

Start with these, and follow their links from there:

Each workflow also documents its triggers, secrets, and caveats in its own header comment. Keep those comments current when you change a workflow.

Quickstart

Assuming you've already cloned this repository:

  1. Install UV python package and project manager

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Set up the project

    uv venv
    uv sync --locked
  3. Install the pre-commit hooks

    uv run prek install --install-hooks
  4. Start the project

    uv run zensical serve
  5. Before pushing, run the build. It fails on broken internal links, as CI does, while zensical serve only warns about them:

    uv run zensical build --clean

About

User documentation for Open Chat Studio

Resources

Stars

5 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages