NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature] Code Interpreter

Open TrumanZYX opened this issue 2 years ago • 21 comments

能增加Code Interpreter这个功能吗?

TrumanZYX avatar Jul 10 '23 09:07 TrumanZYX

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?

Issues-translate-bot avatar Jul 10 '23 09:07 Issues-translate-bot

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

TeamFan avatar Jul 13 '23 07:07 TeamFan

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. . .

Issues-translate-bot avatar Jul 13 '23 07:07 Issues-translate-bot

any progress for use code interpreter?

johnfelipe avatar Jul 18 '23 13:07 johnfelipe

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 avatar Jul 20 '23 09:07 haoranzhang929

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

haoranzhang929 avatar Jul 20 '23 09:07 haoranzhang929

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: @.***>

johnfelipe avatar Jul 20 '23 10:07 johnfelipe

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

rayzhl25 avatar Sep 12 '23 05:09 rayzhl25

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

Issues-translate-bot avatar Sep 12 '23 05:09 Issues-translate-bot

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

rayzhl25 avatar Sep 16 '23 15:09 rayzhl25

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


Are there any plans for this feature?

Issues-translate-bot avatar Sep 16 '23 15:09 Issues-translate-bot

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

SchneeHertz avatar Oct 11 '23 08:10 SchneeHertz

+1

boromyr avatar Dec 02 '23 12:12 boromyr

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

H0llyW00dzZ avatar Dec 03 '23 05:12 H0llyW00dzZ

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

boromyr avatar Dec 03 '23 10:12 boromyr

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 avatar Dec 03 '23 10:12 H0llyW00dzZ

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 avatar Dec 03 '23 10:12 H0llyW00dzZ

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

models:

  • gpt-4-1106-preview

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

in that show off are about this tools

  • https://pkg.go.dev/github.com/H0llyW00dzZ/ChatGPT-Next-Web-Session-Exporter

H0llyW00dzZ avatar Dec 03 '23 11:12 H0llyW00dzZ

memory prompt (automated generated known as summarize)

image

H0llyW00dzZ avatar Dec 03 '23 11:12 H0llyW00dzZ

another show off

this a wild lol when continue a conversation

image

H0llyW00dzZ avatar Dec 03 '23 11:12 H0llyW00dzZ

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

image

H0llyW00dzZ avatar Dec 03 '23 15:12 H0llyW00dzZ