ChatGPTNextWeb/NextChat

No need to upload images to your website when using gemini!

Aberta

#5.312 aberto em 23 de ago. de 2024

 (5 comentários) (1 reação) (0 responsável)TypeScript (59.717 forks)batch import
help wanted

Métricas do repositório

Stars
 (87.992 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

I have noticed that if I paste an image it's uploaded to your website.

There is no need.

Images, pdfs and many other document types can be sent INLINE with the text prompt.

For example:

        const data = JSON.stringify({
            contents: [{
                parts: [{
                        inlineData: {
                            mimeType: mimeType,
                            data: fileContent.toString('base64')
                        }
                    },
                    {
                        text: 'Analyze this.'
                    },
                ],
            }, ],
        });

Guia do colaborador