Back to Home
pacphi icon

spring-ai-resos

Verified Safe

by pacphi

Overview

Develops a Spring AI enhanced restaurant booking system allowing users to converse with a chatbot to search for restaurants and make reservations.

Installation

Run Command
No command provided

Environment Variables

  • RESOS_API_ENDPOINT
  • SPRING_AI_RESOS_SERVER_URL
  • OPENAI_API_KEY
  • CHAT_MODEL
  • EMBEDDING_MODEL
  • OLLAMA_BASE_URL

Security Notes

The project avoids hardcoded secrets by relying on environment variables for API keys and database credentials, and external configuration files (`creds.yml`). The `customQuery` parameter for data filtering directly appends to SQL queries in `PageableCustomerRepository` and `PageableFeedbackRepository`. While a `sanitizeCustomQuery` method is implemented to validate and restrict input using a regular expression, the regex is highly specific and might unintentionally limit functionality or could be brittle. A more robust solution would involve prepared statements or a proper query builder for parameterized queries to eliminate the potential for SQL injection completely. No other obvious malicious patterns or `eval` usage were detected.

Similar Servers

Stats

Interest Score30
Security Score8
Cost ClassHigh
Avg Tokens750
Stars1
Forks1
Last Update2025-12-09

Tags

Spring AIChatbotRestaurant BookingOpenAPIMCP Server