From cb7bed234f6c9411fa689bda33ed27cb1a540be1 Mon Sep 17 00:00:00 2001 From: Valentin Yanakiev Date: Thu, 3 Aug 2023 15:15:41 +0300 Subject: [PATCH] Renamed genai with guidance-engine (#17) --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/epic.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/ISSUE_TEMPLATE/user_story.md | 2 +- .github/workflows/build-deploy-k8s-dev-azure.yml | 10 +++++----- .github/workflows/build-deploy-k8s-sandbox-azure.yml | 10 +++++----- .github/workflows/build-deploy-k8s-test-azure.yml | 10 +++++----- .github/workflows/build-release-docker-hub.yml | 2 +- README.md | 6 +++--- manifests/25-genai-deployment-dev.yaml | 12 ++++++------ pyproject.toml | 6 +++--- 11 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 99efbea..8b257ae 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,7 @@ name: Bug report about: Create a report to help us improve title: "BUG: " -labels: "bug, ai, genai, chatbot, chatguidance" +labels: "bug, ai, genai, chatbot, chatguidance, guidance engine" assignees: "" --- diff --git a/.github/ISSUE_TEMPLATE/epic.md b/.github/ISSUE_TEMPLATE/epic.md index fdc56a3..34748cb 100644 --- a/.github/ISSUE_TEMPLATE/epic.md +++ b/.github/ISSUE_TEMPLATE/epic.md @@ -2,7 +2,7 @@ name: Epic about: A theme of work that contain sub-tasks required to complete the larger goal / larger user-story title: "" -labels: "epic, ai, genai, chatbot, chatguidance" +labels: "epic, ai, genai, chatbot, chatguidance, guidance engine" assignees: "" --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index eba517a..5d24825 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request about: Suggest an idea for this project title: "" -labels: "enhancement, ai, genai, chatbot, chatguidance" +labels: "enhancement, ai, genai, chatbot, chatguidance, guidance engine" assignees: "" --- diff --git a/.github/ISSUE_TEMPLATE/user_story.md b/.github/ISSUE_TEMPLATE/user_story.md index 3b4ec3d..2ec1829 100644 --- a/.github/ISSUE_TEMPLATE/user_story.md +++ b/.github/ISSUE_TEMPLATE/user_story.md @@ -2,7 +2,7 @@ name: User Story about: A valuable increment of functionality, testable by the users title: "" -labels: "user story, ai, genai, chatbot, chatguidance" +labels: "user story, ai, genai, chatbot, chatguidance, guidance engine" assignees: "" --- diff --git a/.github/workflows/build-deploy-k8s-dev-azure.yml b/.github/workflows/build-deploy-k8s-dev-azure.yml index ec76032..7b27ee5 100644 --- a/.github/workflows/build-deploy-k8s-dev-azure.yml +++ b/.github/workflows/build-deploy-k8s-dev-azure.yml @@ -20,8 +20,8 @@ jobs: - name: "Build & Push image" run: | - docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:latest - docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:latest + docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} deploy: runs-on: ubuntu-latest @@ -45,7 +45,7 @@ jobs: container-registry-url: ${{ secrets.REGISTRY_LOGIN_SERVER }} container-registry-username: ${{ secrets.REGISTRY_USERNAME }} container-registry-password: ${{ secrets.REGISTRY_PASSWORD }} - secret-name: alkemio-genai-secret + secret-name: alkemio-guidance-engine-secret - uses: azure/setup-kubectl@v3 with: @@ -57,6 +57,6 @@ jobs: manifests: | manifests/25-genai-deployment-dev.yaml images: | - ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} imagepullsecrets: | - alkemio-genai-secret + alkemio-guidance-engine-secret diff --git a/.github/workflows/build-deploy-k8s-sandbox-azure.yml b/.github/workflows/build-deploy-k8s-sandbox-azure.yml index 4465254..fc1adb6 100644 --- a/.github/workflows/build-deploy-k8s-sandbox-azure.yml +++ b/.github/workflows/build-deploy-k8s-sandbox-azure.yml @@ -19,8 +19,8 @@ jobs: - name: "Build & Push image" run: | - docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:latest - docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:latest + docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} deploy: runs-on: ubuntu-latest steps: @@ -43,7 +43,7 @@ jobs: container-registry-url: ${{ secrets.REGISTRY_LOGIN_SERVER }} container-registry-username: ${{ secrets.REGISTRY_USERNAME }} container-registry-password: ${{ secrets.REGISTRY_PASSWORD }} - secret-name: alkemio-genai-secret + secret-name: alkemio-guidance-engine-secret - uses: azure/setup-kubectl@v3 with: @@ -55,6 +55,6 @@ jobs: manifests: | manifests/25-genai-deployment-dev.yaml images: | - ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} imagepullsecrets: | - alkemio-genai-secret + alkemio-guidance-engine-secret diff --git a/.github/workflows/build-deploy-k8s-test-azure.yml b/.github/workflows/build-deploy-k8s-test-azure.yml index 61ca9cc..a066e30 100644 --- a/.github/workflows/build-deploy-k8s-test-azure.yml +++ b/.github/workflows/build-deploy-k8s-test-azure.yml @@ -19,8 +19,8 @@ jobs: - name: "Build & Push image" run: | - docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:latest - docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + docker build -f Dockerfile . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:latest + docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} deploy: runs-on: ubuntu-latest @@ -44,7 +44,7 @@ jobs: container-registry-url: ${{ secrets.REGISTRY_LOGIN_SERVER }} container-registry-username: ${{ secrets.REGISTRY_USERNAME }} container-registry-password: ${{ secrets.REGISTRY_PASSWORD }} - secret-name: alkemio-genai-secret + secret-name: alkemio-guidance-engine-secret - uses: azure/setup-kubectl@v3 with: @@ -56,6 +56,6 @@ jobs: manifests: | manifests/25-genai-deployment-dev.yaml images: | - ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-genai:${{ github.sha }} + ${{ secrets.REGISTRY_LOGIN_SERVER }}/alkemio-guidance-engine:${{ github.sha }} imagepullsecrets: | - alkemio-genai-secret + alkemio-guidance-engine-secret diff --git a/.github/workflows/build-release-docker-hub.yml b/.github/workflows/build-release-docker-hub.yml index f6a3fcd..abf564b 100644 --- a/.github/workflows/build-release-docker-hub.yml +++ b/.github/workflows/build-release-docker-hub.yml @@ -13,7 +13,7 @@ jobs: - name: Prepare id: prep run: | - DOCKER_IMAGE=alkemio/genai + DOCKER_IMAGE=alkemio/guidance-engine VERSION=noop if [ "${{ github.event_name }}" = "schedule" ]; then VERSION=nightly diff --git a/README.md b/README.md index 640b1e8..5c5bd3c 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,14 @@ The operation types are: The response is published in an auto-generated, exclusive, unnamed queue. -*note: there is an earlier (outdated) RESTful implementation available at https://github.com/alkem-io/poc-genai-api/tree/http-api +*note: there is an earlier (outdated) RESTful implementation available at https://github.com/alkem-io/guidance-engine/tree/http-api ### Docker The following command can be used to build the container from the Docker CLI: -`docker build -t genai-api . ` +`docker build -t guidance-engine . ` The following command can be used to start the container from the Docker CLI: -`docker run --name genai-api -v /dev/shm:/dev/shm -v .env genai-api` +`docker run --name guidance-engine -v /dev/shm:/dev/shm -v .env guidance-engine` with: - `OPENAI_API_KEY`: a valid OpenAI API key diff --git a/manifests/25-genai-deployment-dev.yaml b/manifests/25-genai-deployment-dev.yaml index bf8c715..9858411 100644 --- a/manifests/25-genai-deployment-dev.yaml +++ b/manifests/25-genai-deployment-dev.yaml @@ -2,23 +2,23 @@ kind: Deployment apiVersion: apps/v1 metadata: namespace: default - name: alkemio-genai-deployment + name: alkemio-guidance-engine-deployment labels: - app: alkemio-genai + app: alkemio-guidance-engine spec: replicas: 1 selector: matchLabels: - app: alkemio-genai + app: alkemio-guidance-engine template: metadata: labels: - app: alkemio-genai + app: alkemio-guidance-engine spec: containers: - - name: alkemio-genai - image: alkemio.azurecr.io/alkemio-genai:latest + - name: alkemio-guidance-engine + image: alkemio.azurecr.io/alkemio-guidance-engine:latest env: - name: RABBITMQ_HOST valueFrom: diff --git a/pyproject.toml b/pyproject.toml index 0509143..1b3aa3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] -name = "alkemio-genai" -version = "0.1.1" -description = "Alkemio Generative AI API and Backend for a Guidance Chatbot" +name = "alkemio-guidance-engine" +version = "0.1.2" +description = "Alkemio Generative AI Guidance Engne" authors = ["Alkemio Foundation "] license = "EUPL-1.2" readme = "README.md"