openai-fork

Crates.ioopenai-fork
lib.rsopenai-fork
version1.0.0-alpha.15
sourcesrc
created_at2024-06-04 16:49:30.425276
updated_at2024-06-04 16:49:30.425276
descriptionAn unofficial Rust library for the OpenAI API.
homepage
repositoryhttps://github.com/n01e0/openai-fork
max_upload_size
id1261726
size125,260
n01e0 (n01e0)

documentation

README

openai

crates.io Rust workflow

An unofficial Rust library for the OpenAI API.

Warning

There may be breaking changes between versions while in alpha. See Implementation Progress.

Core Principles

  • Modularity
  • Library, not a wrapper
  • Idiomatic Rust
  • Environmental variables should be the prioritized method of authentication, but not the only way to do things

Examples

Examples can be found in the examples directory.

As the package is still a work in progress and there may be breaking changes, examples are not available for all the crate's functionality.

Currently, there are examples for the completions module and the chat module. For other modules, refer to the tests submodules for some reference.

Implementation Progress

██████████ Models

████████░░ Completions (Function calling is supported)

████████░░ Chat

██████████ Edits

░░░░░░░░░░ Images

█████████░ Embeddings

░░░░░░░░░░ Audio

███████░░░ Files

░░░░░░░░░░ Fine-tunes

██████████ Moderations

Contributing

All contributions are welcome. Unit tests are encouraged.

Fork Notice

This package was initially developed by Valentine Briese. As the original repo was archived, this is a fork and continuation of the project.

Commit count: 304

cargo fmt