Built with Java and Spring Boot
How to run the application:
-
Clone the repository to your Intellij IDEA.
-
Configure the Model: Open
src/main/resources/application.propertiesand set the desired AI model afterai.model.name=...(e.g.,ai.model.name=openrouter/free). -
Add your API Key: * In your IDE (e.g., IntelliJ), go to Edit Configurations.
- Add an Environment Variable:
OPENROUTER_KEY={your_api_key_here}.
- Add an Environment Variable:
-
Launch: Start the application.
How to use:
-
Web Interface: Go to
http://localhost:8080/to start chatting in the UI. -
API Documentation: Access the Swagger UI at
http://localhost:8080/swagger-ui/index.html.