Skip to content

Commit 5fc0c59

Browse files
authored
Replace the URL that returns a 403 response with one that works. (#10048)
1 parent 27355ba commit 5fc0c59

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs-website/docs/concepts/data-classes/chatmessage.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,12 @@ print(user_message.texts)
117117
```python
118118
from haystack.dataclasses import ChatMessage, ImageContent
119119

120-
capybara_image_url = (
121-
"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/"
122-
"Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg/"
123-
"960px-Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg?download"
120+
lion_image_url = (
121+
"https://images.unsplash.com/photo-1546182990-dffeafbe841d?"
122+
"ixlib=rb-4.0&q=80&w=1080&fit=max"
124123
)
125124

126-
image_content = ImageContent.from_url(capybara_image_url, detail="low")
125+
image_content = ImageContent.from_url(lion_image_url, detail="low")
127126

128127
user_message = ChatMessage.from_user(
129128
content_parts=[

0 commit comments

Comments
 (0)