Expand description

This module implements chains for the ChatGPT model from OpenAI.

Structs

  • The Executor struct for the ChatGPT model. This executor uses the async_openai crate to communicate with the OpenAI API.
  • Output wrapper for OpenAI API’s response types.
  • The PerExecutor struct contains options that can be specified for the ChatGPT Executor. Currently, it only supports specifying an api_key.
  • The PerInvocation struct contains options that can be specified for each ChatGPT invocation. Currently, it only supports specifying a Model.

Enums

  • The Model enum represents the available ChatGPT models that you can use through the OpenAI API. These models have different capabilities and performance characteristics, allowing you to choose the one that best suits your needs.