UPDATE 10-sept

This commit is contained in:
PAVEL PALMA
2025-09-10 10:24:55 -06:00
parent 11888d2632
commit 9b1824bc48
15 changed files with 582 additions and 234 deletions

View File

@@ -26,4 +26,15 @@ public DetectIntentRequestDTO withParameter(String key, Object value) {
updatedQueryParams
);
}
public DetectIntentRequestDTO withParameters(java.util.Map<String, Object> parameters) {
// Create a new QueryParamsDTO with the updated session parameters
QueryParamsDTO updatedQueryParams = this.queryParams().withSessionParameters(parameters);
// Return a new DetectIntentRequestDTO instance with the updated QueryParamsDTO
return new DetectIntentRequestDTO(
this.queryInput(),
updatedQueryParams
);
}
}