Comments (5)
I think you may pay some money to solve the problem.
Please take a look at https://openai.com/api/pricing/
from gepetto.
The plugin is already using the most expensive model (Davinci), and there is a hard limit in the API for the size of queries.
First, I will do a sanity check to avoid sending the queries that are too big and display an error message. The next step will be, as a workaround, to allow sending only parts of a function for analysis.
There are other models with different limits, but my initial testing shows that the results are very unreliable.
from gepetto.
The plugin is already using the most expensive model (Davinci), and there is a hard limit in the API for the size of queries.
First, I will do a sanity check to avoid sending the queries that are too big and display an error message. The next step will be, as a workaround, to allow sending only parts of a function for analysis.There are other models with different limits, but my initial testing shows that the results are very unreliable.
Maybe we can do it offline?
from gepetto.
I have seen serval opensource models like GPT-Neo which can be used to do the same thing
from gepetto.
As far as I can tell, other models provided by OpenAI do not work as well when it comes to explaining code unfortunately.
I'll close this issue for now, until such a time that a better model becomes available.
For now, I don't think it's worth adding options that are (again, based on my testing), strictly worse.
The initial request, handling the content-length issue was resolved by commit c16c482 as far as I can tell.
from gepetto.
Related Issues (20)
- Why using temperature as 0.6? HOT 1
- Please make a detailed method on the setup of the DLL plugin HOT 3
- Recursive function analysis HOT 5
- 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
- Groq renaming variables Error code: 400 using HOT 4
- Support for Claude API
- Simple enhancement of support for other languages HOT 1
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.