Skip to content

chrismamo1/ocaml-openai

Repository files navigation

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

Requirements.

OCaml >4

Installation

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 .

Getting Started

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published