Skip to content

zenika-open-source/agent-Z-transcribe-podcast

Repository files navigation

🤖 Agent Z transcribe podcast

This is an IA Agent to transcribe podcasts to be easily readable as a book.

🛠️ Configuration

Export these 2 variables:

export GOOGLE_GENAI_USE_VERTEXAI=FALSE
export GOOGLE_API_KEY=<your gemini API>

✨ Development

To run your agent :

mvn compile exec:java -Dexec.mainClass="agents.AgentZTranscribePodcast"

To run the UI, run this command and got to http://localhost:8080/dev-ui?

mvn exec:java \
    -Dexec.mainClass="com.google.adk.web.AdkWebServer" \
    -Dexec.classpathScope="compile"

🚀 Deployment

To deploy on Cloud Run:

  • configure settings exporting variables:
export GOOGLE_CLOUD_PROJECT=<your projet>
export GOOGLE_CLOUD_LOCATION=<location like europe-west1>
export GOOGLE_GENAI_USE_VERTEXAI=<true if you deploy on Google Cloud, else false>
export GOOGLE_API_KEY=<your GOOGLE API KEY>
  • and run the gcloud command.
gcloud run deploy agent-z-transcribe-podcast \
--source . \
--region $GOOGLE_CLOUD_LOCATION \
--project $GOOGLE_CLOUD_PROJECT \
--allow-unauthenticated \
--memory 1Gi \
--max-instances 5 \
--set-env-vars="GOOGLE_CLOUD_PROJECT=$GOOGLE_CLOUD_PROJECT,GOOGLE_CLOUD_LOCATION=$GOOGLE_CLOUD_LOCATION,GOOGLE_GENAI_USE_VERTEXAI=$GOOGLE_GENAI_USE_VERTEXAI,GOOGLE_API_KEY=$GOOGLE_API_KEY"

✨Contribute

Anyone can contribute to this project. For the moment, please add your question or purpose something in a new issue.

with love by zenika

About

An IA Agent to transcibe podcasts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published