feat(backend): integrate document deletion and grounded speech providers
Enable replay-safe document deletion and public deployment model identifiers with the forward voice-model schema revision. Add GapGPT dialogue and ElevenLabs speech routing, strict extractive grounding, ten-source retrieval and regression coverage. Validation: 199 targeted provider-free tests passed. The full provider-free run stalled and was interrupted; PostgreSQL acceptance was not run because TEST_DATABASE_URL is unset.
This commit is contained in:
@@ -112,7 +112,9 @@ def configuration(user=Depends(get_current_user), engine=Depends(get_engine),
|
||||
mime_types = {'.pdf': 'application/pdf', '.md': 'text/markdown',
|
||||
'.docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'.jpg': 'image/jpeg', '.jpeg': 'image/jpeg', '.png': 'image/png'}
|
||||
from app.modules.voice.model_catalog import model_catalog
|
||||
return dict(revision=settings['revision'], assistant_name=settings['assistant_name'], instruction=settings['instruction'],
|
||||
models=model_catalog(ingest, voice),
|
||||
capabilities=dict(text=False, voice=available, captions=available,
|
||||
calibration_status=calibration_status, voice_transport_testing=voice.voice_transport_testing,
|
||||
supported_upload_types=list(dict.fromkeys(mime_types[e] for e in ingest.accepted_formats)),
|
||||
|
||||
Reference in New Issue
Block a user