Python


How to Send Long Text Input to ChatGPT Using the OpenAI API

In a previous post, I showed how you can apply text preprocessing techniques to shorten your input length for ChatGPT. Today in the web interface (chat.openai.com), ChatGPT allows you to send a message with a maximum token length of 4,096. There are bound to be situations in

Python
How to Send Long Text Input to ChatGPT Using the OpenAI API

Optimizing Text for ChatGPT: NLP and Text Pre-Processing Techniques

Mastering text preprocessing to send more input to ChatGPT.

NLP
Optimizing Text for ChatGPT: NLP and Text Pre-Processing Techniques

Measuring Productivity with GitHub Issues

Can a little Pandas help improve your development velocity?

Leadership
Measuring Productivity with GitHub Issues

Do I Raise or Return Errors in Python?

I hear this question a lot: “Do I raise or return this error in Python?” The right answer will depend on the goals of your application logic. You want to ensure your Python code doesn’t fail silently, saving you and your teammates from having to hunt down deeply entrenched

Python
Do I Raise or Return Errors in Python?

Increase Developer Confidence With a Great Django Test Suite

Done correctly, tests are one of your application’s most valuable assets. The Django framework in particular offers your team the opportunity to create an efficient testing practice. Based on the Python standard library unittest, proper tests in Django are fast to write, faster to run, and can offer you

Computing
Increase Developer Confidence With a Great Django Test Suite

Subscribe

Receive new posts in your inbox.

Success! Check your email to confirm your subscription.