Skip to content

Commit 9c8ba56

Browse files
committed
Fix
1 parent 9e4be0a commit 9c8ba56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ And with a ``Symfony\AI\Platform\PlatformInterface`` instance, and a ``Symfony\A
4545
use the platform to interact with the AI model::
4646

4747
// 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?');
48+
$vectorResult = $platform->invoke($embeddings, 'What is the capital of France?');
4949

5050
// Generate a text completion with GPT, returns a Symfony\AI\Platform\Result\TextResult
5151
$result = $platform->invoke($model, new MessageBag(Message::ofUser('What is the capital of France?')));

0 commit comments

Comments
 (0)