Documentation
References
Supported File Format

Supported File Formats

Markdown .md

Trick

Long sentences, such as a novel with no line breaks at all, are difficult to split into separate translations and may cause errors. If your text contains approximately 80,000 consecutive characters (when using gpt-3.5) without line breaks, please review your text proofreading.

Example

✅️ Friendly format (have line break)

This is a sample novel.
 
Once upon a time...

⚠️ Unfriendly format

This is a sample novel.
Once upon a time...
Once upon a time...

The number of tokens can be measured on the official OpenAI tool (opens in a new tab).

MDX (opens in a new tab) .mdx

MDX allows you to use JSX in your markdown content.

Json .json