diff --git a/README.md b/README.md index 68c8576..9c4cd63 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,19 @@ gptdeploy --description "Given a 3d object, return vertex count and face count" ```bash gptdeploy --description "Create mel spectrograms from audio file" --test "https://cdn.pixabay.com/download/audio/2023/02/28/audio_550d815fa5.mp3" ``` +![](res/audio_to_mel_example.png) +## Text to speech +```bash +gptdeploy --description "Convert text to speech" --test "Hello, welcome to GPT Deploy!" +``` +![](res/text_to_speech_example.png) +wav: + +## # 🔮 vision Use natural language interface to create, deploy and update your microservice infrastructure. @@ -101,14 +113,25 @@ critical - [ ] add more interesting examples to README.md - [ ] api key in install instruction - [ ] add instruction about cleanup of deployments +- [ ] add logo Nice to have - [ ] hide prompts in normal mode and show them in verbose mode - [ ] tests - [ ] clean up duplicate code -- [ ] support popular cloud providers +- [ ] support popular cloud providers - lambda, cloud run, cloud functions, ... - [ ] support local docker builds - [ ] autoscaling enabled for cost saving - +- [ ] don't show this message: +🔐 You are logged in to Jina AI as florian.hoenicke (username:auth0-unified-448f11965ce142b6). +To log out, use jina auth logout. +- [ ] add more examples to README.md +- [ ] support multiple endpoints - example: todolist microservice with endpoints for adding, deleting, and listing todos +- [ ] support stateful microservices +- [ ] The playground is currently printed twice even if it did not change. +Make sure it is only printed twice in case it changed. +- [ ] allow to update your microservice by providing feedback +- [ ] bug: it can happen that the code generation is hanging forever - in this case aboard and redo the generation +- [ ] feat: make playground more stylish by adding attributes like: clean design, beautiful, like it was made by a professional designer, ... [//]: # ([![Watch the video](https://i.imgur.com/vKb2F1B.png)](https://user-images.githubusercontent.com/11627845/226220484-17810f7c-b184-4a03-9af2-3a977fbb014b.mov)) diff --git a/res/audio_to_mel_example.png b/res/audio_to_mel_example.png new file mode 100644 index 0000000..a749811 Binary files /dev/null and b/res/audio_to_mel_example.png differ diff --git a/res/text_to_speech_example.png b/res/text_to_speech_example.png new file mode 100644 index 0000000..cd6711a Binary files /dev/null and b/res/text_to_speech_example.png differ diff --git a/res/text_to_speech_example.wav b/res/text_to_speech_example.wav new file mode 100644 index 0000000..190c171 Binary files /dev/null and b/res/text_to_speech_example.wav differ diff --git a/src/jina_cloud.py b/src/jina_cloud.py index feb0d9a..ac43193 100644 --- a/src/jina_cloud.py +++ b/src/jina_cloud.py @@ -90,7 +90,7 @@ jcloud: version: 3.14.2.dev18 labels: creator: microchain - name: mybelovedocrflow + name: gptdeploy executors: - name: {executor_name.lower()} uses: jinaai+docker://{get_user_name()}/{executor_name}:latest diff --git a/src/prompt_tasks.py b/src/prompt_tasks.py index 20f1241..cbf5889 100644 --- a/src/prompt_tasks.py +++ b/src/prompt_tasks.py @@ -52,8 +52,9 @@ def test_executor_file_task(executor_name, test_scenario): + "Use the following import to import the executor: " f"from executor import {executor_name} " + not_allowed() - + "The test is not allowed to open local files. " - + "The test is not allowed to mock a function of the executor. ", + + "The test must not open local files. " + + "The test must not mock a function of the executor. " + + "The test must not use other data than the one provided in the test scenario. ", TEST_EXECUTOR_FILE_TAG, TEST_EXECUTOR_FILE_NAME )