Files
int-layer/target/classes/application-qa.properties
2026-02-23 06:51:36 +00:00

94 lines
4.7 KiB
Properties

# Copyright 2025 Google. This software is provided as-is, without warranty or representation for any use or purpose.
# Your use of it is subject to your agreement with Google.
# =========================================
# Spring Boot Configuration Template
# =========================================
# This file serves as a reference template for all application configuration properties.
# Best Practices:
# - Use Spring Profiles (e.g., application-dev.properties, application-prod.properties)
# to manage environment-specific settings.
# - Do not store in PROD sensitive information directly here.
# Use environment variables or a configuration server for production environments.
# - This template can be adapted for logging configuration, database connections,
# and other external service settings.
# =========================================================
# Orchestrator general Configuration
# =========================================================
spring.cloud.gcp.project-id=${GCP_PROJECT_ID}
# =========================================================
# Google Firestore Configuration
# =========================================================
spring.cloud.gcp.firestore.project-id=${GCP_PROJECT_ID}
spring.cloud.gcp.firestore.database-id=${GCP_FIRESTORE_DATABASE_ID}
spring.cloud.gcp.firestore.host=${GCP_FIRESTORE_HOST}
spring.cloud.gcp.firestore.port=${GCP_FIRESTORE_PORT}
# =========================================================
# Google Memorystore(Redis) Configuration
# =========================================================
spring.data.redis.host=${REDIS_HOST}
spring.data.redis.port=${REDIS_PORT}
#spring.data.redis.password=${REDIS_PWD}
#spring.data.redis.username=default
# SSL Configuration (if using SSL)
# spring.data.redis.ssl=true
# spring.data.redis.ssl.key-store=classpath:keystore.p12
# spring.data.redis.ssl.key-store-password=${REDIS_KEY_PWD}
# =========================================================
# Intent Detection Client Selection
# =========================================================
# Options: 'dialogflow' or 'rag'
# Set to 'dialogflow' to use Dialogflow CX (default)
# Set to 'rag' to use RAG server
intent.detection.client=${INTENT_DETECTION_CLIENT:dialogflow}
# =========================================================
# Google Conversational Agents Configuration (Dialogflow)
# =========================================================
dialogflow.cx.project-id=${DIALOGFLOW_CX_PROJECT_ID}
dialogflow.cx.location=${DIALOGFLOW_CX_LOCATION}
dialogflow.cx.agent-id=${DIALOGFLOW_CX_AGENT_ID}
dialogflow.default-language-code=${DIALOGFLOW_DEFAULT_LANGUAGE_CODE:es}
# =========================================================
# RAG Server Configuration
# =========================================================
rag.server.url=${RAG_SERVER_URL:http://localhost:8080}
rag.server.timeout=${RAG_SERVER_TIMEOUT:30s}
rag.server.retry.max-attempts=${RAG_SERVER_RETRY_MAX_ATTEMPTS:3}
rag.server.retry.backoff=${RAG_SERVER_RETRY_BACKOFF:1s}
rag.server.api-key=${RAG_SERVER_API_KEY:}
# =========================================================
# Google Generative AI (Gemini) Configuration
# =========================================================
google.cloud.project=${GCP_PROJECT_ID}
google.cloud.location=${GCP_LOCATION}
gemini.model.name=${GEMINI_MODEL_NAME}
# =========================================================
# (Gemini) MessageFilter Configuration
# =========================================================
messagefilter.geminimodel=${MESSAGE_FILTER_GEMINI_MODEL}
messagefilter.temperature=${MESSAGE_FILTER_TEMPERATURE}
messagefilter.maxOutputTokens=${MESSAGE_FILTER_MAX_OUTPUT_TOKENS}
messagefilter.topP=${MESSAGE_FILTER_TOP_P}
messagefilter.prompt=prompts/message_filter_prompt.txt
# =========================================================
# (DLP) Configuration
# =========================================================
google.cloud.dlp.dlpTemplateCompleteFlow=${DLP_TEMPLATE_COMPLETE_FLOW}
google.cloud.dlp.dlpTemplatePersistFlow=${DLP_TEMPLATE_PERSIST_FLOW}
# =========================================================
# Quick-replies Preset-data
# =========================================================
firestore.data.importer.enabled=${GCP_FIRESTORE_IMPORTER_ENABLE}
# =========================================================
# LOGGING Configuration
# =========================================================
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
logging.level.com.example=${LOGGING_LEVEL_COM_EXAMPLE:INFO}
# =========================================================
# ConversationContext Configuration
# =========================================================
conversation.context.message.limit=${CONVERSATION_CONTEXT_MESSAGE_LIMIT}
conversation.context.days.limit=${CONVERSATION_CONTEXT_DAYS_LIMIT}