Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Plugins/care scribe

From OHC Network Wiki
Revision as of 15:17, 9 July 2026 by Admin (talk | contribs) (Automated edit (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
referencepluginsCARE 3.0+
care_scribe
Info

Type: both Org: 10bedicu Status: active Domain: Clinical AI

Backend

Repository Config vars: SCRIBE_API_PROVIDER, SCRIBE_OPENAI_API_KEY, SCRIBE_AZURE_API_KEY, SCRIBE_GOOGLE_PROJECT_ID, SCRIBE_AUDIO_MODEL_NAME, SCRIBE_CHAT_MODEL_NAME, SCRIBE_TNC

Frontend

Development: All plugins follow the Plugin development cycle. Ensure the repository has a develop branch — feature and fix branches merge there after review.

care_scribe adds voice auto-fill support to CARE consultation forms using external speech-to-text services.

Backend

The backend plug is a Django app that exposes transcription endpoints. Configured via plug_config.py:

from plugs.manager import PlugManager
from plugs.plug import Plug

scribe_plug = Plug(
    name="care_scribe",
    package_name="git+https://github.com/10bedicu/care_scribe.git",
    version="@master",
    configs={
        "SCRIBE_API_PROVIDER": "openai",
        "SCRIBE_OPENAI_API_KEY": "my-api-key",
        "SCRIBE_GOOGLE_PROJECT_ID": "my-gcp-project",
        "SCRIBE_TNC": "<p>Terms...</p>",
    },
)
plugs = [scribe_plug]
manager = PlugManager(plugs)

Supports OpenAI Whisper, Azure OpenAI, and Google Cloud Speech-to-Text.

Frontend

The frontend Care App provides the voice recording UI, audio visualization, and transcription display. Loaded as a federated React bundle in care_fe.

Configuration

Variable Description
SCRIBE_API_PROVIDER openai, azure, or google
SCRIBE_OPENAI_API_KEY OpenAI API key
SCRIBE_AZURE_API_KEY Azure OpenAI API key
SCRIBE_GOOGLE_PROJECT_ID GCP project ID
SCRIBE_TNC Terms & conditions (HTML)