stability_ai.rs 349 B

123456789101112131415
  1. use crate::text::TextCompletion;
  2. use anyhow::Error;
  3. use lib_infra::async_trait::async_trait;
  4. pub struct StabilityAITextCompletion {}
  5. #[async_trait]
  6. impl TextCompletion for StabilityAITextCompletion {
  7. type Input = ();
  8. type Output = ();
  9. async fn text_completion(&self, _params: Self::Input) -> Result<Self::Output, Error> {
  10. todo!()
  11. }
  12. }