Skip to content

jonma0107/Summary_Generator_with_AI

Repository files navigation

image

image

image

image

Generate Summary from Transcription

This function prepares a request to the OpenAI API to generate a concise summary in the language needed from a given transcript.

Function Definition

def generate_summary_from_transcription(transcription):
    messages = [
        {"role": "system", "content": "You are a concise summary writer."},
        {"role": "user", "content": f"From the content of the generated transcript, make a summary in Spanish.\n\nTranscripción:\n{transcription}"}
    ]

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published