Hi. I am new to mongo and we are in our company starting new developments with this engine.
I have the following json
{
"_id": {
"$oid": "xxxxxxxxxx"
},
"logs": [
{
"request": {
"alternate_intents": true,
"context": {
"conversation_id": "xxx",
"system": {
"dialog_turn_counter": 1,
"dialog_request_counter": 1,
"session_id": "xxx",
"assistant_id": "xxxx",
"skill_reference_s": "test Skill"
},
"metadata": {}
},
"input": {
"options": {
"return_context_s": "true"
},
"text": "por cuál por el primero ",
"message_type_s": "text"
}
},
"response": {
"intents": [
{
"intent": "Consulta_Motivo_Renuncia",
"confidence": 0.36768287420272827
},
{
"intent": "Solicita_Rut",
"confidence": 0.324138343334198
},
{
"intent": "Ejemplos",
"confidence": 0.2719978451728821
},
{
"intent": "Solicita_Numero_de_Serie",
"confidence": 0.26375070810317996
},
{
"intent": "Solicita_Direccion_Cliente",
"confidence": 0.25889307856559757
},
{
"intent": "Solicita_Email_Cliente",
"confidence": 0.25696601867675783
},
{
"intent": "Protocolo_Renuncia_Parte3",
"confidence": 0.2559263825416565
},
{
"intent": "Explica_Protocolo",
"confidence": 0.2487402230501175
},
{
"intent": "Respuesta_Cliente_Positiva",
"confidence": 0.24280670285224915
},
{
"intent": "Solicita_Telefono_Contacto",
"confidence": 0.2413155049085617
}
],
and need to list all intents for each “conversation_id” for example
"intent": "Respuesta_Cliente_Positiva",
"confidence": 0.4656783819198609
I would really appreciate if you can give me an example of a query to get that information
Regards
Rodrigo