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 found "advanced" mode, which is not mentioned in arguments.py, but is checked for in Architect.py.
I asked it to build a simple "Hello World" script in javascript and it proposed the architecture:
Node.js
MongoDB
Mongoose
Bootstrap
Vanilla Javascript
As expected, get_additional_info_from_user() prompted:
Please check this message and say what needs to be changed. If everything is ok just press ENTER
for Node.js, I accepted that, and then again for MongoDB and I said "no database is required" and it started treating me as the LLM:
Please check this message and say what needs to be changed. If everything is ok just press ENTER
? You are an experienced software architect. Your expertise is in creating an architecture for an MVP (minimum viable products) that can be developed as fast as possible by using as many ready-made technologies as possible. The technologies that you prefer using when other technologies are not explicitly sp
**Scripts**: You prefer using Node.js for writing scripts that are meant to be ran just with the CLI.
**Backend**: You prefer using Node.js. As no database is required for the specific project, you won't be using any ORM like Mongoose or PeeWee.
**Testing**: To create unit and integration tests, you prefer using Jest for Node.js projects and pytest for Python projects. To create end-to-end tests, you prefer using Cypress.
**Frontend**: You prefer using Bootstrap for creating HTML and CSS while you use plain (vanilla) Javascript.
**Other**: From other technologies, if they are needed for the project, you prefer using cronjob (for making automated tasks), Socket.io for web sockets.
...actually, that was the LLM generating the response.
create_gpt_chat_completion() returns { "text": llmResponse } but get_additional_info_from_user() adds this object to the updated_messages list, which usually includes strings when the user just presses ENTER to accept.
updated_messages then looks like:
[
'Node.js',
'You are an experienced software architect... **Backend**: You prefer using Node.js. As no database is required for the specific project, you won't be using any ORM like Mongoose or PeeWee.',
'You are an experienced software architect...',
'Bootstrap',
'**Frontend**: You prefer using Bootstrap for creating HTML and CSS while you use TypeScript instead of plain (vanilla) Javascript.'
]
...okay, so now I can see that it is actually updating the original prompt from system_messages/architect.prompt but the UX is a bit off. Ideally, the user should just see something like:
Okay, as no database is required for this project, I won't be using any ORM like Mongoose or PeeWee.
The text was updated successfully, but these errors were encountered:
nalbion
changed the title
"advanced" mode not working properly.
"advanced" mode has an odd UX
Sep 10, 2023
I found "advanced" mode, which is not mentioned in
arguments.py
, but is checked for inArchitect.py
.I asked it to build a simple "Hello World" script in javascript and it proposed the architecture:
As expected,
get_additional_info_from_user()
prompted:for
Node.js
, I accepted that, and then again forMongoDB
and I said "no database is required" and it started treating me as the LLM:...actually, that was the LLM generating the response.
create_gpt_chat_completion()
returns{ "text": llmResponse }
butget_additional_info_from_user()
adds this object to theupdated_messages
list, which usually includes strings when the user just presses ENTER to accept.updated_messages
then looks like:...okay, so now I can see that it is actually updating the original prompt from
system_messages/architect.prompt
but the UX is a bit off. Ideally, the user should just see something like:The text was updated successfully, but these errors were encountered: