Comments (5)
I've experimented manually with this and have gotten great results. Knowing what the called functions do help the model see the big picture and understand better the function. You could add the analysis for the called functions as a comment before it is called and then pass it whole to the model, without displaying it to the user.
from gepetto.
Hi! While this is a good idea on paper, I think that going into functions recursively could be a little dangerous, especially when you get into the STL and the like where the rabbit hole can turn out to be pretty deep. It would be easy to have OpenAI costs spiral out of control for users.
Maybe in the future I'll think of doing this and implement a max-depth setting or something like this.
from gepetto.
Re JusticeRage,
Yes you're right. The cost can also quickly rise. But I was talking about calls to tiny functions without calls inside.
So MaxDepth=1
By the way I think that you-re uploading twice the function if we want both comments and variables name.
Given that the price depends of the size of the input, maybe we can find a way to upload it only once ?
from gepetto.
Correct, because the comments added during the first request help davinci-003 provide better suggestions for variable names.
from gepetto.
This is definitely something I intend to look into in the near future.
from gepetto.
Related Issues (20)
- Error json parse HOT 6
- Why using temperature as 0.6? HOT 1
- Please make a detailed method on the setup of the DLL plugin HOT 3
- the rename button does not work HOT 5
- The JSON document returned is invalid. Asking the model to fix it... HOT 2
- Completing the function information manually HOT 4
- use gpt-4 HOT 2
- idapython annotation related issues HOT 1
- Nothing happen HOT 7
- SSL Error HOT 15
- I can't connect to open.ai HOT 5
- turkish locale HOT 3
- Update to current openai module version HOT 5
- You exceeded your current quota HOT 2
- InvalidRequestError HOT 1
- I don't now if this a new issu or not HOT 1
- Ollama for Local Models HOT 3
- Web Agent HOT 1
- Content length too long HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gepetto.