You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to do something like this if it hasnt been done before. This is how I found this repo.
I was reading through the code and wanted to ask why you chose some of the core design decisions.
Why markdown files?
It would seem to me at least that writing specs would be more efficient or standardized if done with JSON or YAML or even Toml. YAML is cheaper to parse with openAI.
test: truelinked_modules:
- feature1
- feature2description: This widget will control the SQL databaserequired_functionality:
- name: getRowsdescription: 'Performs a query on a table,'args:
- table: string
- query: stringreturns: bool
- name: addRowsdescription: 'Adds a row to a table,'args:
- table: string
- query: stringreturns: bool
...and so on
Additionally, there seems to be a large focus on reducing calls to the API. I understand that it costs for every call you send. However, I can't imagine that this would cost more than a few cents per file. So even with a larger codebase being generated, you'd be looking at a few USD at most. This could jump-start your project and save you hundreds of man-hours for just a couple of dollars. If it is too expensive for some, they have the option to code everything by hand including tests and documentation.
When sending a request to generate a function/method, you also include a file tree with schemas like above, for all other methods only if the file size is larger than the context window. Otherwise, send the whole file with the request to generate method x from the schema.
The text was updated successfully, but these errors were encountered:
I wanted to do something like this if it hasnt been done before. This is how I found this repo.
I was reading through the code and wanted to ask why you chose some of the core design decisions.
Why markdown files?
It would seem to me at least that writing specs would be more efficient or standardized if done with JSON or YAML or even Toml. YAML is cheaper to parse with openAI.
compiler.config.yaml
DatabaseController.spec.yaml
Additionally, there seems to be a large focus on reducing calls to the API. I understand that it costs for every call you send. However, I can't imagine that this would cost more than a few cents per file. So even with a larger codebase being generated, you'd be looking at a few USD at most. This could jump-start your project and save you hundreds of man-hours for just a couple of dollars. If it is too expensive for some, they have the option to code everything by hand including tests and documentation.
When sending a request to generate a function/method, you also include a file tree with schemas like above, for all other methods only if the file size is larger than the context window. Otherwise, send the whole file with the request to generate method x from the schema.
The text was updated successfully, but these errors were encountered: