Complexa is a complex chat bot built on OpenAI API.
This is mainly a wrapper around these great projects:
- Simple-OpenAI: A Java library to use the OpenAI Api in the simplest possible way.
- LangChain4j: Supercharge your Java application with the power of LLMs.
- Speech recognition: Detect empty WAVs
- Upload non-empty WAVs to Whisper
- Scan transcription for activation words
- On activation: Play "go on" ("ich höre")
- Record up to 5 secs until 1 sec empty
- Upload to speech recognition
- Upload transcription to gpt4o-mini
- Upload answer to tts
- Play WAV to user