Since we want to use gpt-4, how about adding a type implementation that uses createChatCompletion? https://platform.openai.com/docs/models/overview