Docs.rs
  • openai-utils-0.4.0
    • openai-utils 0.4.0
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • RobertasJ
    • Dependencies
      • anyhow ^1.0.75 normal
      • dotenv ^0.15.0 normal
      • futures ^0.3.28 normal
      • futures-util ^0.3.28 normal
      • lazy_static ^1.4.0 normal
      • log ^0.4.20 normal
      • reqwest ^0.11.20 normal
      • reqwest-eventsource ^0.5.0 normal
      • schemars ^0.8.15 normal
      • serde ^1.0.188 normal
      • serde_derive ^1.0.188 normal
      • serde_json ^1.0.107 normal
      • thiserror ^1.0.48 normal
      • tiktoken-rs ^0.5.6 normal
      • tokio ^1.32.0 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

openai_utils0.4.0

  • All Items
  • Structs
  • Functions
?
Change settings

Crate openai_utils

source ·

Structs

  • AiAgent
  • Chat
  • ChatDelta
  • ChatRequest
  • Choice
  • ChoiceDelta
  • Delta
  • DeltaReceiver
  • Function
  • FunctionCall
  • FunctionCallDelta
  • Message
  • NoArgs
  • Usage

Functions

  • api_key
  • calculate_message_tokens
  • calculate_tokens