Thank you for sharing your work. It’s exciting to see work with this but it’s also disappointing that it’s not living up to the expectations being sold.
These are my first three tests:
No curve length and unncesary components.
It got the components but not how to connect them.
Fail…
This 3 calls had a cost of $0.27-$0.36 from OpenAI and they took aprox 30s~1min to complete each request.
In the sample file there are also many examples of fails, which is strange because you said “it’s a bit rough around the edges”.
I think it’s unncesary to leave the panel and the component, although I understand now that it is not a plugin intended for real use for the moment.
This is important, you must to let know your users that their OpenAI private key is going to be exposed in a ghpt.json file in the package folder. Calls with this credential cost money so is not a good idea to expose them even locally, if you do at least make the user aware.
Please avoid to put a single component (or a few, like less of 10) in a unique tab. You can use any of the existing ones or to use the “Extra” tab shared by many third party plugins.
So, what was supposed to be something fun and exciting has turned into something disappointing by selling it dishonestly. It’s a WIP in very early stages and it certainly doesn’t stand up to “turn a prompt into a GH definition”. The first thing I thought when I saw your post was that someone had already trained a GPT for GH, and that even so it was not going to work well because the model has to be local to be fast enough (for the use cases I want) and becase of lack of labeled training data and probably a LLM without turning it into an expert system (with a lot of constrains) is no enough to solve the problem.
But still, is great to have people working on this. I just didn’t want to waste other people’s time. What plans do you have for the future?
EDIT:
I just found your prompt.txt
file with the system prompt in it. I think this is the most interesting part of your project, because there are already several plugins doing calls to OpenAI API.
I think you should avoid the use of parameter names because this can change in important components like Addition
. Use its index instead. Also, you have to try to minize the format as much as possible to reducce token, for example, instead of:
"Connections" : [
{
"To": {
"Id": 3,
"ParameterName": "Curves"
},
"From": {
"Id": 1,
"ParameterName": "Circle"
}
},
{
"To": {
"Id": 3,
"ParameterName": "Curves"
},
"From": {
"Id": 2,
"ParameterName": "Geometry"
}
}
]
you can use:
"Connections" : [ ["3-1", "1-1"], ["3-1", "2-1"] ]
where the number after - is the parameter index.
Also use “A” instead of “Additions” or “C” instead of “Connecttions”, and explain it at the start of the prompt. Also do not include long examples in the system prompt.