Skip to content

API reference

This section documents the public Python interface of chatgpt-to-markdown.

Public modules

Module Description
chatgpt_to_markdown Package entry point, ChatGPTExportConverter, ConverterConfig
chatgpt_to_markdown.models Pydantic v2 models for all ChatGPT export structures

Stability note

This package does not yet publish a stable API contract. Public names may change between minor versions until the package reaches 1.0. The classes documented here are the intended stable public surface.

What is not documented here

The pipeline/ modules (loader, indexer, parser, enricher, resolver, linearizer, filterer, renderer, organizer, index_generator, validator) are implementation details and are not part of the public API. Use ChatGPTExportConverter.run() to orchestrate the full conversion.