Skip to content

this is a set of scripts I hastily put together for linux that will process various types of input, and use LLM APIs to summarize them in various ways.

License

Notifications You must be signed in to change notification settings

actuallyrizzn/process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process

This repos a set of libraries and command line utilities for quickly interfacing with various LLMs

Repo URL: http://github.com/actuallyrizzn/process

Scripts and Their Functions

The main workflow is controlled by a bash script process.sh, which in turn calls several Python scripts and a bash script to complete specific tasks:

1. transcribe.py

This Python script uses the OpenAI API's Audio.transcribe or optionally AssemblyAI's method to transcribe the audio file. It assumes that you have an OpenAI API key stored in a file named openai.api.

2. summarize.py

This Python script uses the OpenAI API's Completion.create method to generate a summary of the transcribed text. It assumes that you have an OpenAI API key stored in a file named openai.api.

Installation

  1. Clone the repository:
git clone http://github.com/actuallyrizzn/process.git
  1. Navigate to the cloned directory:
cd process
  1. Make sure you have the necessary dependencies installed. You can install the Python dependencies using pip:
pip install openai

Dependencies

  • bash
  • Python 3
  • openai

Please replace <YouTube Video URL> and <Destination Directory> with the actual URL and directory when you use the script.

About

this is a set of scripts I hastily put together for linux that will process various types of input, and use LLM APIs to summarize them in various ways.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages