hritik2002 / youtube-transcriber-summarizer

Transcribes a youtube video, no need to watch long videos - simply pass the youtube video link and get the transcription along with a summary of the entire video
MIT License
16 stars 3 forks source link

Change openai engine to gpt-3.5-turbo and a few other enhancements #1

Open PiratedKukreja opened 1 year ago

PiratedKukreja commented 1 year ago

Try changing the Completion engine from text-davinci-003 to ChatCompletion engine gpt-3.5-turbo. Pros of gpt-3.5 over davinci are the cost and the quality of response, 3.5 turbo's cost is similar to that of text-curie which is lower than text-davinci but responses are similar if not better than davinci. Another enhancement can be to allow the user to select the count of words under which the text should be summarised, passing that number in the prompt will help generate a user specific response. ++ setting response-type to stream can help users get real time synthesised result in their console :)

hritik2002 commented 1 year ago

Feel free to raise a pr having the above changes.