waylaidwanderer / PandoraAI

PandoraAI is a web chat client powered by node-chatgpt-api, allowing users to easily chat with multiple AI systems while also offering support for custom presets. With its seamless and convenient design, PandoraAI provides an engaging conversational AI experience.
https://github.com/waylaidwanderer/node-chatgpt-api
MIT License
840 stars 217 forks source link

(bing) Support image recognition #168

Open Richard-Weiss opened 1 year ago

Richard-Weiss commented 1 year ago

Description I would like to suggest a possible enhancement for the web interface that would allow users to use the Bing image recognition feature. This feature is already implemented in the API server, but not yet available in the web interface.

Acceptance Criteria

Design Details I have no existing experience in Vue, so there's not much I can write. However the backend functionality exists from this PR for the API. It is only necessary to set the variables in the sendMessage function in the Chat.vue file. Of course it's also necessary to create the necessary HTML elements, CSS styling, a function to convert the uploaded image to base64, functions for the button clicks etc.. You can take a look at this commit as a reference to the functionality for the request. For example it is possible to manually set the variables and the API can use it, however this is just for testing.

zhouxinhao1208 commented 1 year ago

yes as it should be