Docs.rs
llm-core-0.11.0
llm-core 0.11.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
tlkahn
Dependencies
async-trait ^0.1
normal
chrono ^0.4
normal
fastrand ^2
normal
futures ^0.3
normal
serde ^1
normal
serde_json ^1
normal
thiserror ^2
normal
toml ^0.8
normal
temp-env ^0.3
dev
tempfile ^3
dev
tokio ^1
dev
Versions
36.77%
of the crate is documented
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
Skip to main content
Module stream
llm_
core
0.11.0
Module stream
Module Items
Enums
Functions
Type Aliases
In crate llm_
core
llm_core
Module
stream
Copy item path
Source
Enums
§
Chunk
Functions
§
collect_
text
Extract concatenated text from a slice of chunks.
collect_
tool_
calls
Assemble tool calls from a sequence of ToolCallStart/ToolCallDelta chunks.
collect_
usage
Extract the last Usage chunk, if any.
Type Aliases
§
Response
Stream