Docs.rs
ai-lib-0.1.0
ai-lib 0.1.0
Permalink
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
bytes ^1.4
normal
chrono ^0.4
normal
futures ^0.3
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
31.47%
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
Module chat
ai_lib
0.1.0
Module chat
Module Items
Structs
Traits
In ai_
lib::
api
ai_lib
::
api
Module
chat
Copy item path
Source
Structs
§
Chat
Completion
Chunk
流式响应的数据块
Choice
Delta
流式响应的选择项增量
Message
Delta
消息增量
Model
Info
模型信息
Model
Permission
模型权限
Traits
§
ChatApi
通用的聊天API接口,定义所有AI服务的核心能力