Docs.rs
  • aiapi-0.1.41
    • aiapi 0.1.41
    • Permalink
    • Docs.rs crate page
    • MulanPSL-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • 3tieto
    • i18nsite
    • Dependencies
      • aok ^0.1.15 normal
      • dashmap ^6.1.0 normal
      • ifs ^0.1.44 normal
      • ireq ^0.1.17 normal
      • pos_next ^0.1.5 normal
      • prost ^0.13.3 normal
      • reqwest ^0.12.9 normal
      • serde ^1.0.214 normal
      • serde_yaml ^0.9.34 normal
      • sonic-rs ^0.3.14 normal
      • strum_macros ^0.26.4 normal
      • sts ^0.1.23 normal
      • thiserror ^1.0.66 normal
      • tokio ^1.41.0 normal
      • tracing ^0.1.40 normal
      • aok ^0.1.15 dev
      • genv ^0.1.15 dev
      • loginit ^0.1.13 dev
      • static_init ^1.0.3 dev
      • tokio ^1.41.0 dev
      • tracing ^0.1.40 dev
      • aok ^0.1.15 build
      • prost-build ^0.13.3 build
    • Versions
    • 4.67% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

aiapi0.1.41

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions

List of all items

Structs

  • Ai
  • api::AccessToken
  • api::Baidu
  • api::IdAccessToken
  • api::Token
  • api::token_model::Account
  • api::token_model::Conf
  • api::token_model::TokenModel
  • msg::Msg
  • msg::MsgLi
  • response::Choice
  • response::Message
  • response::OpenAiResponse
  • response::Response
  • response::Usage

Enums

  • api::EnumApi
  • response::ApiError
  • response::FinishReason

Traits

  • api::Api
  • api::OpenAi

Functions

  • _load
  • api::post
  • api::system_msg
  • api::temperature
  • api::url_chat_completions
  • baidu
  • file_name
  • openai_token
  • openai_token_model

Constants

  • role::ASSISTANT
  • role::USER