openai-servant-gen provides openai APIs of haskell via openapi-generator. The diretory of examples shows servant client and server using the API.
intelli-monad provides high level API.
openai-openapi's OpenAPI interface generates openai-servant-gen. To update the codes, try following the script.
./codegen.sh