Docs.rs
ai-lib-0.2.0
ai-lib 0.2.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
hiddenpath
Dependencies
async-trait ^0.1
normal
backoff ^0.4
normal
base64 ^0.22.1
normal
bytes ^1.4
normal
chrono ^0.4
normal
futures ^0.3
normal
httpmock ^0.6.8
normal
reqwest ^0.12
normal
reqwest-eventsource ^0.6
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0.16
normal
tokio ^1.0
normal
tokio-stream ^0.1
normal
Versions
44.62%
of the crate is documented
Go to latest version
Platform
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
Module batch_utils
ai_lib
0.2.0
Module batch_
utils
Module Items
Functions
In ai_
lib::
api::
chat
ai_lib
::
api
::
chat
Module
batch_
utils
Copy item path
Source
Expand description
批处理工具函数
Batch processing utility functions
Functions
§
process_
batch_
concurrent
并发处理批处理请求的默认实现
process_
batch_
sequential
顺序处理批处理请求的实现
process_
batch_
smart
智能批处理:根据请求类型和大小自动选择处理策略