Topic: Edit the *.qet project with A.I. tool

Sorry to reappear like a walking ghost, but the idea is keeping me awake at night:

Given that:
- QElectroTech is completely open source
- the XML in *.qet files is perfectly structured and understandable

Why not integrate an AI chatbot into the QET interface to make all possible and imaginable changes to the *.qet file?

For example:
“Rename terminal block -X1 to -X4 throughout the project”
“Check that there are no redundant terminals in terminal block -X5”
“Change the font of all markers to size 12.”
“Create a new page numbered 10 using page 8 as a template and increment all device markers by 1.”
“Make me a list of all devices contained in the +B01 box.”
“Check that all devices have item data entered.”
Etc.
The potential is endless.

Beyond implementing the chatbot in the GUI, what we also need is the ability to update the *.qet file on the fly without restarting QET after each change.

Re: Edit the *.qet project with A.I. tool

Hi Nuri,

I 'm very happy to see you again here after this long delay, welcome. nomicons/wink

Yes, Nuri, that's a good idea. AI could complement the search and replace tool (Ctrl + F) for more complex actions or modifications.

As I have never used Ai like Claude, ChatGPT or others before, I am not really in a position to give my opinion on them at this time.

Best regards,
Laurent

Edit:

Beyond implementing the chatbot in the GUI, what we also need is the ability to update the *.qet file on the fly without restarting QET after each change.

I prefer the approach of like qet_terminal_tb_generator and other plugins to make a backup and rename the project before using AI changes...

For now, for AI I'm watching from afar to see what happens...

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Edit the *.qet project with A.I. tool

Wow, that would be fantastic. Currently, I always do this with xmlcopyeditor.

Re: Edit the *.qet project with A.I. tool

Hello friends,

Hi Scorpio

As a help for my colleagues I create companion app for create
electroschematic just with prompt.
I'm using Claude for prompting and app need API from Anthropic. This
version of application will be free. If you are interested, in download
link you can find beta version of my app. Use C++ was not possible so app
running on Electron. In case of question write me.



https://drive.google.com/drive/folders/ … sp=sharing


S pozdravom / Kind regards

Ľuboš

https://www.linkedin.com/posts/lubos-ko … BwmbdJPKjs


# SchematicAI — Recommended Prompts

A quick reference of example prompts you can use with SchematicAI.
Click any suggestion chip in the Chat Panel to auto-fill the prompt, or type your own.

---

## Add Components

| Prompt | What It Does |
|--------|-------------|
| Add a DOL motor starter circuit on folio 1 with a contactor K1, overload relay F1, and a 3-phase motor M1. Wire them in series. | Creates a complete direct-on-line starter with wiring |
| Add a circuit breaker Q1 at position column 2, row B on folio 1. | Places a single circuit breaker at a grid location |
| Add a normally-open start button S1 and a normally-closed stop button S2 on folio 1, column 3. | Places a start/stop push-button pair |

## Modify Schematic

| Prompt | What It Does |
|--------|-------------|
| Rename the label of element K1 to "KM1" on folio 1. | Changes a component label |
| Move element Q1 to column 4, row C on folio 1. | Repositions an element on the grid |
| Connect the output terminal of Q1 to the input terminal of K1 on folio 1. | Draws a conductor between two elements |

## Folio Management

| Prompt | What It Does |
|--------|-------------|
| Add a new folio titled "Control Circuit". | Creates a new diagram page |
| Rename folio 1 to "Power Distribution". | Changes a folio title |

## Ask Questions

| Prompt | What It Does |
|--------|-------------|
| List all components on folio 1 with their labels and positions. | Gets an inventory of placed elements |
| Are there any unwired terminals on folio 1? | Checks for missing connections |

---

## Tips for Writing Prompts

- **Always specify the folio** — e.g. "on folio 1" or "on folio 2".
- **Use standard tag prefixes** — K for contactors, Q for breakers, F for fuses/relays, M for motors, S for switches.
- **Reference grid positions** — use column numbers (0, 1, 2...) and row letters (A, B, C...) for precise placement.
- **Be specific about wiring** — name both elements and terminals you want connected.
- **Use the Element Library** — click "Insert in prompt" on a library element to include its exact path.
- **Multilingual support** — you can write prompts in Slovak, Czech, German, French, Spanish, and other languages.


"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !