Comments (5)
@mwesterhof also check this post out #35 (comment) a couple of posts above that I actual address the same thing you are speaking about here with the formatting and agree that it needs to be corrected on the output of gpt side and not adapted to by a regex side.
Indeed. I think that the regex can be somewhat improved anyway (as I tried to do).
It's not just that GPT's output doesn't match the regex, it's that GPT appears to be all over the place regarding how it structures the output. Actually specifying the output formatting as part of the GPT query seems to be a solution. I'm not sure if it's the best solution, but we would need some way to have reliable output
It looks like we have found a good solution which will work for a variety of formats now. Lot more generic in it's regex capturing. We are waiting for this afternoon to create a PR to do some further testing on it but it looks very robust from my analysis.
from gpt-engineer.
@mwesterhof also check this post out #35 (comment)
a couple of posts above that I actual address the same thing you are speaking about here with the formatting and agree that it needs to be corrected on the output of gpt side and not adapted to by a regex side.
from gpt-engineer.
@mwesterhof also check this post out #35 (comment) a couple of posts above that I actual address the same thing you are speaking about here with the formatting and agree that it needs to be corrected on the output of gpt side and not adapted to by a regex side.
Indeed. I think that the regex can be somewhat improved anyway (as I tried to do).
It's not just that GPT's output doesn't match the regex, it's that GPT appears to be all over the place regarding how it structures the output. Actually specifying the output formatting as part of the GPT query seems to be a solution. I'm not sure if it's the best solution, but we would need some way to have reliable output
from gpt-engineer.
from gpt-engineer.
A lot of progress has been made since this was posted.
If you wish to reopen the issue please do following the new issue template.
from gpt-engineer.
Related Issues (20)
- Exception: No files were selected. Please select at least one file to proceed. when i use improve mode HOT 3
- Bug: Parentheses around filenames HOT 2
- Enhancing Code Refactoring Capability for Advanced Code Generation HOT 2
- example improve file_selection.toml be rewritten the Initialization status HOT 2
- No chance to input and answer the gpte three question on generate complex application HOT 4
- Error while improving the project: '/dev/null' HOT 3
- How to use Anthropic models HOT 1
- Investigate/document how to use with OpenRouter HOT 6
- Ollama Multithreaded UI integration, issue with code testing below python 3.10 HOT 2
- upload the debug_log_file.txt According to project prompts HOT 1
- Getting "Could not resolve authentication method" – without a stacktrace HOT 3
- Missing support for the vision capabilities in the new model gpt-4-turbo HOT 5
- TypeError: Object of type Prompt is not JSON serializable – uploading learning HOT 2
- Error while improving the project: 'ascii' codec can't encode character '\u2019' in position 7: ordinal not in range(128) HOT 3
- Urgent - all PRs blocked because of failing tests HOT 4
- Applying diffs failing silently HOT 7
- keep getting error message when trying to run in terminal with all necessary items installed HOT 3
- The Video demo on the Main Repo is Corrupted HOT 4
- Docker build is broken HOT 30
- Add GPTE CLI argument to output system information HOT 3
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 gpt-engineer.