Skip to content

Commit a6a4530

Browse files
committed
minor #1269 Switch image url examples away from wikipedia (chr-hertel)
This PR was merged into the main branch. Discussion ---------- Switch image url examples away from wikipedia | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT At least i know that domain doesn't ban AI crawler .. better ideas welcome! Commits ------- d9de496 Switch image url examples away from wikipedia
2 parents 8af3cb9 + d9de496 commit a6a4530

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/openai/image-input-url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Message::forSystem('You are an image analyzer bot that helps identify the content of images.'),
2323
Message::ofUser(
2424
'Describe the image as a comedian would do it.',
25-
new ImageUrl('https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Webysther_20160423_-_Elephpant.svg/350px-Webysther_20160423_-_Elephpant.svg.png'),
25+
new ImageUrl('https://christopher-hertel.de/images/projects/llmchain.png'),
2626
),
2727
);
2828
$result = $platform->invoke('gpt-4o-mini', $messages);

examples/perplexity/image-input-url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Message::forSystem('You are an image analyzer bot that helps identify the content of images.'),
2323
Message::ofUser(
2424
'Describe the image as a comedian would do it.',
25-
new ImageUrl('https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Webysther_20160423_-_Elephpant.svg/350px-Webysther_20160423_-_Elephpant.svg.png'),
25+
new ImageUrl('https://christopher-hertel.de/images/projects/llmchain.png'),
2626
),
2727
);
2828
$result = $platform->invoke('sonar', $messages);

0 commit comments

Comments
 (0)