cooklang-import 0.3.2

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

use std::error::Error;

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

pub use open_ai::OpenAIConverter;