use super::ChatCompletionService;
use crate::services::{PredictionService, PredictorService};
#[derive(Clone)]
pub struct ChatService {
pub completions: ChatCompletionService,
}
impl ChatService {
pub fn new(
predictors: PredictorService,
predictions: PredictionService
) -> Self {
Self {
completions: ChatCompletionService::new(predictors, predictions),
}
}
}