UPDATE 14-Octubre
This commit is contained in:
@@ -126,6 +126,7 @@ public class DialogflowClientService {
|
|||||||
|
|
||||||
// Build the final DetectIntentRequest Protobuf object
|
// Build the final DetectIntentRequest Protobuf object
|
||||||
DetectIntentRequest detectIntentRequest = detectIntentRequestBuilder.build();
|
DetectIntentRequest detectIntentRequest = detectIntentRequestBuilder.build();
|
||||||
|
logger.debug("DetectIntentRequest created for session {}: {}", sessionId, detectIntentRequest);
|
||||||
return Mono.fromCallable(() -> {
|
return Mono.fromCallable(() -> {
|
||||||
logger.debug("Calling Dialogflow CX detectIntent for session: {}", sessionId);
|
logger.debug("Calling Dialogflow CX detectIntent for session: {}", sessionId);
|
||||||
return sessionsClient.detectIntent(detectIntentRequest);
|
return sessionsClient.detectIntent(detectIntentRequest);
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class MemoryStoreConversationService {
|
|||||||
return redisTemplate.opsForValue().get(sessionKey)
|
return redisTemplate.opsForValue().get(sessionKey)
|
||||||
.doOnSuccess(session -> {
|
.doOnSuccess(session -> {
|
||||||
if (session != null) {
|
if (session != null) {
|
||||||
logger.info("Found existing session in Memorystore: {}", session);
|
logger.info("Found existing session in Memorystore: {}", sessionKey);
|
||||||
} else {
|
} else {
|
||||||
logger.info("No session found in Memorystore for key: {}", sessionKey);
|
logger.info("No session found in Memorystore for key: {}", sessionKey);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,8 +69,8 @@ firestore.data.importer.enabled=${GCP_FIRESTORE_IMPORTER_ENABLE}
|
|||||||
# =========================================================
|
# =========================================================
|
||||||
# LOGGING Configuration
|
# LOGGING Configuration
|
||||||
# =========================================================
|
# =========================================================
|
||||||
logging.level.root=INFO
|
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
|
||||||
logging.level.com.example=INFO
|
logging.level.com.example=${LOGGING_LEVEL_COM_EXAMPLE:INFO}
|
||||||
# =========================================================
|
# =========================================================
|
||||||
# ConversationContext Configuration
|
# ConversationContext Configuration
|
||||||
# =========================================================
|
# =========================================================
|
||||||
|
|||||||
@@ -72,3 +72,8 @@ firestore.data.importer.enabled=${GCP_FIRESTORE_IMPORTER_ENABLE}
|
|||||||
# =========================================================
|
# =========================================================
|
||||||
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
|
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
|
||||||
logging.level.com.example=${LOGGING_LEVEL_COM_EXAMPLE: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}
|
||||||
@@ -72,3 +72,8 @@ firestore.data.importer.enabled=${GCP_FIRESTORE_IMPORTER_ENABLE}
|
|||||||
# =========================================================
|
# =========================================================
|
||||||
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
|
logging.level.root=${LOGGING_LEVEL_ROOT:INFO}
|
||||||
logging.level.com.example=${LOGGING_LEVEL_COM_EXAMPLE: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}
|
||||||
Reference in New Issue
Block a user