Today: OpenAI: Tinkering with Tiktoken APIs – Build Inexpensive Prompts?
Reading through #openai #api #documentation resulted in this video being recorded and released. The only explanation I have right now is that regardless of how we communicate with any OpenAI model, it’s necessary to spend sometime on these fundamentals.
The video track covers the following::
1. 00:00 – Intro
2. 00:14 – PROLOGUE & DISCLAIMER
3. 03:24 – Tinkering with Tiktoken
4. 11:05 – Measuring Tokens
5. 13:18 – Test Results – Measured Vs Actual Tokens
6. 19:11 – Unoptimized Prompts Vs. Consumption Costs
7. 24:30 – EPILOGUE
Companion code for this video is available here:
https://drive.google.com/drive/folders/1BFssi4Pv6hPgLHVk6l1XlNc_9FhZecYj?usp=sharing