wenqiglantz / chatgpt-whisper-spring-boot

Integrating ChatGPT and Whisper APIs Into Spring Boot Microservice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatgpt-whisper-spring-boot

A demo app to show how to integrate ChatGPT and Whisper API into Spring Boot Microservice. Please check out my Medium article for details: https://betterprogramming.pub/integrating-chatgpt-and-whisper-apis-into-spring-boot-microservice-5545e2ea44fc?sk=4160425921a4809d4938c42b161b6f7a.

API Key

Be sure to add your OpenAI API Key to application.yml, replace the existing placeholder on line 7 "################" with your API key.

Run the app

You can run the app by executing command:

mvn spring-boot:run

How to access the running app?

Use Postman, you can launch the app by navigating to these two endpoints:

  • localhost:8500/api/v1/chat
  • localhost:8500/api/v1/transcription

About

Integrating ChatGPT and Whisper APIs Into Spring Boot Microservice

License:Apache License 2.0


Languages

Language:Java 100.0%