Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Use Functions to Evaluate R Code #113

Open
MichelNivard opened this issue Jun 14, 2023 · 5 comments
Open

Feature Request: Use Functions to Evaluate R Code #113

MichelNivard opened this issue Jun 14, 2023 · 5 comments
Assignees
Labels
feature a feature request or enhancement

Comments

@MichelNivard
Copy link
Owner

OpenAI now offers "function calling" where the developers (us) can specify functions for chatGPT 3.5/4 to call when it encounters an situation where it feels this is appropriate.

Documentation here: https://platform.openai.com/docs/guides/gpt/chat-completions-api

Should we give our chat model a function to run R code to evaluate? Obviously there are other potential factions we could build like a function to look at the user environment etc?

I am thinking when a user asks "why doesn't this code work d <- dentiy(ddf$X)" the app could test the code, catch the error and use the error i its answer?

@JamesHWade JamesHWade changed the title Feature consideration Feature Request: Use Functions to Evaluate R Code Jun 14, 2023
@JamesHWade JamesHWade added the feature a feature request or enhancement label Jun 14, 2023
@JamesHWade
Copy link
Collaborator

Wonderful idea. I need to learn more about how functions work. This extensibility could be a good challenge for our S3 class over in #105.

@lizongzhang
Copy link

It would be very helpful to R users.

@calderonsamuel
Copy link
Collaborator

I'll look into it. I honestly don't totally understand how to implement this just following the docs, but I'll be checking out some examples in youtube

@calderonsamuel
Copy link
Collaborator

I just want to say that I've looked for examples in youtube and mostly found the same examples provided in the docs. The two other related projects I know about for VSCode (Genie and chatbot-ui) have nothing on functions

@JamesHWade
Copy link
Collaborator

This now exists in gpttools. I'll add this to the queue to add to gptstudio.

@JamesHWade JamesHWade self-assigned this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants