diff --git a/README.md b/README.md index 221c2f4..1d98bb4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ +# GPT Deploy: The Microservice Magician 🧙🚀 +Turn your natural language descriptions into fully functional, deployed microservices with a single command! +

+ + Test + + + Coverage + + + Package version + + + Supported Python versions + -# 🤖 GPT Deploy This project streamlines the creation and deployment of microservices. Simply describe your task using natural language, and the system will automatically build and deploy your microservice. To ensure the executor accurately aligns with your intended task, you can also provide test scenarios. @@ -15,7 +29,7 @@ pip install gptdeploy ## run ```bash gptdeploy --description "Take a pdf file as input, and returns the text it contains." \ ---test "Takes https://www2.deloitte.com/content/dam/Deloitte/de/Documents/about-deloitte/Deloitte-Unternehmensgeschichte.pdf and returns a string that is at least 100 characters long" +--test "https://www2.deloitte.com/content/dam/Deloitte/de/Documents/about-deloitte/Deloitte-Unternehmensgeschichte.pdf" ``` @@ -65,6 +79,7 @@ gptdeploy --description "Generate QR code from URL" --test "https://www.example. ```bash gptdeploy --description "Given a 3d object, return vertex count and face count" --test "https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/wolf.obj" ``` +![](res/obj_info_example.png) ## Table extraction ```bash --description "Given a URL, extract all tables as csv" --test "http://www.ins.tn/statistiques/90" diff --git a/res/obj_info_example.png b/res/obj_info_example.png new file mode 100644 index 0000000..5daf493 Binary files /dev/null and b/res/obj_info_example.png differ diff --git a/src/prompt_tasks.py b/src/prompt_tasks.py index c8333e2..20f1241 100644 --- a/src/prompt_tasks.py +++ b/src/prompt_tasks.py @@ -46,6 +46,7 @@ def test_executor_file_task(executor_name, test_scenario): "Start the test with an extensive comment about the test case. " + ( f"Write a single test case that tests the following scenario: '{test_scenario}'. " + f"In case the test scenario is not precise enough, test the most general case without any assumptions." if test_scenario else "" ) + "Use the following import to import the executor: "