diff --git a/fern/docs/pages/reference/chat_vision.mdx b/fern/docs/pages/reference/chat_vision.mdx index c7dc2b5..7c5a394 100644 --- a/fern/docs/pages/reference/chat_vision.mdx +++ b/fern/docs/pages/reference/chat_vision.mdx @@ -39,7 +39,7 @@ images that are base64 encoded represented by a data uri. { "type": "image_url", "image_url": { - "url": "https://pbs.twimg.com/media/GKLN4qPXEAArqoK.png", + "url": "https://farm4.staticflickr.com/3300/3497460990_11dfb95dd1_z.jpg", } } ] @@ -97,7 +97,7 @@ images that are base64 encoded represented by a data uri. ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() - image, err := client.NewImageNetwork("https://pbs.twimg.com/media/GKLN4qPXEAArqoK.png") + image, err := client.NewImageNetwork("https://farm4.staticflickr.com/3300/3497460990_11dfb95dd1_z.jpg") if err != nil { return fmt.Errorf("ERROR: %w", err) } @@ -167,7 +167,7 @@ images that are base64 encoded represented by a data uri. const client = new pg.Client('https://api.predictionguard.com', process.env.PREDICTIONGUARD_API_KEY); async function ChatVision() { - const image = new pg.ImageNetwork('https://pbs.twimg.com/media/GKLN4qPXEAArqoK.png'); + const image = new pg.ImageNetwork('https://farm4.staticflickr.com/3300/3497460990_11dfb95dd1_z.jpg'); const input = { role: pg.Roles.User, @@ -194,7 +194,7 @@ images that are base64 encoded represented by a data uri. ```bash - curl -O 'https://pbs.twimg.com/media/GKLN4qPXEAArqoK.png' + curl -O 'https://farm4.staticflickr.com/3300/3497460990_11dfb95dd1_z.jpg' base64_img="$(base64 -i GKLN4qPXEAArqoK.png)" diff --git a/fern/docs/pages/usingllms/chat_vision.mdx b/fern/docs/pages/usingllms/chat_vision.mdx index a023491..d0ae8ee 100644 --- a/fern/docs/pages/usingllms/chat_vision.mdx +++ b/fern/docs/pages/usingllms/chat_vision.mdx @@ -23,7 +23,7 @@ messages = [ { "type": "image_url", "image_url": { - "url": "https://pbs.twimg.com/media/GKLN4qPXEAArqoK.png", + "url": "https://farm4.staticflickr.com/3300/3497460990_11dfb95dd1_z.jpg", } } ] @@ -68,7 +68,7 @@ messages = [ { "type": "image_url", "image_url": { - "url": "GKLN4qPXEAArqoK.png", + "url": "3497460990_11dfb95dd1_z.jpg", } } ] @@ -104,7 +104,7 @@ def encode_image_to_base64(image_path): base64_message = base64_encoded_data.decode('utf-8') return base64_message -image_path = 'GKLN4qPXEAArqoK.png' +image_path = '3497460990_11dfb95dd1_z.jpg' encoded_image = encode_image_to_base64(image_path) ```