Hi,
-
Every character in prompt is counted as token.
-
Before sending request to OpenAI API you have to encapsulate special characters with backslash - \
2.1. To make it easier, ask Chat GPT to write that piece of code to prepare raw texts into JSON / API applicable format on your preferable programming language.