chatsky_ui package

Subpackages

cli module

chatsky_ui.cli.build_bot(build_id: int | None = None, project_dir: Path | None = None, preset: str = 'success')[source]

Builds the bot with one of three various presets.

chatsky_ui.cli.build_scenario(build_id: int, project_dir: Path = '.')[source]

Builds the bot with preset success

chatsky_ui.cli.init(destination: Path | None = None, no_input: bool = False, overwrite_if_exists: bool = True)[source]

Initializes a new Chatsky-UI project using an off-the-shelf template.

chatsky_ui.cli.run_app(host: str | None = None, port: int | None = None, log_level: str | None = None, conf_reload: bool | None = None, project_dir: Path = PosixPath('.')) None[source]

Runs the UI for your project_dir on host:port.

chatsky_ui.cli.run_bot(build_id: int | None = None, project_dir: Path | None = None, preset: str = 'success')[source]

Runs the bot with one of three various presets.

chatsky_ui.cli.run_scenario(build_id: int, project_dir: Path = '.')[source]

Runs the bot with preset success

main module

chatsky_ui.main.lifespan(app: FastAPI)[source]
async chatsky_ui.main.root() Response[source]

Redirect ‘/’ to index.html

async chatsky_ui.main.route_static_file(path: str)[source]