Skip to main content

moe_platform/
lib.rs

1pub struct Platform;
2
3impl Platform {
4    pub fn new() -> Self {
5        Self
6    }
7
8    pub fn load_model(&self, model_id: &str) -> anyhow::Result<()> {
9        Ok(())
10    }
11
12    pub fn run_inference(&self, model: (), prompt: &str) -> anyhow::Result<String> {
13        Ok("result".to_string())
14    }
15}