Java Spring Boot integration for OpenAI models
Top 95.3% on sourcepulse
This project provides a minimalist Java implementation for integrating with OpenAI's streaming API, targeting developers building business systems with Spring Boot. It enables features like chat memory and image generation with support for markdown and code block highlighting, simplifying the creation of conversational AI applications.
How It Works
The core of the project leverages Spring Boot and Server-Sent Events (SSE) for efficient, real-time streaming of responses from OpenAI models like GPT-3.5-turbo and GPT-4. It includes built-in chat memory management and an interface for image generation, aiming for a dependency-free, easy-to-integrate solution.
Quick Start & Requirements
application.yaml
. Proxy configuration is available in OpenAiWebClient.java
.Highlighted Details
Maintenance & Community
The project was last updated in June 2023 with robustness optimizations and SSE exception handling. Community interaction is encouraged via GitHub Issues and Pull Requests.
Licensing & Compatibility
The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The UI is noted as basic and not professionally designed. Future features like image generation are marked as planned but not yet implemented.
2 weeks ago
1 day