Skip to content

Commit

Permalink
breaking: Rename the project to Call Center AI
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed May 13, 2024
1 parent 134d0b6 commit feaaa66
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
claimaiphonebot312
callcenterai312
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Container configuration
container_name := ghcr.io/clemlesne/claim-ai-phone-bot
container_name := ghcr.io/clemlesne/call-center-ai
docker := docker
# Versioning
version_full ?= $(shell $(MAKE) --silent version-full)
version_small ?= $(shell $(MAKE) --silent version)
# DevTunnel configuration
tunnel_name := claim-ai-$(shell hostname | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]')
tunnel_name := call-center-ai-$(shell hostname | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]')
tunnel_url ?= $(shell res=$$(devtunnel show $(tunnel_name) | grep -o 'http[s]*://[^"]*' | xargs) && echo $${res%/})
# App location
app_location := westeurope
Expand Down Expand Up @@ -116,14 +116,14 @@ start:
--env VERSION=$(version_full) \
--mount type=bind,source="$(CURDIR)/.env",target="/app/.env" \
--mount type=bind,source="$(CURDIR)/config.yaml",target="/app/config.yaml" \
--name claim-ai \
--name call-center-ai \
--publish 8080:8080 \
--rm \
$(container_name):$(version_small)

stop:
@echo "Stopping container..."
$(docker) stop claim-ai
$(docker) stop call-center-ai

deploy:
@echo "🛠️ Deploying to Azure..."
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Call center claim AI phone bot
# Call Center AI

AI-powered call center solution with Azure and OpenAI GPT.

<!-- github.com badges -->
[![Last release date](https://img.shields.io/github/release-date/clemlesne/claim-ai-phone-bot)](https://github.com/clemlesne/claim-ai-phone-bot/releases)
[![Project license](https://img.shields.io/github/license/clemlesne/claim-ai-phone-bot)](https://github.com/clemlesne/claim-ai-phone-bot/blob/main/LICENSE)
[![Last release date](https://img.shields.io/github/release-date/clemlesne/call-center-ai)](https://github.com/clemlesne/call-center-ai/releases)
[![Project license](https://img.shields.io/github/license/clemlesne/call-center-ai)](https://github.com/clemlesne/call-center-ai/blob/main/LICENSE)

## Overview

Expand Down Expand Up @@ -207,8 +207,8 @@ sequenceDiagram

Container is available on GitHub Actions, at:

- Latest version from a branch: `ghcr.io/clemlesne/claim-ai-phone-bot:main`
- Specific tag: `ghcr.io/clemlesne/claim-ai-phone-bot:0.1.0` (recommended)
- Latest version from a branch: `ghcr.io/clemlesne/call-center-ai:main`
- Specific tag: `ghcr.io/clemlesne/call-center-ai:0.1.0` (recommended)

Create a local `config.yaml` file (most of the fields are filled automatically by the deployment script):

Expand Down
12 changes: 6 additions & 6 deletions bicep/app.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ param searchLocation string
param tags object

var prefix = deployment().name
var appUrl = 'https://claim-ai.${acaEnv.properties.defaultDomain}'
var appUrl = 'https://call-center-ai.${acaEnv.properties.defaultDomain}'
var gptBackupModelFullName = toLower('${gptBackupModel}-${gptBackupVersion}')
var gptModelFullName = toLower('${gptModel}-${gptVersion}')
var adaModelFullName = toLower('${adaModel}-${adaVersion}')
Expand Down Expand Up @@ -160,7 +160,7 @@ resource acaEnv 'Microsoft.App/managedEnvironments@2023-05-01' = {
}

resource containerApp 'Microsoft.App/containerApps@2023-05-01' = {
name: 'claim-ai'
name: 'call-center-ai'
location: location
tags: tags
identity: {
Expand All @@ -178,8 +178,8 @@ resource containerApp 'Microsoft.App/containerApps@2023-05-01' = {
template: {
containers: [
{
image: 'ghcr.io/clemlesne/claim-ai-phone-bot:${imageVersion}'
name: 'claim-ai'
image: 'ghcr.io/clemlesne/call-center-ai:${imageVersion}'
name: 'call-center-ai'
env: [
{
name: 'CONFIG_JSON'
Expand Down Expand Up @@ -491,10 +491,10 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2023-11-15' = {

resource database 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2023-11-15' = {
parent: cosmos
name: 'claim-ai'
name: 'call-center-ai'
properties: {
resource: {
id: 'claim-ai'
id: 'call-center-ai'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ output communicationId string = app.outputs.communicationId
output logAnalyticsWorkspaceCustomerId string = app.outputs.logAnalyticsWorkspaceCustomerId

var tags = {
application: 'claim-ai'
application: 'call-center-ai'
instance: instance
managed_by: 'Bicep'
sources: 'https://github.com/clemlesne/claim-ai-phone-bot'
sources: 'https://github.com/clemlesne/call-center-ai'
version: imageVersion
}

Expand Down
4 changes: 2 additions & 2 deletions examples/import-training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@
"import os.path\n",
"import re\n",
"\n",
"doc_endpoint = \"https://claim-ai.cognitiveservices.azure.com\"\n",
"doc_endpoint = \"https://call-center-ai.cognitiveservices.azure.com\"\n",
"doc_credential = AzureKeyCredential(\"xxx\")\n",
"doc_client = DocumentIntelligenceClient(\n",
" endpoint=doc_endpoint,\n",
" credential=doc_credential,\n",
")\n",
"\n",
"search_endpoint = \"https://claim-ai.search.windows.net\"\n",
"search_endpoint = \"https://call-center-ai.search.windows.net\"\n",
"search_credential = AzureKeyCredential(\"xxx\")\n",
"search_client = SearchClient(\n",
" endpoint=search_endpoint,\n",
Expand Down
2 changes: 1 addition & 1 deletion helpers/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
HTTPXClientInstrumentor().instrument() # Instrument httpx
TRACER = trace.get_tracer(
instrumenting_library_version=CONFIG.version,
instrumenting_module_name="com.github.clemlesne.claim-ai",
instrumenting_module_name="com.github.clemlesne.call-center-ai",
) # Create a tracer that will be used in the app


Expand Down
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


_logger = build_logger(__name__)
_logger.info(f"claim-ai v{CONFIG.version}")
_logger.info(f"call-center-ai v{CONFIG.version}")


# General imports
Expand Down Expand Up @@ -79,15 +79,15 @@
_logger.info(f'Using root path "{CONFIG.api.root_path}"')
api = FastAPI(
contact={
"url": "https://github.com/clemlesne/claim-ai-phone-bot",
"url": "https://github.com/clemlesne/call-center-ai",
},
description="AI-powered call center solution with Azure and OpenAI GPT.",
license_info={
"name": "Apache-2.0",
"url": "https://github.com/clemlesne/claim-ai-phone-bot/blob/master/LICENCE",
"url": "https://github.com/clemlesne/call-center-ai/blob/master/LICENCE",
},
root_path=CONFIG.api.root_path,
title="claim-ai-phone-bot",
title="call-center-ai",
version=CONFIG.version,
)

Expand Down

0 comments on commit feaaa66

Please sign in to comment.