Spaces:
Running
Running
File size: 2,174 Bytes
946166e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | """PurePolyglot Stage 0 profiles, including its active client tenants."""
from src.stage0_contracts import create_stage0_router
LEGACY_API_NAMES = [
"/check_cloud_sync",
"/admin_undo_last_action",
"/api_get_dialects",
"/api_get_language_hierarchy",
"/run_filter",
"/get_eeqs_dashboard_dataframe",
"/refresh_eeqs_dashboard",
"/generate_mission",
"/transcribe_check",
"/transcribe_check_v2",
"/api_acoustic_models",
"/api_acoustic_transcribe",
"/api_acoustic_tts",
"/generate_clarifications",
"/generate_clarifications_v2",
"/translate_peer",
"/translate_peer_v2",
"/join_queue",
"/get_lobby",
"/check_match",
"/leave_queue",
"/relay_send",
"/relay_poll",
"/get_xp",
"/get_user_xp",
"/get_oracle_task",
"/submit_oracle_review",
"/submit_appeal",
"/submit_feedback",
"/submit_eeqs",
"/get_graveyard_task",
"/check_and_submit_logic",
]
routers = [
create_stage0_router(
system_id="PurePolyglot",
tenant_id="purepolyglot",
app_id="PurePolyglot",
capabilities=[
"interpret.multilingual.v1",
"translate.v1",
"review.submit.v1",
"acoustic.transcribe.v1",
"transcript.normalize.v1",
],
legacy_api_names=LEGACY_API_NAMES,
),
create_stage0_router(
system_id="PureKITchat",
tenant_id="purekitchat",
app_id="PureKITchat",
capabilities=[
"interpret.campus.v1",
"translate.v1",
"review.submit.v1",
"transcript.normalize.v1",
],
legacy_api_names=LEGACY_API_NAMES,
route_prefix="/api/agent/v1/tenants/purekitchat",
),
create_stage0_router(
system_id="PACYCx",
tenant_id="pacycx",
app_id="PACYCx",
capabilities=[
"interpret.privacy.v1",
"translate.v1",
"review.submit.v1",
"evaluate.eeqs.v1",
"transcript.normalize.v1",
],
legacy_api_names=LEGACY_API_NAMES,
route_prefix="/api/agent/v1/tenants/pacycx",
),
]
|