Skip to main content

Communication: hbf-core

1-hop view of how this service communicates with its siblings. For the full system view, see service-communication.md.

Calls Out To

ServiceProtocolPurposeKey calls / queues
helvia-rag-pipelinesHTTP BearerRAG pipeline managementPOST/PUT/GET /pipelines/{id} for train, process, corpus, status
SDS (Semantic Doc Segmenter)HTTP multipartFile processing for knowledge basePOST/GET/PATCH /jobs
hbf-lcmHTTP BearerLive chat data managementDELETE /organizations/{orgId}/data, DELETE /organizations/{orgId}/data-retention
hbf-notificationsHTTP BearerSend notificationsPOST /organizations/{orgId}/notifications/
AutoBotHTTP BearerAutomated bot testingPOST/GET/DELETE /tests
Data ManagerHTTP BearerInteraction data cleanupDELETE /chat-sessions/{sessionId}/interactions, POST bulk delete
LanguageToolHTTPGrammar/spell checkingPOST /check (URL-encoded form)
DirectLine (Bot Framework)HTTPWebChat token managementhttps://directline.botframework.com/v3/directline
Azure SpeechHTTPSpeech service tokensAzure Speech API
UptimeRobotHTTPHealth monitoringUptimeRobot API
Google Translate APIHTTP BearerTranslationGoogle Translate API
Azure AIHTTPLanguage detectionAzure AI Language API
Microsoft OAuthOAuth2Authentication flowsOAuth2 token endpoints
Google OAuthOAuth2Authentication flowsOAuth2 token endpoints

Called By

ServiceProtocolHow
All services (via hbf-core-api)HTTP REST27 client classes in hbf-core-api library proxy to hbf-core
hbf-consoleHTTP RESTPrimary backend for the admin console
hbf-webchatHTTP GET/public/bot-deployments/{id}

Contracts

Inbound

hbf-core exposes the primary REST API consumed by all other services. The full API surface is defined by the 27 client classes in the hbf-core-api library, including:

  • Tenant, organization, and user management
  • Bot content, deployments, and responses
  • Subscribers and groups
  • Chat sessions and handover
  • NLP pipelines and NLU detection
  • Knowledge base and articles
  • Broadcasts, surveys, integrations
  • Analytics and audit logs
  • Public endpoints (e.g., GET /public/bot-deployments/{id})

Outbound

  • helvia-rag-pipelines: POST /pipelines/{id}:train, :process, PUT /pipelines/{id}/corpus, GET /pipelines/{id} -- Bearer auth
  • SDS: POST /jobs (multipart file upload), GET /jobs/{id}, PATCH /jobs/{id} -- job lifecycle
  • hbf-lcm: DELETE /organizations/{orgId}/data, DELETE /organizations/{orgId}/data-retention -- Bearer auth
  • hbf-notifications: POST /organizations/{orgId}/notifications/ -- Bearer auth
  • AutoBot: POST /tests, GET /tests/{id}, DELETE /tests/{id} -- Bearer auth
  • Data Manager: DELETE /chat-sessions/{sessionId}/interactions, POST bulk delete -- Bearer auth
  • LanguageTool: POST /check -- URL-encoded form body
  • DirectLine: Token generation and refresh at https://directline.botframework.com/v3/directline
  • OAuth providers: Microsoft and Google OAuth2 token exchange flows

Environment Variables

VariableTarget
GPT_PIPELINE_URLhelvia-rag-pipelines
HELVIA_SDS_URLSDS (Semantic Doc Segmenter)
LIVECHAT_URLhbf-lcm
NOTIFICATION_URLhbf-notifications
AUTO_BOT_URLAutoBot
DATA_MANAGER_URLData Manager
LANGUAGE_TOOL_URLLanguageTool
DIRECTLINE_BASEURLDirectLine (Bot Framework)
CHATBOTS_BASEURLhbf-bot (health check)

Flows Involving This Service