This is a Proof of Concept (PoC) project for audio-to-text transcription with translation. It provides a UI for uploading audio files, transcribing them to text, and translating the resulting text.
The primary goal of this application is to test the LiteLLM endpoint for the amazee.ai provider. It serves as a testing ground to verify connectivity and validate responses from the endpoint.
To connect this application to the LiteLLM endpoint, you must provide the necessary API credentials and endpoint URL using environment variables.
- Create a
.env.developmentfile in the root of the project. - Add your LLM URL and API Key to the file. For example:
GATSBY_LITELLM_API_URL="<your-litellm-endpoint-url>"
GATSBY_LITELLM_API_KEY="<your-litellm-api-key>"Note: Environment variables prefixed with GATSBY_ will become available to the client-side code.
Prerequisites: You will need Node.js installed on your machine, along with pnpm.
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm run develop
-
Open the application in your browser (typically
http://localhost:8000).