What is the best format to input Q&A data for ChatGPT or the OpenAI Assistant?

Hi,

  1. Every character in prompt is counted as token.

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

1 Like