Re-exports§
pub use approval::ApprovalChannel;pub use approval::ApprovalDecision;pub use approval::ApprovalDefault;pub use approval::ApprovalRequest;pub use persistence::load_runnable;pub use persistence::reconstruct;pub use persistence::save_runnable;pub use registry::RunnableRegistry;pub use runnable::Runnable;pub use runnable::StreamEvent;pub use serde::SerializableRunnable;
Modules§
- approval
- Approval types for human-in-the-loop (HITL) gates.
- capability
- Model capability registry.
- checkpoint
- persistence
- prelude
- registry
- runnable
- serde
- state
- token_
budget - Token budget cap for LLM context windows.
Structs§
- Callback
Manager - Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
- Chain
- Document
- Json
Output Parser - A parser that parses a JSON string (or LlmResponse content) into a structured type or Value.
- LlmInput
- LLM call parameters captured at start time.
- LlmRequest
- LlmResponse
- LlmResult
- LLM call results captured at end time.
- Message
- Output
Fixing Parser - A parser/chain that wraps an LLM and a base parser. It attempts to invoke the LLM and parse the result. If parsing fails, it feeds the error back to the LLM to generate a fix.
- Rate
Limited - Retrying
- RunConfig
- RunContext
- Runnable
Binding - A Runnable that has arguments bound to it.
- Runnable
Parallel - Runnable
With Fallbacks - Runtime
Chain - A runtime-constructed chain that operates on
Value. This is used for deserialization where types are not known at compile time. - Search
Result - StrOutput
Parser - A parser that converts
LlmResponseorStringinto aString. If input isLlmResponse, it extracts thecontent. - Structured
Output Parser - A parser that extracts structured output from
LlmResponse. It prioritizestool_calls(first call args), then falls back to parsingcontentas JSON. - Time
Limited - Token
Usage - Token consumption for cost tracking and optimization.
- Tool
Call - Tool
Context - Tool
Spec - Traced
Runnable
Enums§
- Agent
Event - Content
Part - Embedding
Error - Message
Content - Metadata
Filter - ReAct
Step - Role
- RunType
- Store
Error - Tool
Error - Wesichain
Error
Traits§
- Base
Output Parser - Trait for output parsers that can transform input into a specific output. This is a specialized version of Runnable for parsing logic.
- Bindable
- A trait for input types that can have arguments bound to them.
- Callback
Handler - Embedding
- HasFinal
Output - HasMetadata
Filter - HasQuery
- HasRetrieved
Docs - HasUser
Input - Into
Value - Converts a value into
Value, falling back toValue::Nullon serialization errors (v0 behavior). - Runnable
Ext - Scratchpad
State - ToTrace
Input - ToTrace
Output - Tool
- Tool
Calling Llm - Tool
Calling LlmExt - TryFrom
Value - Typed
Tool - Vector
Store