Expand description
Re-exports Rust code of widgets and aitk’s prelude.
Re-exports§
pub use crate::widgets::chat::*;pub use crate::widgets::citation_list::*;pub use crate::widgets::message_markdown::*;pub use crate::widgets::messages::*;pub use crate::widgets::model_selector::*;pub use crate::widgets::model_selector_list::*;pub use crate::widgets::moly_modal::*;pub use crate::widgets::prompt_input::*;pub use crate::widgets::realtime::*;
Structs§
- Attachment
- Represents a file/image/document sent or received as part of a message.
- Bot
- Represents a bot, which is an automated assistant of any kind (model, agent, etc).
- BotCapabilities
- Set of capabilities that a bot supports
- BotId
- Identifies any kind of bot, local or remote, model or agent, whatever.
- Chat
Controller - State management abstraction specialized in handling the core complex chat logic.
- Chat
Controller Builder - Chat
Controller Plugin Registration Id - Unique identifier for a registered plugin. Can be used to unregister it later.
- Chat
State - State of the chat that you should reflect in your view component/widget/element.
- Client
Error - Standard error returned from client operations.
- Client
Result - The outcome of a client operation.
- Index
Set - Set of indexes, unique and sorted.
- MapClient
- Utility wrapper client that transforms the output of the underlying client.
- McpManager
Client - Manages MCP servers and provides a unified interface for tool discovery and invocation.
- Message
- A message that is part of a conversation.
- Message
Content - Standard message content format.
- Message
Metadata - Metadata automatically tracked by MolyKit for each message.
- Open
AiClient - A client capable of interacting with Moly Server and other OpenAI-compatible APIs.
- Open
AiImage Client - Specific OpenAI client to hit image generation endpoints.
- Open
AiRealtime Client - Open
AiStt Client - Specific OpenAI client to hit speech-to-text endpoints.
- Realtime
Channel - Channel for realtime communication events
- Router
Client - A client that can be composed from multiple subclients to interact with all of them as one.
- Tester
Client - Tool
- Tool
Call - Represents a function/tool call made by the AI
- Tool
Result - Represents the result of a tool call execution
Enums§
- BotCapability
- Represents the capabilities of a bot
- Chat
Control - Controls if remaining callbacks and default behavior should be executed.
- Chat
State Mutation - Chat
Task - Represents complex (mostly async) operations that may cause multiple mutations over time.
- Client
Error Kind - The standard error kinds a client implementatiin should facilitate.
- Entity
Avatar - The picture/avatar of an entity that may be represented/encoded in different ways.
- Entity
Id - Indentify the entities that are recognized by this crate, mainly in a chat.
- McpTransport
- Realtime
Command - Commands sent from the UI to the realtime client
- Realtime
Event - Events sent from the realtime client to the UI
- Status
- Represents a generic status in which an operation can be.
- Tool
Call Permission Status - Permission status for tool call execution
- Upgrade
- Upgrade types for enhanced communication modes
- VecEffect
- A primitive operation that will be performed on a
Vec<T>as a result of a higher level and more optimizedVecMutation. - VecMutation
- Ergonomic, debuggable and loggable mutation to a
Vec<T>.
Traits§
- BotClient
- A standard interface to fetch bots information and send messages to them.
- Chat
Controller Plugin - Allows to hook between dispatched events of any kind.
Type Aliases§
- BoxPlatform
Send Future - An owned dynamically typed Future that only requires
Sendon native platforms, but not on WASM. - BoxPlatform
Send Stream - An owned dynamically typed Stream that only requires
Sendon native platforms, but not on WASM.