2 ms·
The API doesn't even follow the format that OpenAI's chat endpoints take. You don't pass a single string to them. You pass an array of system/user/assistant mes
by weird-eye-issue 3y ago
The API doesn't even follow the format that OpenAI's chat endpoints take. You don't pass a single string to them. You pass an array of system/user/assistant messages. So this pricing won't be accurate
Not to mention this would be better replaced with a tokenizer lib and a multiplication operation
- thereisnojesus 3y ago[flagged]