Chat completion API. Expected to be used through client.chat.completions.

Constructors

Properties

Methods

Constructors

Properties

completions: Completions

Methods

  • Returns a list of models available to be used in the API. TEXT_MODELS

    Returns readonly ["llama-2-13b-chat", "llama-2-70b-chat", "codellama-7b-instruct", "codellama-13b-instruct", "codellama-34b-instruct", "codellama-70b-instruct", "mistral-7b-instruct", "mixtral-8x7b-instruct", "nous-hermes-2-mixtral-8x7b-dpo", "nous-hermes-2-mistral-7b-dpo"]

Generated using TypeDoc