<?php
namespace Claromentis\Core\Ai;

$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: array()) + array();
use Claromentis\Core\Ai\Parts\PartInterface;






interface AiAdapterInterface
{
    
    
    
    
    
    
    
    
    
    
    
    public function generateText($parts) : string;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function generateChat(array $parts) : string;
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function generateTextStream(callable $callback, $parts) : void;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    public function generateImages(string $text, AiImageConfiguration $aiImageConfiguration = null) : array;
    
    
    
    
    
    
    
    public function isLanguageSupported(string $language) : bool;
    
    
    
    
    
    
    
    
    public function getInformation() : AiInformation;
}