butterfly-bot 0.4.0

Butterfly Bot is an opinionated personal-ops AI assistant built for people who want results, not setup overhead.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use async_trait::async_trait;

use crate::error::Result;

#[async_trait]
pub trait InputGuardrail: Send + Sync {
    async fn process(&self, input: &str) -> Result<String>;
}

#[async_trait]
pub trait OutputGuardrail: Send + Sync {
    async fn process(&self, output: &str) -> Result<String>;
}