agentai 0.1.5

AgentAI is a Rust library designed to simplify the creation of AI agents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # Simple Example
//!
//! Here is a very simple example of how to use AgentAI crate. Here we only initialize
//! LLM client, and later use it to answer a simple question.
//!
//! Remember to provide return type for answer, it is very important, so a library
//! will knows do you expect structured output or just simple String.
//!
//! To run this example from the terminal, enter:
//! ```bash
//! cargo run --example simple
//! ```
//!
//! ## Source Code
//!
//! ```rust
#![doc = include_str!("../../examples/simple.rs")]
//! ```