/chatgpt-whisper-spring-boot

Integrating ChatGPT and Whisper APIs Into Spring Boot Microservice

Primary LanguageJavaApache License 2.0Apache-2.0

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