


Dockerfile: This file is used to run the microservice in a container and also runs the tests when building the image.

requirements.txt: This file lists the packages needed by the microservice and its tests.test_microservice.py: These are test cases to ensure the microservice works as expected.microservice.py: This is the main implementation of the microservice.For each strategy, it generates the following files:.It tests each strategy until it finds one that works.Dev-GPT identifies several strategies to implement your task.Make_strat -> implement1īuild1 ->|failed 10 times| implement2īuild1 ->|success| registryīuild2 ->|failed 10 times| all_failedīuild2 ->|success| registryĭeploy -> streamlit With this command a playground opens in your browser where you can test the microservice.ĭescription -> make_strat In case docker is not running on your machine, it will try to run it without docker. The creation process should take between 5 and 15 minutes.ĭuring this time, GPT iteratively builds your microservice until it finds a strategy that make your test scenario pass.īe aware that the costs you have to pay for openai vary between $0.50 and $3.00 per microservice using GPT-4 or $0.05 to $0.30 for GPT-3.5-Trubo. A path on the local drive where the microservice will be generated.gpt-3.5 is ~10x cheaper,īut will not be able to generate as complex microservices. The model you want to use - either gpt-3.5 or gpt-4.A description of the task you want to accomplish.To generate your personal microservice two things are required:
