Problems solved by tools
The brother's workbench configures the logistics gateway to configure an interface, which requires three service domain names (self-operated, 3pl, Hong Kong and Macao) and three environments (test, UAT, official). 3*3 is equivalent to 9 configurations. In addition to the alias, All other configurations are basically the same.
Use a large model to generate a tool and input the interface once to generate 9 configuration files.
Step 1: Define the interface configuration standard format
Step 2: Generate javascript core code.
Prompt words:
Generate js code to replace api.domain, api.routingId, api.name, api.url, clusters.routers.jsf_alias, clusters.routers.jsf_gray_alias, clusters.routers.jsf_iface, clusters.routers.jsf_method, clusters.name.
Large model generation:
Step 2: Generate html entry page and integrate javascript.
Prompt words:
Generate html to support entering configuration items, use the above js, replace the json, and generate downloadable files.
Large model generation:
Step 3: Display the final configuration and automatically download and save it
Prompt words:
The generated json can not only be downloaded, but also formatted and displayed on the rightmost side of the page.
Large model generation:
Step 4: Code combination to obtain the final configuration tool
Since the automatic generation project is not customized for large model work, you can actually modify the model tool to automatically generate it. According to the comments generated by the large model, you can combine the corresponding codes together and get the final configuration tool without writing a line of code.
Final rendering:
I decided to give up on open source industrial software. Major events - OGG 1.0 was released, Huawei contributed all source code. Ubuntu 24.04 LTS was officially released. Google Python Foundation team was laid off. Google Reader was killed by the "code shit mountain". Fedora Linux 40 was officially released. A well-known game company released New regulations: Employees’ wedding gifts must not exceed 100,000 yuan. China Unicom releases the world’s first Llama3 8B Chinese version of the open source model. Pinduoduo is sentenced to compensate 5 million yuan for unfair competition. Domestic cloud input method - only Huawei has no cloud data upload security issues