ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.21k stars 59.04k forks source link

[Feature] Code Interpreter #2338

Closed TrumanZYX closed 1 month ago

TrumanZYX commented 1 year ago

能增加Code Interpreter这个功能吗?

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


Title: Can you add the function of Code Interpreter? [Feature]

Can you add the function of Code Interpreter?

TeamFan commented 1 year ago

这个功能是openai的chatgpt自带的,api没有这个功能。。。

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


This function comes with openai's chatgpt, and the api does not have this function. . .

johnfelipe commented 1 year ago

any progress for use code interpreter?

haoranzhang929 commented 1 year ago

Maybe we could consider incorporating an open-source version of a Code Interpreter into this project. Like this one: https://github.com/shroominic/codeinterpreter-api

haoranzhang929 commented 1 year ago

I will give it a go, if it works maybe I can open a PR for adding this?

johnfelipe commented 1 year ago

Nice

El jue, 20 jul 2023, 4:18 a. m., Haoran Zhang @.***> escribió:

I will give it a go, if it works maybe I can open a PR for adding this?

— Reply to this email directly, view it on GitHub https://github.com/Yidadaa/ChatGPT-Next-Web/issues/2338#issuecomment-1643574119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADIWFHGSELRCJJ2NCBLEALXRDZX7ANCNFSM6AAAAAA2EJHZLQ . You are receiving this because you commented.Message ID: @.***>

rayzhl25 commented 1 year ago

这个功能非常重要,如果能支持就最好了

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


This function is very important, it would be best if it could be supported

rayzhl25 commented 1 year ago

这个功能有什么计划安排吗?

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


Are there any plans for this feature?

SchneeHertz commented 1 year ago

通过api的function calling参数,可以让api返回可执行的代码,再使用沙盒执行代码,可以实现代码解释器的功能 image

boromyr commented 11 months ago

+1

H0llyW00dzZ commented 11 months ago

code interpreter it's already included, basically it's only depends on prompts from user.

e.g, you can see of my latest show off (while I was figure about models gpt-4 preview)

here we go https://github.com/Yidadaa/ChatGPT-Next-Web/discussions/3416

boromyr commented 11 months ago

https://github.com/shroominic/codeinterpreter-api this looks interesting

H0llyW00dzZ commented 11 months ago

https://github.com/shroominic/codeinterpreter-api this looks interesting

nah too complex related to this function of python

image

also this one its depends of prompt basically

image

H0llyW00dzZ commented 11 months ago

here is real interpreting based of user prompt in scenario we don't have to filter output from ai response and this video are clearly natural language

https://github.com/Yidadaa/ChatGPT-Next-Web/assets/17626300/c25cacf4-c830-4961-8733-e04c260a6d34

H0llyW00dzZ commented 11 months ago

and this one another show off since it 128K Context simply just paste 2 codes (e.g, main.go and sessions.go)

models:

https://github.com/Yidadaa/ChatGPT-Next-Web/assets/17626300/0d9ca0e1-81c6-4f00-9665-97ac0f475bbf

in that show off are about this tools

H0llyW00dzZ commented 11 months ago

memory prompt (automated generated known as summarize)

image

H0llyW00dzZ commented 11 months ago

another show off

this a wild lol when continue a conversation

image

H0llyW00dzZ commented 11 months ago

another show off which code interpreter already included + memory prompt response looks like human instead of BOT or AI

image

lloydzhou commented 1 month ago

in v2.15.0 support plugin:

there is one demo call CodeInterpreter api as plugin.

https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/tree/main/plugins/codeinterpreterapi