Home Publications Certifications LinkedIn GitHub Email

Creating a novel-writing AI using openAI's API

ChatGPT is a great tool, but there are some parameters and models that can only be accessed (or more directly so) using the openAI API

We can use a system prompt to change the behaviour of the AI model

This is a work in progress, but there is a working command prompt version below!


Link to the code.

Here is the example of a session. Code needs to be updated to check for max context length, which differs by model.