rust-completions

Crates.iorust-completions
lib.rsrust-completions
version0.1.0
sourcesrc
created_at2023-03-26 21:12:32.763651
updated_at2023-03-26 21:12:32.763651
descriptionMinimal wrapper around OpenAI's Chat Completions
homepagehttps://github.com/ticianomorvan/rust-completions
repositoryhttps://github.com/ticianomorvan/rust-completions
max_upload_size
id821527
size35,626
Ticiano (ticianomorvan)

documentation

README

rust-completions

This is just a simple wrapper + binary for OpenAI Chat Completions. Read more at API Reference

  • To use it as a binary, just run it with
API_KEY="<your-openai-api-key>" ORGANIZATION_ID="<your-openai-organization-id>" ./rust-completions "<your-prompt>"
  • To use it as a library, add it as a dependency in your Cargo.toml file like:
[dependencies]
rust-completions = { version = "0.1" }
Commit count: 2

cargo fmt