stt updates and intelligence updates
This commit is contained in:
@@ -104,14 +104,14 @@ async def _run_intelligence_pipeline(
|
||||
|
||||
# Step 1: Transcription
|
||||
if gcs_uri:
|
||||
transcript = await transcription.transcribe_call(call_id, gcs_uri)
|
||||
transcript = await transcription.transcribe_call(call_id, gcs_uri, talkgroup_name)
|
||||
|
||||
# Step 2: Intelligence extraction
|
||||
tags: list[str] = []
|
||||
incident_type: Optional[str] = None
|
||||
location: Optional[str] = None
|
||||
if transcript:
|
||||
tags, incident_type, location = await intelligence.extract_tags(call_id, transcript)
|
||||
tags, incident_type, location = await intelligence.extract_tags(call_id, transcript, talkgroup_name)
|
||||
|
||||
# Step 3: Incident correlation
|
||||
if incident_type:
|
||||
|
||||
Reference in New Issue
Block a user