-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
In the first quickstart guide, we used the openai Python package to build three different programs based on AI-generated output. We experimented with various models, including GPT-4o and GPT-3.5, explored different request parameters, and combined user prompts with system prompts.
We also loaded credits to the OpenAI platform, which increased our rate limits and allowed us to use a broader range of models. We learned how request costs are calculated based on the number of input and output tokens.
Finally, we developed a basic code completion program that wrapped a function signature, guiding the model to generate the rest of the function’s implementation.
With these foundations in place, we can progress to the next chapter, Quickstart Guide to GitHub Copilot, and better understand how Copilot generates coding suggestions and how to tailor them to fit our unique preferences when necessary.