Installing Dependencies
Installing prerequisites
libav.org is down
It seems the Windows binaries website is down. If you find an alternative method to install Companion on Windows, please update on the open issue on GitHub.
- Download and extract
libav
from the Windows binaries. - Add the
libav
's/bin
folder to yourPATH
envvar
Installing environment
-
Create a new virtual environment (optional)
-
Clone the repository, either by downloading the files from GitHub or by running:
- From the main
companion
directory, run:
Keys file
This is optional, and not required.
You may add a keys.yml
file which will hold your OpenAI API key and/or a Google Cloud Service Account
to be used to access these required services. It allows you to override the local
OpenAI API key or Google Cloud SDK (or when they cannot be installed).
Private keys
Your API and Service Account keys are private and shouldn't be shared, as they allow access your OpenAI and Google Cloud services without any password or additional logins. Do not save or share this file publicly online nor commit it to GitHub. This file should remain only on your machine.
Keys file example:
openai
api_key
: Use this Open API key instead of the one found in yourOPENAI_API_KEY
environment variable
google_sa
Insert here all your Google Service Account credentials key-values in order to authenticate with Google Cloud using this Service Account instead of using Google Cloud SDK client.
Service Account roles
The Service Account used for this app will require the Service Usage Consumer role.