Crate kind_openai

Source
Expand description

An opinionated wrapper around the OpenAI API. This does not support all endpoints, and is not automatically generated.

Re-exports§

Modules§

Macros§

Structs§

  • Auth token provided that takes the auth token from the environment.
  • A handle to OpenAI.
  • A string that, when deserialize, bypasses the normal deserialization process and instead returns the raw string. This is useful when deserializing data that might be a string or might be a JSON string, and you want to have a unified interface over both.

Traits§

Derive Macros§

  • Places an associated function on a struct that returns an &'static str containing its OpenAI-compatible JSON schema.