Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement core feature #6

Closed
risu729 opened this issue Jan 8, 2024 · 0 comments · Fixed by #8
Closed

Implement core feature #6

risu729 opened this issue Jan 8, 2024 · 0 comments · Fixed by #8

Comments

@risu729
Copy link
Member

risu729 commented Jan 8, 2024

This is a tool to transcribe a video file of a recorded interview.

The input is a Google Drive file URL passed through the Discord application command.
The output is uploaded to the same directory as the source file in Google Drive, and its link is returned to Discord.

This receives Discord application command through Gateway API, a WebSocket connection, to avoid opening ports of the server running on.

We extract audio files from the source video files and split them into files with a maximum size of 25 MB.
The file size limit is due to the limitation of Whisper API, which is the transcription AI for this.

Then, the transcription is fixed using GPT-4 or Gemini; both can be used depending on selection.

Referring to Google Drive, this downloads and uploads files through Google Drive API authenticated with a Google Cloud service account.
The directory where source files are uploaded must be shared with the service account beforehand.

@risu729 risu729 linked a pull request Jan 9, 2024 that will close this issue
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 a pull request may close this issue.

1 participant