Docs.rs
  • openai-mock-0.1.0
    • openai-mock 0.1.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • socrates8300
    • Dependencies
      • actix-web ^4 normal optional
      • chrono ^0.4.38 normal
      • log ^0.4 normal
      • rand ^0.8.5 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • tiktoken-rs ^0.6.0 normal
      • uuid ^1.1 normal
    • Versions
    • 56.79% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • 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

openai_mock0.1.0

Module validators

Module Items

  • Structs
  • Enums
  • Functions

In crate openai_mock

openai_mock

Module validators

Source

Structs§

ValidationError

Enums§

StopSequence

Functions§

validate_best_of
validate_frequency_penalty
validate_logprobs
validate_max_tokens
validate_n
validate_presence_penalty
validate_required_fields
Validates the required fields for a completion request
validate_stop
validate_temperature
validate_top_p