codecollabspace / chatgpt_citations

A browser extension designed to generate BibTeX citations from chat conversations in OpenAI's ChatGPT interface.
MIT License
0 stars 0 forks source link

Fix for prompt with image. It should display image url + the message #7

Closed officialbishowb closed 10 months ago

officialbishowb commented 10 months ago

fixes #6

mcquenji commented 10 months ago

how would this approach handle multiple images?

officialbishowb commented 10 months ago

I have tested it with only one image. Probably won't work with multiple images. Let me fix it

officialbishowb commented 10 months ago

I see it works, but it adds only one image URL. However, I think the image URL is unnecessary as it can't be accessed

officialbishowb commented 10 months ago

Should i remove the image url from the citation and add the text prompt only? @mcquenji

mcquenji commented 10 months ago

yeah. i'd just use the text and ignore the images. or perhaps insert a [Uploaded image] for each image at the beginning of the prompt

officialbishowb commented 10 months ago

So for 4 images + a prompt, it would be:

[Uploaded image]
[Uploaded image]
[Uploaded image]
[Uploaded image]

A prompt text

Right?

mcquenji commented 10 months ago

yeah, would make the most sense to me

officialbishowb commented 10 months ago

So should display x [Upload image] (if available) and add the prompt text with a line break