ChatGPTNextWeb/NextChat

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

开放

#5,312 创建于 2024年8月23日

 (5 条评论) (1 个反应) (0 位负责人)TypeScript (59,717 个派生)batch import
help wanted

仓库指标

星标
 (87,992 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.'
                    },
                ],
            }, ],
        });

贡献者指南