We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2caecc commit 2922e50Copy full SHA for 2922e50
examples/mistral/chat-multiple.php
@@ -26,6 +26,6 @@
26
'n' => 10,
27
]);
28
29
-foreach ($result->asStream() as $key => $choice) {
+foreach ($result->getResult()->getContent() as $key => $choice) {
30
echo sprintf('Choice #%d: %s', ++$key, $choice->getContent()).\PHP_EOL;
31
}
0 commit comments