PublicDataWorks / verdad-frontend

MIT License
0 stars 0 forks source link

[Backend] Generate Transcription for All Recorded Audio Clips #2

Closed linear[bot] closed 2 days ago

linear[bot] commented 3 days ago

We want to re-implement Stage 1 of the audio processing pipeline using the new approach,

So that we can improve the accuracy of disinformation detection and ensure audit capability by retaining transcripts of all audio clips.

Acceptance Criteria:

  1. Transcription:
    • Use the Whisper API to transcribe every audio clip.
    • Ensure that the generated transcription is timestamped.
  2. Disinformation Detection:
    • Feed the timestamped transcription into Gemini Flash for potential disinformation detection.
    • Produce the Stage 1 output based on the detection results.
  3. Audit Capability:
    • Store the raw text of all transcriptions to allow for full audit capability.
    • Ensure that transcripts of all audio clips, including those that do not contain disinformation, are retained.
  4. Cost Consideration:
    • Implement the new approach without initially worrying about the increased costs.
    • Document the cost implications and prepare to optimize if budget constraints arise in the future.
  5. Documentation and Testing:
    • Update any relevant documentation to reflect the new approach.
    • Conduct tests to verify the accuracy and reliability of the new process.

Notes:

Tasks:

  1. Integrate Whisper API for transcription of all audio clips.
  2. Modify the existing pipeline to process transcriptions through Gemini Flash.
  3. Implement storage for complete transcription logs.
  4. Conduct testing to ensure the accuracy of disinformation detection with the new method.
  5. Document the new pipeline process and update any user guides or technical documentation.
linear[bot] commented 3 days ago

VER-63 [Backend] Re-Implement Stage 1 of Audio Processing Pipeline