Add RAG client

This commit is contained in:
2026-02-22 22:45:47 +00:00
parent da95a64fb7
commit 20df3ab956
189 changed files with 10690 additions and 31 deletions

View File

@@ -38,12 +38,27 @@ spring.data.redis.port=${REDIS_PORT}
# spring.data.redis.ssl.key-store=classpath:keystore.p12
# spring.data.redis.ssl.key-store-password=${REDIS_KEY_PWD}
# =========================================================
# Google Conversational Agents Configuration
# 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}
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
# =========================================================