79 lines
3.9 KiB
Properties
79 lines
3.9 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}
|
|
# =========================================================
|
|
# Google Conversational Agents Configuration
|
|
# =========================================================
|
|
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}
|
|
# =========================================================
|
|
# 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} |