I’m using an API key to access text-davinci-003. Is there a way to associate custom instructions with the key?
No, the API does not have any sort of instruction/prompt/history storage. You’ll need to handle this in your code and send the full prompt with each request.
1 Like
Ah - too bad! That would make a great feature
The API allows you to program the AI any way you want, even per-turn.
text-davinci-003 doesn’t take specific formatted role messages like newer gpt-xxx models. You can simply insert more text for the completion to follow if you have prompt-engineered the equivalent of a “system message”.