Docs.rs
  • pgpt-0.2.0
    • pgpt 0.2.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ammar-ahmed22
    • Dependencies
      • anyhow ^1.0.86 normal
      • clap ^4.5.4 normal
      • colored ^2.1.0 normal
      • directories ^5.0.1 normal
      • getrandom ^0.2.15 normal
      • indicatif ^0.17.8 normal
      • orion ^0.17.6 normal
      • rand ^0.8.5 normal
      • reqwest ^0.12.4 normal
      • serde ^1.0.202 normal
      • serde_json ^1.0.117 normal
      • termimad ^0.29.2 normal
      • whoami ^1.5.1 normal
    • Versions
    • 37.78% of the crate is documented
  • 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
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

pgpt0.2.0

Crate Items

  • Structs
  • Enums
  • Functions

List of all items

Structs

  • config::CLI
  • config::CacheValue
  • config::Config
  • config::ConfigJSON
  • config::QueryArgs
  • gpt::GPTChoice
  • gpt::GPTClient
  • gpt::GPTMessage
  • gpt::GPTQuery
  • gpt::GPTQueryBuilder
  • gpt::GPTResponse
  • gpt::GPTUsage

Enums

  • config::Commands
  • config::ConfigCommands
  • config::ConfigRemovers
  • config::ConfigSetters
  • config::ConfigSettings
  • config::ParsedArgs
  • config::model::Model
  • gpt::GPTRole

Functions

  • config::utils::api_file_path
  • config::utils::cache_file_path
  • config::utils::clear_api_key
  • config::utils::clear_cache
  • config::utils::config_file_path
  • config::utils::encryption_password
  • config::utils::load_api_key
  • config::utils::load_cache
  • config::utils::load_config_file
  • config::utils::register_api_key
  • config::utils::register_cache
  • config::utils::register_config_file
  • config::utils::save_api_key
  • config::utils::save_cache
  • config::utils::save_config_file
  • encryption::decrypt
  • encryption::encrypt
  • encryption::nonce
  • run_query