Rename bot to The APAC OpsBot

This commit is contained in:
Vadym Samoilenko 2026-02-11 12:54:36 +00:00
parent 462f1dab4c
commit 0e18359b63
11 changed files with 23 additions and 15 deletions

View file

@ -50,7 +50,7 @@ Update with production values:
```env
# App
APP_NAME=Seapac Ops Bot
APP_NAME=The APAC OpsBot
APP_ENV=production
DEBUG=False
SECRET_KEY=<generate-strong-secret-key>
@ -100,7 +100,7 @@ REACT_APP_WS_URL=wss://your-domain.com/ws
REACT_APP_AZURE_CLIENT_ID=your-production-client-id
REACT_APP_AZURE_TENANT_ID=your-production-tenant-id
REACT_APP_AZURE_REDIRECT_URI=https://your-domain.com
REACT_APP_NAME=Seapac Ops Bot
REACT_APP_NAME=The APAC OpsBot
```
### 4. Update Docker Compose for Production

View file

@ -118,13 +118,13 @@ The frontend will be available at: **http://localhost:3000**
curl http://localhost:8048/health
# Expected response:
# {"status":"healthy","app":"Seapac Ops Bot","environment":"development"}
# {"status":"healthy","app":"The APAC OpsBot","environment":"development"}
```
### Test Frontend
1. Open http://localhost:3000 in your browser
2. You should see the "Seapac Ops Bot" welcome screen with:
2. You should see the "The APAC OpsBot" welcome screen with:
- Gold header with robot avatar
- Welcome message
- Message input field

View file

@ -46,7 +46,7 @@ class OpenAIService:
Returns:
System instruction text enforcing RAG-only behavior
"""
return """You are "Seapac Ops Bot", an operations assistant and knowledge base expert for Oliver Agency's APAC region.
return """You are "The APAC OpsBot", an operations assistant and knowledge base expert for Oliver Agency's APAC region.
🎯 YOUR DUAL ROLE:
1. **Onboarding Guide for New Employees:** Provide detailed step-by-step instructions with navigation

View file

@ -18,7 +18,7 @@ async def test_health_endpoint(client: AsyncClient):
data = response.json()
assert data["status"] == "healthy"
assert data["app"] == "Seapac Ops Bot"
assert data["app"] == "The APAC OpsBot"
assert "environment" in data
@ -55,7 +55,7 @@ async def test_openapi_json_accessible(client: AsyncClient):
schema = response.json()
assert "openapi" in schema
assert "info" in schema
assert schema["info"]["title"] == "Seapac Ops Bot"
assert schema["info"]["title"] == "The APAC OpsBot"
@pytest.mark.asyncio

View file

@ -18,7 +18,7 @@ def test_settings_default_values():
OPENAI_API_KEY="sk-test-key",
)
assert settings.APP_NAME == "Seapac Ops Bot"
assert settings.APP_NAME == "The APAC OpsBot"
assert settings.APP_ENV == "development"
assert settings.DEBUG is True
assert settings.OPENAI_MODEL == "gpt-5-nano-2025-08-07"

View file

@ -26,7 +26,7 @@ def test_get_system_instructions(openai_service):
"""Test system instructions contain RAG enforcement"""
instructions = openai_service.get_system_instructions()
assert "Seapac Ops Bot" in instructions
assert "The APAC OpsBot" in instructions
assert "STRICTLY RAG-ONLY" in instructions
assert "file_search results" in instructions
assert "don't have information" in instructions

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#1a1a1a" />
<meta name="description" content="APAC Ops Bot - AI-powered operations assistant for Oliver Agency" />
<title>Seapac Ops Bot</title>
<title>The APAC OpsBot</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View file

@ -87,7 +87,7 @@ const AppContent: React.FC = () => {
>
</button>
<h1 className="app-title">Seapac Ops Bot</h1>
<h1 className="app-title">The APAC OpsBot</h1>
</div>
<div className="app-header-right">
<button

View file

@ -108,7 +108,7 @@ const ChatInterface: React.FC = () => {
<div className="header-left">
<div className="ai-avatar">🤖</div>
<div className="header-info">
<h1>Seapac Ops Bot</h1>
<h1>The APAC OpsBot</h1>
<div className="status">
<span className="status-dot"></span>
<span>Online</span>
@ -120,7 +120,7 @@ const ChatInterface: React.FC = () => {
<div className="chat-body">
{messages.length === 0 ? (
<div className="welcome-message">
<h2>Welcome to Seapac Ops Bot</h2>
<h2>Welcome to The APAC OpsBot</h2>
<p>
Your AI-powered operations assistant for Oliver Agency's APAC region.
<br />

View file

@ -94,7 +94,7 @@ const SimpleLogin: React.FC<SimpleLoginProps> = ({ onLoginSuccess }) => {
<div className="login-container">
<div className="login-box">
<div className="login-header">
<h1>🤖 Seapac Ops Bot</h1>
<h1>The APAC OpsBot</h1>
<p className="login-subtitle">AI Operations Assistant</p>
</div>
@ -125,7 +125,7 @@ const SimpleLogin: React.FC<SimpleLoginProps> = ({ onLoginSuccess }) => {
<div className="login-container">
<div className="login-box">
<div className="login-header">
<h1>🤖 Seapac Ops Bot</h1>
<h1>The APAC OpsBot</h1>
<p className="login-subtitle">Test Login</p>
<p className="login-note"> For testing only. Production uses Azure AD.</p>
</div>

8
rename_bot.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Script to rename bot from "Seapac Ops Bot" to "The APAC OpsBot"
set -e
echo "🔄 Renaming bot from 'Seapac Ops Bot' to 'The APAC OpsBot'..."
sed -i 's/Seapac Ops Bot/The APAC OpsBot/g' backend/app/services/openai_service.py backend/tests/test_api.py backend/tests/test_config.py backend/tests/test_openai_service.py
sed -i 's/🤖 Seapac Ops Bot/The APAC OpsBot/g' frontend/src/components/SimpleLogin.tsx
sed -i 's/Seapac Ops Bot/The APAC OpsBot/g' frontend/src/components/ChatInterface.tsx frontend/src/App.tsx frontend/public/index.html DEPLOYMENT.md QUICKSTART.md
echo "✅ Done! Run: ./deploy.sh"