Docs.rs
  • openai-sdk-rs-0.1.1
    • openai-sdk-rs 0.1.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • neeboo
    • Dependencies
      • async-stream ^0.3 normal
      • dotenv ^0.15 normal
      • futures-core ^0.3 normal
      • futures-util ^0.3 normal
      • reqwest ^0.12 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • thiserror ^1 normal
      • tokio ^1 normal
      • url ^2 normal
      • anyhow ^1 dev
      • wiremock ^0.6 dev
    • Versions
    • 0.47% 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_sdk_rs0.1.1

Crate Items

  • Structs
  • Enums
  • Functions

List of all items

Structs

  • ApiError
  • OpenAI
  • types::chat::ChatChoice
  • types::chat::ChatChunkChoice
  • types::chat::ChatCompletionChunk
  • types::chat::ChatCompletionRequest
  • types::chat::ChatCompletionResponse
  • types::chat::ChatDelta
  • types::chat::ChatMessage
  • types::embeddings::EmbeddingData
  • types::embeddings::EmbeddingsRequest
  • types::embeddings::EmbeddingsResponse
  • types::embeddings::EmbeddingsUsage
  • types::files::FileDeleteResponse
  • types::files::FileListResponse
  • types::files::FileObject
  • types::images::ImageData
  • types::images::ImageGenerationRequest
  • types::images::ImageGenerationResponse
  • types::responses::FunctionCall
  • types::responses::JsonSchemaSpec
  • types::responses::ReasoningConfig
  • types::responses::ResponseStreamEvent
  • types::responses::ResponsesRequest
  • types::responses::ResponsesResponse
  • types::responses::StreamOptions
  • types::responses::TextConfig
  • types::responses::ToolSpec

Enums

  • Error
  • types::chat::ResponseFormat
  • types::chat::Role
  • types::chat::Stop
  • types::embeddings::EmbeddingInput
  • types::images::ImageResponseFormat
  • types::responses::ResponseFormat
  • types::responses::TextFormat

Functions

  • sse::extract_data_lines_from_bytes
  • sse::extract_data_lines_from_str
  • sse::extract_json_values_from_bytes
  • sse::extract_json_values_from_str
  • sse::extract_typed_from_bytes
  • sse::extract_typed_from_str
  • sse::try_extract_json_values_from_str
  • sse::try_extract_typed_from_str