Skip to content

Commit

Permalink
Renamed genai with guidance-engine (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinyanakiev authored Aug 3, 2023
1 parent 42db637 commit cb7bed2
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/epic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/user_story.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
---

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-deploy-k8s-dev-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
10 changes: 5 additions & 5 deletions .github/workflows/build-deploy-k8s-sandbox-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
10 changes: 5 additions & 5 deletions .github/workflows/build-deploy-k8s-test-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/build-release-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions manifests/25-genai-deployment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "EUPL-1.2"
readme = "README.md"
Expand Down

0 comments on commit cb7bed2

Please sign in to comment.