Skip to content

Conversation

Copy link

Copilot AI commented Nov 11, 2025

Agent transcription was incomplete for Video System interviews - only interviewer questions were saved to transcription files, not candidate responses.

Changes

  • Agent/src/core/interviewagent.py: Added save_transcription() call in process_response() for candidate responses
  • .gitignore: Excluded node_modules and staticfiles from version control

Implementation

async def process_response(self, response):
    # ... existing code ...
    response_text = getattr(response, 'text', '')
    
    # Save candidate's response transcription
    await save_transcription(self.session_id, "candidate", response_text)
    
    # Add candidate response to internal transcript
    self.transcript["dialogue"].append({
        "speaker": "candidate",
        "text": response_text,
        "timestamp": datetime.utcnow().isoformat()
    })
    # ... rest of evaluation logic ...

This mirrors the existing pattern in ask_question() which already saves interviewer questions via save_transcription(). Both now populate data/transcription_{session_id}.json with complete Q&A pairs.

Original prompt

This section details on the original issue you should resolve

<issue_title>Transcription Not happen with Video System</issue_title>
<issue_description>Agent transcription is not happen with Video system . check the flow of both systems .</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 11, 2025 08:34
- Added save_transcription() call for candidate responses
- Added candidate response to internal transcript dialogue
- This ensures both interviewer questions and candidate answers are properly saved to transcription files

Co-authored-by: tushar7058 <115905283+tushar7058@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix transcription issue with video system Fix: Save candidate transcription in process_response method Nov 11, 2025
Copilot AI requested a review from tushar7058 November 11, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transcription Not happen with Video System

2 participants