Kernel for the Genau Environment

genauai-kernel is a Rust library for building generative AI tools based on human feedback . It provides a set of APIs for managing conversations, saving and loading plans, and more.

Features

Installation

Add genauai-kernel to your project's Cargo.toml file:

toml [dependencies] genauai-kernel = "0.0.1"

Getting Started

```rust

use genauaikernel::{getdb, getplan, resetdatabase, savemessage, saveplan}; use rusqlite::Connection;

fn main() { let conn = getdb(); let plan = getplan(&conn).unwrap();

let message = "Hello, world!";
save_message(&conn, 1, "user", &message).unwrap();

let new_plan = Plan::default();
save_plan(&conn, 1, &new_plan).unwrap();

reset_database(&conn).unwrap();

} ```

Contributing

Contributions are welcome! If you find a bug or want to suggest a new feature, please open an issue or submit a pull request.

License

genauai-kernel is licensed under the MIT License. See LICENSE for details.