3 Tips for Working With the OpenAI API

preview_player
Показать описание
Working with OpenAI's API comes with its own challenges. Therefore, in this video, I'll share with you three practical tips for effectively working with a tool like OpenAI's API.

🎓 Courses:

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund
- Kit Hygh
- Alexander Milden
- Bean

🔖 Chapters:
0:00 Intro
0:56 Tip 1: Take token limits into account
3:03 Estimating token size
5:06 Tip 2: Make sure you don’t hit a rate limit
6:17 Tip 3: Use an appropriate model
7:30 Summary

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
Рекомендации по теме
Комментарии
Автор

Working with OpenAI's API comes with its own challenges. Therefore, in this video, I'll share with you three practical tips for effectively working with a tool like OpenAI's API.

ArjanCodes
Автор

For rate limiting, you can have a look at tenacity

aflous
Автор

Please do the Specification pattern! I love the pattern videos

adhshhsbd
Автор

This was fantastic and lined up with a project I'm currently working on.
Given your JSON example - how would you suggest handling that situation (where you can't chunk the prompt)?
Got a new subscriber! 👍

allenbradley
Автор

Hello any change you bring ClickHouse database integration with python. Like a small project with all steps, from installation to ingestion of real time feed data and on the fly data manipulation example. Ideally with integration with FastAPI and applied for example for tickdata price or IoT sensor data. If possible do some benchmarks in comparison with another DB for timeseries like: InfluxDB, TimeScaleDB or DuckDB. I feel that is missing something like this in YouTube. Thanks in advance.

Danielsantos
Автор

We use tenacity for rate limiting. Seems good so far

jakedunn
Автор

Can i intern with you. Been leaning from your youtube. Maybe some grunt work just to work with a legend is a dream.

rafiullah-zzlf
Автор

i cannot understand what your mean, even i watched half video here, what are you talking about?? your are working with chatgpt api, but why and how? and what are you going to do? just add some code?you should show us what do you want to do and do it, if it was IT, so make the tites as IT

ibrahimhepanhanjia