@Daniel Fragoso Thanks for the question, The service does not currently support specifying the timezone for datetime values like the LUIS API does. you can try processing the datetime values in your client application before sending them to the service
Is there a way to specify timezoneOffset in CLU analyze_conversation request?
Hello, i am using CLU services in Azure using the https://pypi.org/project/azure-ai-language-conversations/ this is my code in Python:
Unfortunately i am unable to specify the datetime timezone, so when i send in my text something like: hoy or today, i get tomorrow's date, since the service it is returning the UTC timezone but i need the America/Mexico_City one. Is there a way to specify this like in the LUIS API?
result = client.analyze_conversation(
task={
"kind": "Conversation",
"analysisInput": {
"conversationItem": {
"participantId": "1",
"id": "1",
"modality": "text",
"language": "es",
"text": text
},
"isLoggingEnabled": False
},
"parameters": {
"projectName": project_name,
"deploymentName": deployment_name,
"verbose": True,
},
}
)
[I found this articles: https://learn.microsoft.com/en-us/azure/ai-services/luis/luis-concept-data-alteration?tabs=V2#change-time-zone-of-prebuilt-datetimev2-entity
and
But it seems like it is not applicable to this API or it is not clear.
Hope you can shed some light about this issue.
Thank you in advance.