APIs for sampling from and fine-tuning language models
This OCaml package is automatically generated by the OpenAPI Generator project:
- API version: 1.2.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.OCamlClientCodegen
OCaml >4
Please run the following commands to build the package openapi
:
I haven't bothered to put this in the public OPAM repo just yet since I'm not sure if it's ready for prime time.
opam pin add openai .
Your openai API key should go in the OPENAI_API_KEY
environment variable.
Please see the example for basic usage of the chat completion API. Other API's are not dissimilar.