UPDATE code 20-Ago
This commit is contained in:
62
src/main/resources/application-dev.properties
Normal file
62
src/main/resources/application-dev.properties
Normal file
@@ -0,0 +1,62 @@
|
||||
# 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 (e.g., API keys, passwords) 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=bnt-orquestador-cognitivo-dev
|
||||
# =========================================================
|
||||
# Google Firestore Configuration
|
||||
# =========================================================
|
||||
spring.cloud.gcp.firestore.project-id=bnt-orquestador-cognitivo-dev
|
||||
spring.cloud.gcp.firestore.database-id=bnt-orquestador-cognitivo-firestore-bdo-dev
|
||||
spring.cloud.gcp.firestore.host=firestore.googleapis.com
|
||||
spring.cloud.gcp.firestore.port=443
|
||||
# =========================================================
|
||||
# Google Memorystore(Redis) Configuration
|
||||
# =========================================================
|
||||
spring.data.redis.host=10.33.22.4
|
||||
spring.data.redis.port=6379
|
||||
spring.redis.jedis.pool.enabled=true
|
||||
spring.redis.notify-keyspace-events=Ex
|
||||
#spring.data.redis.password=23cb4c76-9d96-4c74-b8c0-778fb364877a
|
||||
#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=your-keystore-password
|
||||
# =========================================================
|
||||
# Google Conversational Agents Configuration
|
||||
# =========================================================
|
||||
dialogflow.cx.project-id=bnt-orquestador-cognitivo-dev
|
||||
dialogflow.cx.location=us-central1
|
||||
dialogflow.cx.agent-id=5590ff1d-1f66-4777-93f5-1a608f1900ac
|
||||
dialogflow.default-language-code=es
|
||||
# =========================================================
|
||||
# Google Generative AI (Gemini) Configuration
|
||||
# =========================================================
|
||||
google.cloud.project=bnt-orquestador-cognitivo-dev
|
||||
google.cloud.location=us-central1
|
||||
gemini.model.name=gemini-2.0-flash-001
|
||||
# =========================================================
|
||||
# (Gemini) MessageFilter Configuration
|
||||
# =========================================================
|
||||
messagefilter.geminimodel=gemini-2.0-flash-001
|
||||
messagefilter.temperature=0.1f
|
||||
messagefilter.maxOutputTokens=800
|
||||
messagefilter.topP= 0.1f
|
||||
messagefilter.prompt=prompts/message_filter_prompt.txt
|
||||
60
src/main/resources/application-prod.properties
Normal file
60
src/main/resources/application-prod.properties
Normal file
@@ -0,0 +1,60 @@
|
||||
# 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 (e.g., API keys, passwords) 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=23cb4c76-9d96-4c74-b8c0-778fb364877a
|
||||
#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=your-keystore-password
|
||||
# =========================================================
|
||||
# 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
|
||||
60
src/main/resources/application-qa.properties
Normal file
60
src/main/resources/application-qa.properties
Normal file
@@ -0,0 +1,60 @@
|
||||
# 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 (e.g., API keys, passwords) 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=23cb4c76-9d96-4c74-b8c0-778fb364877a
|
||||
#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=your-keystore-password
|
||||
# =========================================================
|
||||
# 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
|
||||
@@ -1,64 +1 @@
|
||||
# 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 (e.g., API keys, passwords) 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=bnt-orquestador-cognitivo-dev
|
||||
|
||||
# Firestore Emulator Configuration (for local development)
|
||||
#spring.cloud.gcp.firestore.emulator-host=localhost:8080
|
||||
spring.cloud.gcp.firestore.emulator.enabled=false
|
||||
# =========================================================
|
||||
# Google Firestore Configuration
|
||||
# =========================================================
|
||||
spring.cloud.gcp.firestore.project-id=bnt-orquestador-cognitivo-dev
|
||||
spring.cloud.gcp.firestore.database-id=bnt-orquestador-cognitivo-firestore-bdo-dev
|
||||
spring.cloud.gcp.firestore.host=firestore.googleapis.com
|
||||
spring.cloud.gcp.firestore.port=443
|
||||
# =========================================================
|
||||
# Google Memorystore(Redis) Configuration
|
||||
# =========================================================
|
||||
spring.data.redis.host=10.33.22.4
|
||||
spring.data.redis.port=6379
|
||||
#spring.data.redis.password=23cb4c76-9d96-4c74-b8c0-778fb364877a
|
||||
#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=your-keystore-password
|
||||
# =========================================================
|
||||
# Google Conversational Agents Configuration
|
||||
# =========================================================
|
||||
dialogflow.cx.project-id=bnt-orquestador-cognitivo-dev
|
||||
dialogflow.cx.location=us-central1
|
||||
dialogflow.cx.agent-id=5590ff1d-1f66-4777-93f5-1a608f1900ac
|
||||
dialogflow.default-language-code=es
|
||||
# =========================================================
|
||||
# Google Generative AI (Gemini) Configuration
|
||||
# =========================================================
|
||||
google.cloud.project=bnt-orquestador-cognitivo-dev
|
||||
google.cloud.location=us-central1
|
||||
gemini.model.name=gemini-2.0-flash-001
|
||||
# =========================================================
|
||||
# (Gemini) MessageFilter Configuration
|
||||
# =========================================================
|
||||
messagefilter.geminimodel=gemini-2.0-flash-001
|
||||
messagefilter.temperature=0.1f
|
||||
messagefilter.maxOutputTokens=800
|
||||
messagefilter.topP= 0.1f
|
||||
messagefilter.prompt=prompts/message_filter_prompt.txt
|
||||
spring.profiles.active=dev
|
||||
1
src/main/resources/quick-replies/capsulas.json
Normal file
1
src/main/resources/quick-replies/capsulas.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Capsulas"}
|
||||
1
src/main/resources/quick-replies/descubre.json
Normal file
1
src/main/resources/quick-replies/descubre.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Descubre"}
|
||||
1
src/main/resources/quick-replies/detalle-tdc.json
Normal file
1
src/main/resources/quick-replies/detalle-tdc.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Detalle TDC"}
|
||||
1
src/main/resources/quick-replies/detalle-tdd.json
Normal file
1
src/main/resources/quick-replies/detalle-tdd.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Detalle TDD"}
|
||||
1
src/main/resources/quick-replies/finanzas.json
Normal file
1
src/main/resources/quick-replies/finanzas.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Finanzas"}
|
||||
1
src/main/resources/quick-replies/home.json
Normal file
1
src/main/resources/quick-replies/home.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Home"}
|
||||
1
src/main/resources/quick-replies/inversiones.json
Normal file
1
src/main/resources/quick-replies/inversiones.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Inversiones"}
|
||||
1
src/main/resources/quick-replies/lealtad.json
Normal file
1
src/main/resources/quick-replies/lealtad.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Lealtad"}
|
||||
4
src/main/resources/quick-replies/pagos.json
Normal file
4
src/main/resources/quick-replies/pagos.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"titulo": "Payment History",
|
||||
"descripcion": "View your recent payments"
|
||||
}
|
||||
1
src/main/resources/quick-replies/prestamos.json
Normal file
1
src/main/resources/quick-replies/prestamos.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Prestamos"}
|
||||
1
src/main/resources/quick-replies/retiro-sin-tarjeta.json
Normal file
1
src/main/resources/quick-replies/retiro-sin-tarjeta.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Retiro sin tarjeta"}
|
||||
1
src/main/resources/quick-replies/transferencia.json
Normal file
1
src/main/resources/quick-replies/transferencia.json
Normal file
@@ -0,0 +1 @@
|
||||
{"titulo": "Transferencia"}
|
||||
Reference in New Issue
Block a user