Closed typoworx-de closed 7 months ago
Hello, I'm sorry but using std classes instead of arrays wouldn't necessarily be more convenient for everyone. I understand that the syntax is not ideal, but it seems right considering those variables aren't class properties. Thanks for the suggestion, Greetings
https://github.com/maximerenou/php-bing-ai/blob/ca23404009ec1960776caf097b20e68ad624dd81/src/Chat/Conversation.php#L200
Should be refactored like done with createImages:
$prompt = new \MaximeRenou\BingAI\Chat\Prompt('Wer ist Albert Einstein'); list($text, $cards) = $conversation->ask($prompt);