Crate portkey

Crate portkey 

Source
Expand description

§Portkey Rust SDK

The portkey SDK is a lightweight wrapper around async-openai designed to provide a Portkey-compatible OpenAI client. This SDK simplifies the process of creating custom clients with the required headers and configurations for Portkey’s API.

§Features

  • Integrates with async-openai for OpenAI API compatibility.
  • Configures custom headers for Portkey-specific requirements.
  • Simplifies initialization with api_key and virtual_key.

§License

This library is distributed under the MIT License. See the LICENSE file for details.

Structs§

Client
A client for interacting with the Portkey AI API.