Files
honey-biscuit-workshop/workshop-llm-detector/src/llm/client.rs
T
2025-11-09 17:27:18 +08:00

8 lines
152 B
Rust

use async_trait::async_trait;
use anyhow::Result;
#[async_trait]
pub trait LLMClient {
async fn generate(&self, prompt: &str) -> Result<String>;
}