Crate sugars_llm
Source pub use agent_builder::Agent;pub use agent_builder::AgentRoleBuilder;pub use agent_builder::Context;pub use agent_builder::ConversationChunk;pub use agent_builder::Directory;pub use agent_builder::File;pub use agent_builder::Files;pub use agent_builder::FluentAi;pub use agent_builder::Github;pub use agent_builder::Library;pub use agent_builder::MessageRole;pub use agent_builder::NamedTool;pub use agent_builder::Perplexity;pub use agent_builder::Stdio;pub use agent_builder::Tool;pub use agent_builder::exec_to_text;pub use models::*;
- agent_builder
- Production-quality FluentAI agent builder implementation
- macros
- Internal macros for JSON object syntax
- models
- Model provider implementations
- array_tuple_closure
- Transforms array tuple syntax in builder chains to work with hash_map! macro
- array_tuple_closure_llm
- Macro that automatically handles array tuple syntax in builder patterns
This is pushed down into the builder implementation, not visible to users
- hash_map
- Creates a closure that returns a hashbrown HashMap from array tuple syntax
- hash_map_fn
- Creates a closure that returns a hashbrown HashMap from key-value pairs
- json_object
- Macro that transforms JSON object syntax into HashMap
- json_params
- Wrapper around hash_map_fn! that converts to std HashMap with serde_json::Value