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 9e4be0a commit 9c8ba56Copy full SHA for 9c8ba56
src/platform/doc/index.rst
@@ -45,7 +45,7 @@ And with a ``Symfony\AI\Platform\PlatformInterface`` instance, and a ``Symfony\A
45
use the platform to interact with the AI model::
46
47
// Generate a vector embedding for a text, returns a Symfony\AI\Platform\Result\VectorResult
48
- $embeddingsResult = $platform->invoke($embeddings, 'What is the capital of France?');
+ $vectorResult = $platform->invoke($embeddings, 'What is the capital of France?');
49
50
// Generate a text completion with GPT, returns a Symfony\AI\Platform\Result\TextResult
51
$result = $platform->invoke($model, new MessageBag(Message::ofUser('What is the capital of France?')));
0 commit comments