fix: ai-recommend fix

This commit is contained in:
unknown
2025-06-12 11:03:17 +09:00
parent 2004d7c736
commit 66a4faf3ac
36 changed files with 208 additions and 942 deletions
@@ -24,23 +24,23 @@ spring:
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:}
ai:
service:
url: ${AI_SERVICE_URL:http://localhost:8080/ai}
timeout: ${AI_SERVICE_TIMEOUT:30000}
external:
claude-ai:
api-key: ${CLAUDE_AI_API_KEY:your-claude-api-key}
base-url: ${CLAUDE_AI_BASE_URL:https://api.anthropic.com}
model: ${CLAUDE_AI_MODEL:claude-3-sonnet-20240229}
max-tokens: ${CLAUDE_AI_MAX_TOKENS:2000}
weather-api:
api-key: ${WEATHER_API_KEY:your-weather-api-key}
base-url: ${WEATHER_API_BASE_URL:https://api.openweathermap.org/data/2.5}
store-service:
base-url: ${STORE_SERVICE_URL:http://localhost:8082}
timeout: ${STORE_SERVICE_TIMEOUT:5000}
python-ai-service:
base-url: ${PYTHON_AI_SERVICE_URL:http://localhost:8090}
api-key: ${PYTHON_AI_API_KEY:dummy-key}
timeout: ${PYTHON_AI_TIMEOUT:30000}
management:
endpoints:
web:
exposure:
include: health,info,metrics
endpoint:
health:
show-details: always
springdoc:
swagger-ui:
@@ -56,4 +56,4 @@ logging:
jwt:
secret: ${JWT_SECRET:mySecretKeyForJWTTokenGenerationAndValidation123456789}
access-token-validity: ${JWT_ACCESS_VALIDITY:3600000}
refresh-token-validity: ${JWT_REFRESH_VALIDITY:604800000}
refresh-token-validity: ${JWT_REFRESH_VALIDITY:604800000}