Skip to content

Commit fb19713

Browse files
committed
minor #194 Fixed Typo Error on Platform documentation (Horlerdipo)
This PR was merged into the main branch. Discussion ---------- Fixed Typo Error on Platform documentation | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | Issues | Fix | License | MIT This is not a bug fix or feature, I noticed the error while trying to work with the package. I fixed a typographical error in the documentation. The static method "ofSystem" does not exist on the Symfony\AI\Platform\Message class, it should be "forSystem". Commits ------- c59f4ae Fixed Typo Error on Platform documentation
2 parents 83058fb + c59f4ae commit fb19713

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
@@ -122,7 +122,7 @@ have different content types, like ``Text``, ``Image`` or ``Audio``, and can be
122122

123123
// Create a message bag with a user message
124124
$messageBag = new MessageBag(
125-
Message::ofSystem('You are a helpful assistant.')
125+
Message::forSystem('You are a helpful assistant.')
126126
Message::ofUser('Please describe this picture?', Image::fromFile('/path/to/image.jpg')),
127127
);
128128

0 commit comments

Comments
 (0)