Skip to content

Commit 3ac97d5

Browse files
authored
Update 4-AI_image_multimodal_location_GPT.R
Improvements on the GPT prompt
1 parent 613b6b7 commit 3ac97d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

4-AI_image_multimodal_location_GPT.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,9 @@ if (file.size(image_path)>4150000){ # needed?
748748
# Define a string for the Bing Chat prompt, that will generate the text for the social media post. Feel free to change this to your liking
749749
str <- ""
750750
if (name=="Unknown"){
751-
str <- paste0("Give me captions for an Instagram post about a photo of ",street,", ",city,"; Use at least these hashtags at the end of the captions, but feel free to add more: ",hashtags)
751+
str <- paste0("Give me captions with the informative tone for a Story Post on the Platform Instagram about a photo of ",street,", ",city,"; Use at least these hashtags at the end of the captions, but feel free to add more: ",hashtags)
752752
} else{
753-
str <- paste0("Give me captions for an Instagram post about a photo of the ",name,", ",city,"; Use at least these hashtags at the end of the captions, but feel free to add more: ",hashtags)
753+
str <- paste0("Give me captions with the informative tone for a Story Post on the Platform Instagram about a photo of the ",name,", ",city,"; Use at least these hashtags at the end of the captions, but feel free to add more: ",hashtags)
754754
}
755755

756756
# Encode the string using URLencode

0 commit comments

Comments
 (0)