cooklang-import 0.2.0

A tool for importing recipes into Cooklang format
Documentation
1
2
3
4
5
6
7
8
9
10
mod open_ai;

use std::error::Error;

#[async_trait::async_trait]
pub trait ConvertToCooklang {
    async fn convert(&self, ingredients: &[String], steps: &str) -> Result<String, Box<dyn Error>>;
}

pub use open_ai::OpenAIConverter;