Docs.rs
ic-llm-0.4.0
ic-llm 0.4.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
ielashi
Dependencies
candid ^0.10.13
normal
ic-cdk ^0.17.1
normal
serde ^1.0.217
normal
Versions
50%
of the crate is documented
Go to latest version
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
ic_llm
0.4.0
All Items
Crate Items
Structs
Enums
Functions
Crate
ic_llm
Copy item path
Source
Expand description
A library for making requests to the LLM canister on the Internet Computer.
Structs
§
Chat
Message
A message in a chat.
Enums
§
Model
Supported LLM models.
Role
The role of a
ChatMessage
.
Functions
§
chat
Sends a list of messages to a model.
prompt
Sends a single message to a model.