[2024-06-18 08:24:05] [667128050df9c] [DEBUG] Callback main start ok [2024-06-18 08:24:05] [667128050df9c] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 08:24:05] [667128050df9c] [DEBUG] Callback Provider : SmsMode [2024-06-18 08:24:05] [667128050df9c] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Yes [2024-06-18 08:24:05] [667128050df9c] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 08:24:04|Message: Yes [2024-06-18 08:24:05] [667128050df9c] [DEBUG] callback main apres while ok [2024-06-18 08:24:05] [667128050df9c] [INFO] Phone Number 33672767859 is available ! [2024-06-18 08:24:05] [667128050df9c] [DEBUG] Service is enabled ? true [2024-06-18 08:24:05] [667128050df9c] [INFO] Service 38164 is enabled ! [2024-06-18 08:24:05] [667128050df9c] [DEBUG] Listen is enabled ? false [2024-06-18 08:24:05] [667128050df9c] [INFO] Listen 38164 is disabled ! [2024-06-18 08:24:05] [667128050df9c] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 08:24:05] [667128050df9c] [DEBUG] BDD CheckNumber : OK [2024-06-18 08:24:05] [667128050df9c] [INFO] Callback SMS Count =? 2 [2024-06-18 08:24:05] [667128050df9c] [INFO] Callback checkMessage : ITA -- text: Yes [2024-06-18 08:24:05] [667128050df9c] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 08:24:05] [667128050df9c] [INFO] Event ID ? 16 [2024-06-18 08:24:05] [667128050df9c] [INFO] Fetch event [2024-06-18 08:24:05] [667128050df9c] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 08:24:05] [667128050df9c] [DEBUG] début chatgpt [2024-06-18 08:24:05] [667128050df9c] [DEBUG] curl_init OK [2024-06-18 08:24:05] [667128050df9c] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"}]} [2024-06-18 08:24:07] [667128050df9c] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bMY9ffEAMFUlvUQYJHDI49WkZLEa", "object": "chat.completion", "created": 1718691845, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for your response. Could you please specify if you will be present all three days of the event?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 520, "completion_tokens": 22, "total_tokens": 542 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 08:24:07] [667128050df9c] [DEBUG] Curl Closed OK [2024-06-18 08:24:07] [667128050df9c] [INFO] Commun GPT Content: { "id": "chatcmpl-9bMY9ffEAMFUlvUQYJHDI49WkZLEa", "object": "chat.completion", "created": 1718691845, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for your response. Could you please specify if you will be present all three days of the event?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 520, "completion_tokens": 22, "total_tokens": 542 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 08:24:07] [667128050df9c] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 08:24:07] [667128050df9c] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 1688afb7-c324-462a-939c-969ecf09af15 [2024-06-18 08:24:07] [667128050df9c] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"1688afb7-c324-462a-939c-969ecf09af15","acceptedAt":"2024-06-18T08:24:07","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"Thank you for your response. Could you please specify if you will be present all three days of the event?","encoding":"GSM7","messagePartCount":1,"length":105},"status":{"deliveryDate":"2024-06-18T08:24:07","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/1688afb7-c324-462a-939c-969ecf09af15"} [2024-06-18 08:24:07] [667128050df9c] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 08:24:07] [667128050df9c] [DEBUG] Callback juste avant fin callBack [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] Callback main start ok [2024-06-18 08:24:16] [6671281001d7a] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] Callback Provider : SmsMode [2024-06-18 08:24:16] [6671281001d7a] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Yes [2024-06-18 08:24:16] [6671281001d7a] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 08:24:15|Message: Yes [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] callback main apres while ok [2024-06-18 08:24:16] [6671281001d7a] [INFO] Phone Number 33672767859 is available ! [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] Service is enabled ? true [2024-06-18 08:24:16] [6671281001d7a] [INFO] Service 38164 is enabled ! [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] Listen is enabled ? false [2024-06-18 08:24:16] [6671281001d7a] [INFO] Listen 38164 is disabled ! [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] BDD CheckNumber : OK [2024-06-18 08:24:16] [6671281001d7a] [INFO] Callback SMS Count =? 3 [2024-06-18 08:24:16] [6671281001d7a] [INFO] Callback checkMessage : Yes -- text: Yes [2024-06-18 08:24:16] [6671281001d7a] [INFO] CallBack CheckLastMessage: le callback a renvoyé le meme SMS - annulation de l'appel [2024-06-18 08:24:16] [6671281001d7a] [DEBUG] Callback juste avant fin callBack [2024-06-18 15:17:16] [667188dce320b] [DEBUG] Callback main start ok [2024-06-18 15:17:16] [667188dce320b] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 15:17:16] [667188dce320b] [DEBUG] Callback Provider : SmsMode [2024-06-18 15:17:16] [667188dce320b] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33636922604 Text: yes [2024-06-18 15:17:16] [667188dce320b] [INFO] From: 33636922604|To: 38164|Date: 2024-06-18 15:17:16|Message: yes [2024-06-18 15:17:16] [667188dce320b] [DEBUG] callback main apres while ok [2024-06-18 15:17:16] [667188dce320b] [INFO] Phone Number 33636922604 is available ! [2024-06-18 15:17:16] [667188dce320b] [DEBUG] Service is enabled ? true [2024-06-18 15:17:16] [667188dce320b] [INFO] Service 38164 is enabled ! [2024-06-18 15:17:16] [667188dce320b] [DEBUG] Listen is enabled ? false [2024-06-18 15:17:16] [667188dce320b] [INFO] Listen 38164 is disabled ! [2024-06-18 15:17:16] [667188dce320b] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 15:17:16] [667188dce320b] [DEBUG] BDD CheckNumber : OK [2024-06-18 15:17:16] [667188dce320b] [INFO] Callback SMS Count =? 4 [2024-06-18 15:17:16] [667188dce320b] [INFO] Callback checkMessage : Yes -- text: yes [2024-06-18 15:17:16] [667188dce320b] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'yes' [2024-06-18 15:17:16] [667188dce320b] [INFO] Event ID ? 16 [2024-06-18 15:17:16] [667188dce320b] [INFO] Fetch event [2024-06-18 15:17:16] [667188dce320b] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 15:17:16] [667188dce320b] [DEBUG] début chatgpt [2024-06-18 15:17:16] [667188dce320b] [DEBUG] curl_init OK [2024-06-18 15:17:16] [667188dce320b] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Bonjour, pourriez-vous pr\u00e9ciser \u00e0 quelle question vous r\u00e9pondez par \"oui\" ? Avez-vous besoin d'aide pour r\u00e9pondre aux autres questions concernant le covoiturage ? Merci."},{"role":"user","content":"yes"}]} [2024-06-18 15:17:24] [667188dce320b] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bT01XP9hy8n6IzLxOlo5cRtZG9RG", "object": "chat.completion", "created": 1718716637, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for your response. Could you please clarify which question you are saying \"yes\" to? Additionally, could you provide answers to the following questions for the carpool arrangement?\n\n1. Do you want to be a driver or a passenger? (Driver, passenger, no preference)\n2. Will you be present all three days? (yes, no)\n3. What is your departure location? (including local postal code - ZIP Code)\n4. Are you returning to the same address? If not, what is your return address?\n5. Do you have any special information to share? (Hotel, trip already organized, etc.)\n\nYour responses will help us organize the carpooling efficiently. Thank you!" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 573, "completion_tokens": 143, "total_tokens": 716 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:17:24] [667188dce320b] [DEBUG] Curl Closed OK [2024-06-18 15:17:24] [667188dce320b] [INFO] Commun GPT Content: { "id": "chatcmpl-9bT01XP9hy8n6IzLxOlo5cRtZG9RG", "object": "chat.completion", "created": 1718716637, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for your response. Could you please clarify which question you are saying \"yes\" to? Additionally, could you provide answers to the following questions for the carpool arrangement?\n\n1. Do you want to be a driver or a passenger? (Driver, passenger, no preference)\n2. Will you be present all three days? (yes, no)\n3. What is your departure location? (including local postal code - ZIP Code)\n4. Are you returning to the same address? If not, what is your return address?\n5. Do you have any special information to share? (Hotel, trip already organized, etc.)\n\nYour responses will help us organize the carpooling efficiently. Thank you!" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 573, "completion_tokens": 143, "total_tokens": 716 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:17:24] [667188dce320b] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 15:17:24] [667188dce320b] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 789b8193-364b-433f-8eb7-b2332c971df3 [2024-06-18 15:17:24] [667188dce320b] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"789b8193-364b-433f-8eb7-b2332c971df3","acceptedAt":"2024-06-18T15:17:24","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33636922604"},"from":"36034","body":{"text":"Thank you for your response. Could you please clarify which question you are saying \"yes\" to? Additionally, could you provide answers to the following questions for the carpool arrangement?\n\n1. Do you want to be a driver or a passenger? (Driver, passenger, no preference)\n2. Will you be present all three days? (yes, no)\n3. What is your departure location? (including local postal code - ZIP Code)\n4. Are you returning to the same address? If not, what is your return address?\n5. Do you have any special information to share? (Hotel, trip already organized, etc.)\n\nYour responses will help us organize the carpooling efficiently. Thank you!","encoding":"GSM7","messagePartCount":5,"length":640},"status":{"deliveryDate":"2024-06-18T15:17:24","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/789b8193-364b-433f-8eb7-b2332c971df3"} [2024-06-18 15:17:24] [667188dce320b] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 15:17:24] [667188dce320b] [DEBUG] Callback juste avant fin callBack [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] Callback main start ok [2024-06-18 15:18:39] [6671892fab2df] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] Callback Provider : SmsMode [2024-06-18 15:18:39] [6671892fab2df] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33636922604 Text: Driver No 63100 boulevard Charcot Yes Nothing to declare [2024-06-18 15:18:39] [6671892fab2df] [INFO] From: 33636922604|To: 38164|Date: 2024-06-18 15:18:38|Message: Driver No 63100 boulevard Charcot Yes Nothing to declare [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] callback main apres while ok [2024-06-18 15:18:39] [6671892fab2df] [INFO] Phone Number 33636922604 is available ! [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] Service is enabled ? true [2024-06-18 15:18:39] [6671892fab2df] [INFO] Service 38164 is enabled ! [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] Listen is enabled ? false [2024-06-18 15:18:39] [6671892fab2df] [INFO] Listen 38164 is disabled ! [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] BDD CheckNumber : OK [2024-06-18 15:18:39] [6671892fab2df] [INFO] Callback SMS Count =? 5 [2024-06-18 15:18:39] [6671892fab2df] [INFO] Callback checkMessage : yes -- text: Driver No 63100 boulevard Charcot Yes Nothing to declare [2024-06-18 15:18:39] [6671892fab2df] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Driver\nNo\n63100 boulevard Charcot \nYes\nNothing to declare' [2024-06-18 15:18:39] [6671892fab2df] [INFO] Event ID ? 16 [2024-06-18 15:18:39] [6671892fab2df] [INFO] Fetch event [2024-06-18 15:18:39] [6671892fab2df] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] début chatgpt [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] curl_init OK [2024-06-18 15:18:39] [6671892fab2df] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Bonjour, pourriez-vous pr\u00e9ciser \u00e0 quelle question vous r\u00e9pondez par \"oui\" ? Avez-vous besoin d'aide pour r\u00e9pondre aux autres questions concernant le covoiturage ? Merci."},{"role":"user","content":"yes"},{"role":"assistant","content":"Thank you for your response. Could you please clarify which question you are saying \"yes\" to? Additionally, could you provide answers to the following questions for the carpool arrangement?\n\n1. Do you want to be a driver or a passenger? (Driver, passenger, no preference)\n2. Will you be present all three days? (yes, no)\n3. What is your departure location? (including local postal code - ZIP Code)\n4. Are you returning to the same address? If not, what is your return address?\n5. Do you have any special information to share? (Hotel, trip already organized, etc.)\n\nYour responses will help us organize the carpooling efficiently. Thank you!"},{"role":"user","content":"Driver\nNo\n63100 boulevard Charcot \nYes\nNothing to declare"}]} [2024-06-18 15:18:42] [6671892fab2df] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bT1MbCYsgsNOYuAd5tYLSHSrV1wl", "object": "chat.completion", "created": 1718716720, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. To clarify, you've indicated that you will not be present all three days. Could you please specify which days you will be attending the seminar? This will help us arrange your carpool schedule accurately.\n\nLooking forward to your reply." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 740, "completion_tokens": 52, "total_tokens": 792 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:18:42] [6671892fab2df] [DEBUG] Curl Closed OK [2024-06-18 15:18:42] [6671892fab2df] [INFO] Commun GPT Content: { "id": "chatcmpl-9bT1MbCYsgsNOYuAd5tYLSHSrV1wl", "object": "chat.completion", "created": 1718716720, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. To clarify, you've indicated that you will not be present all three days. Could you please specify which days you will be attending the seminar? This will help us arrange your carpool schedule accurately.\n\nLooking forward to your reply." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 740, "completion_tokens": 52, "total_tokens": 792 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:18:42] [6671892fab2df] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 15:18:42] [6671892fab2df] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : d182f27f-c7e1-45b3-abd2-a31b7746e838 [2024-06-18 15:18:42] [6671892fab2df] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"d182f27f-c7e1-45b3-abd2-a31b7746e838","acceptedAt":"2024-06-18T15:18:42","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33636922604"},"from":"36034","body":{"text":"Thank you for the information. To clarify, you've indicated that you will not be present all three days. Could you please specify which days you will be attending the seminar? This will help us arrange your carpool schedule accurately.\n\nLooking forward to your reply.","encoding":"GSM7","messagePartCount":2,"length":267},"status":{"deliveryDate":"2024-06-18T15:18:42","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/d182f27f-c7e1-45b3-abd2-a31b7746e838"} [2024-06-18 15:18:42] [6671892fab2df] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 15:18:42] [6671892fab2df] [DEBUG] Callback juste avant fin callBack [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] Callback main start ok [2024-06-18 15:19:06] [6671894a2e054] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] Callback Provider : SmsMode [2024-06-18 15:19:06] [6671894a2e054] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33636922604 Text: Tuesday and wednesday [2024-06-18 15:19:06] [6671894a2e054] [INFO] From: 33636922604|To: 38164|Date: 2024-06-18 15:19:06|Message: Tuesday and wednesday [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] callback main apres while ok [2024-06-18 15:19:06] [6671894a2e054] [INFO] Phone Number 33636922604 is available ! [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] Service is enabled ? true [2024-06-18 15:19:06] [6671894a2e054] [INFO] Service 38164 is enabled ! [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] Listen is enabled ? false [2024-06-18 15:19:06] [6671894a2e054] [INFO] Listen 38164 is disabled ! [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] BDD CheckNumber : OK [2024-06-18 15:19:06] [6671894a2e054] [INFO] Callback SMS Count =? 6 [2024-06-18 15:19:06] [6671894a2e054] [INFO] Callback checkMessage : Driver No 63100 boulevard Charcot Yes Nothing to declare -- text: Tuesday and wednesday [2024-06-18 15:19:06] [6671894a2e054] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Tuesday and wednesday' [2024-06-18 15:19:06] [6671894a2e054] [INFO] Event ID ? 16 [2024-06-18 15:19:06] [6671894a2e054] [INFO] Fetch event [2024-06-18 15:19:06] [6671894a2e054] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] début chatgpt [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] curl_init OK [2024-06-18 15:19:06] [6671894a2e054] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Bonjour, pourriez-vous pr\u00e9ciser \u00e0 quelle question vous r\u00e9pondez par \"oui\" ? Avez-vous besoin d'aide pour r\u00e9pondre aux autres questions concernant le covoiturage ? Merci."},{"role":"user","content":"yes"},{"role":"assistant","content":"Thank you for your response. Could you please clarify which question you are saying \"yes\" to? Additionally, could you provide answers to the following questions for the carpool arrangement?\n\n1. Do you want to be a driver or a passenger? (Driver, passenger, no preference)\n2. Will you be present all three days? (yes, no)\n3. What is your departure location? (including local postal code - ZIP Code)\n4. Are you returning to the same address? If not, what is your return address?\n5. Do you have any special information to share? (Hotel, trip already organized, etc.)\n\nYour responses will help us organize the carpooling efficiently. Thank you!"},{"role":"user","content":"Driver\nNo\n63100 boulevard Charcot \nYes\nNothing to declare"},{"role":"assistant","content":"Thank you for the information. To clarify, you've indicated that you will not be present all three days. Could you please specify which days you will be attending the seminar? This will help us arrange your carpool schedule accurately.\n\nLooking forward to your reply."},{"role":"user","content":"Tuesday and wednesday"}]} [2024-06-18 15:19:09] [6671894a2e054] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bT1mwHCIY2xnojDcd2FDjawD8FOf", "object": "chat.completion", "created": 1718716746, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for confirming your attendance for Tuesday and Wednesday. As a driver departing from 63100 Boulevard Charcot and returning to the same address, we will organize your carpool accordingly.\n\nWe will contact you soon with further details. If you have any more queries or updates, feel free to reach out. I remain at your disposal.\n\nAlfred" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 804, "completion_tokens": 69, "total_tokens": 873 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:19:09] [6671894a2e054] [DEBUG] Curl Closed OK [2024-06-18 15:19:09] [6671894a2e054] [INFO] Commun GPT Content: { "id": "chatcmpl-9bT1mwHCIY2xnojDcd2FDjawD8FOf", "object": "chat.completion", "created": 1718716746, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for confirming your attendance for Tuesday and Wednesday. As a driver departing from 63100 Boulevard Charcot and returning to the same address, we will organize your carpool accordingly.\n\nWe will contact you soon with further details. If you have any more queries or updates, feel free to reach out. I remain at your disposal.\n\nAlfred" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 804, "completion_tokens": 69, "total_tokens": 873 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 15:19:09] [6671894a2e054] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 15:19:09] [6671894a2e054] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : c19ff4ef-cd28-4c5e-81e8-005227e63f00 [2024-06-18 15:19:09] [6671894a2e054] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"c19ff4ef-cd28-4c5e-81e8-005227e63f00","acceptedAt":"2024-06-18T15:19:09","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33636922604"},"from":"36034","body":{"text":"Thank you for confirming your attendance for Tuesday and Wednesday. As a driver departing from 63100 Boulevard Charcot and returning to the same address, we will organize your carpool accordingly.\n\nWe will contact you soon with further details. If you have any more queries or updates, feel free to reach out. I remain at your disposal.\n\nAlfred","encoding":"GSM7","messagePartCount":3,"length":344},"status":{"deliveryDate":"2024-06-18T15:19:09","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/c19ff4ef-cd28-4c5e-81e8-005227e63f00"} [2024-06-18 15:19:09] [6671894a2e054] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 15:19:09] [6671894a2e054] [DEBUG] Callback juste avant fin callBack [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Callback main start ok [2024-06-18 16:09:12] [6671950892bdd] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Callback Provider : Octopush [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Callback main avant while ok [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Fields : channel=sms&text=ITA&reception_date=2024-06-18 16:09:10&metadata[number]=+18287472585&metadata[sim_card_number]=+33755517567 [2024-06-18 16:09:12] [6671950892bdd] [INFO] Callback SMS entrant sur sim_card: +33755517567 depuis Number (user): +18287472585 Text: ITA [2024-06-18 16:09:12] [6671950892bdd] [INFO] From: +18287472585|To: +33755517567|Date: 2024-06-18 16:09:10|Message: ITA [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] callback main apres while ok [2024-06-18 16:09:12] [6671950892bdd] [INFO] Phone Number +18287472585 is available ! [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Service is enabled ? true [2024-06-18 16:09:12] [6671950892bdd] [INFO] Service +33755517567 is enabled ! [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Listen is enabled ? false [2024-06-18 16:09:12] [6671950892bdd] [INFO] Listen +33755517567 is disabled ! [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] callback main sim_card_number CORRECT : +33755517567 début d'interpretation du message [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] BDD CheckNumber : la table est vide [2024-06-18 16:09:12] [6671950892bdd] [INFO] Callback ******** NOUVEL Utilisateur ****** [2024-06-18 16:09:12] [6671950892bdd] [INFO] BDD CreateNumber : Nouveau numero ajouté : +18287472585 [2024-06-18 16:09:12] [6671950892bdd] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'ITA' [2024-06-18 16:09:12] [6671950892bdd] [INFO] Callback Q1: l'event est Michelin EA [2024-06-18 16:09:12] [6671950892bdd] [INFO] BDD BddMaj : Event mis à jour. Valeur: 'Michelin EA via sms' [2024-06-18 16:09:12] [6671950892bdd] [INFO] BDD BddMaj : event_id mis à jour. Valeur: '16' [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 16:09:12] [6671950892bdd] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 26216cf7-ca11-48cd-899a-b2528405832c [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"26216cf7-ca11-48cd-899a-b2528405832c","acceptedAt":"2024-06-18T16:09:12","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"18287472585"},"from":"36034","body":{"text":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Château de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)","encoding":"GSM7","messagePartCount":2,"length":217},"status":{"deliveryDate":"2024-06-18T16:09:12","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/26216cf7-ca11-48cd-899a-b2528405832c"} [2024-06-18 16:09:12] [6671950892bdd] [INFO] BDD BddMaj : sender mis à jour. Valeur: '36034' [2024-06-18 16:09:12] [6671950892bdd] [DEBUG] Callback juste avant fin callBack [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Callback main start ok [2024-06-18 16:10:53] [6671956d38a37] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Callback Provider : Octopush [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Callback main avant while ok [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Fields : channel=sms&text=ITA&reception_date=2024-06-18 16:10:51&metadata[number]=+18287472585&metadata[sim_card_number]=+33755517567 [2024-06-18 16:10:53] [6671956d38a37] [INFO] Callback SMS entrant sur sim_card: +33755517567 depuis Number (user): +18287472585 Text: ITA [2024-06-18 16:10:53] [6671956d38a37] [INFO] From: +18287472585|To: +33755517567|Date: 2024-06-18 16:10:51|Message: ITA [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] callback main apres while ok [2024-06-18 16:10:53] [6671956d38a37] [INFO] Phone Number +18287472585 is available ! [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Service is enabled ? true [2024-06-18 16:10:53] [6671956d38a37] [INFO] Service +33755517567 is enabled ! [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Listen is enabled ? false [2024-06-18 16:10:53] [6671956d38a37] [INFO] Listen +33755517567 is disabled ! [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] callback main sim_card_number CORRECT : +33755517567 début d'interpretation du message [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] BDD CheckNumber : OK [2024-06-18 16:10:53] [6671956d38a37] [INFO] Callback SMS Count =? 0 [2024-06-18 16:10:53] [6671956d38a37] [INFO] Callback checkMessage : ITA -- text: ITA [2024-06-18 16:10:53] [6671956d38a37] [INFO] CallBack CheckLastMessage: le callback a renvoyé le meme SMS - annulation de l'appel [2024-06-18 16:10:53] [6671956d38a37] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Callback main start ok [2024-06-18 17:18:58] [6671a5629124a] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Callback Provider : Octopush [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Callback main avant while ok [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Fields : channel=sms&text=ITA&reception_date=2024-06-18 17:18:57&metadata[number]=+33672767859&metadata[sim_card_number]=+33755517567 [2024-06-18 17:18:58] [6671a5629124a] [INFO] Callback SMS entrant sur sim_card: +33755517567 depuis Number (user): +33672767859 Text: ITA [2024-06-18 17:18:58] [6671a5629124a] [INFO] From: +33672767859|To: +33755517567|Date: 2024-06-18 17:18:57|Message: ITA [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] callback main apres while ok [2024-06-18 17:18:58] [6671a5629124a] [INFO] Phone Number +33672767859 is available ! [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Service is enabled ? true [2024-06-18 17:18:58] [6671a5629124a] [INFO] Service +33755517567 is enabled ! [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] Listen is enabled ? false [2024-06-18 17:18:58] [6671a5629124a] [INFO] Listen +33755517567 is disabled ! [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] callback main sim_card_number CORRECT : +33755517567 début d'interpretation du message [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:18:58] [6671a5629124a] [INFO] Callback SMS Count =? 3 [2024-06-18 17:18:58] [6671a5629124a] [INFO] Callback checkMessage : Yes -- text: ITA [2024-06-18 17:18:58] [6671a5629124a] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'ITA' [2024-06-18 17:18:58] [6671a5629124a] [INFO] Event ID ? 16 [2024-06-18 17:18:58] [6671a5629124a] [INFO] Fetch event [2024-06-18 17:18:58] [6671a5629124a] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] début chatgpt [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] curl_init OK [2024-06-18 17:18:58] [6671a5629124a] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Thank you for your response. Could you please specify if you will be present all three days of the event?"},{"role":"user","content":"ITA"}]} [2024-06-18 17:19:01] [6671a5629124a] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bUtnsEzaCAtWtIaRRqz8v6glsc97", "object": "chat.completion", "created": 1718723939, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 551, "completion_tokens": 49, "total_tokens": 600 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:01] [6671a5629124a] [DEBUG] Curl Closed OK [2024-06-18 17:19:01] [6671a5629124a] [INFO] Commun GPT Content: { "id": "chatcmpl-9bUtnsEzaCAtWtIaRRqz8v6glsc97", "object": "chat.completion", "created": 1718723939, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 551, "completion_tokens": 49, "total_tokens": 600 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:01] [6671a5629124a] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:19:01] [6671a5629124a] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 092d5d7f-cf75-46e9-8f8e-f1d45612e84f [2024-06-18 17:19:01] [6671a5629124a] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"092d5d7f-cf75-46e9-8f8e-f1d45612e84f","acceptedAt":"2024-06-18T17:19:01","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)","encoding":"GSM7","messagePartCount":2,"length":222},"status":{"deliveryDate":"2024-06-18T17:19:01","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/092d5d7f-cf75-46e9-8f8e-f1d45612e84f"} [2024-06-18 17:19:01] [6671a5629124a] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:19:01] [6671a5629124a] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] Callback main start ok [2024-06-18 17:19:20] [6671a5785b758] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:19:20] [6671a5785b758] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Yes [2024-06-18 17:19:20] [6671a5785b758] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:19:20|Message: Yes [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] callback main apres while ok [2024-06-18 17:19:20] [6671a5785b758] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] Service is enabled ? true [2024-06-18 17:19:20] [6671a5785b758] [INFO] Service 38164 is enabled ! [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] Listen is enabled ? false [2024-06-18 17:19:20] [6671a5785b758] [INFO] Listen 38164 is disabled ! [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:19:20] [6671a5785b758] [INFO] Callback SMS Count =? 4 [2024-06-18 17:19:20] [6671a5785b758] [INFO] Callback checkMessage : ITA -- text: Yes [2024-06-18 17:19:20] [6671a5785b758] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 17:19:20] [6671a5785b758] [INFO] Event ID ? 16 [2024-06-18 17:19:20] [6671a5785b758] [INFO] Fetch event [2024-06-18 17:19:20] [6671a5785b758] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] début chatgpt [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] curl_init OK [2024-06-18 17:19:20] [6671a5785b758] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Thank you for your response. Could you please specify if you will be present all three days of the event?"},{"role":"user","content":"ITA"},{"role":"assistant","content":"I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)"},{"role":"user","content":"Yes"}]} [2024-06-18 17:19:22] [6671a5785b758] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bUu8oP1DjjGqbBvnd0HXty4CbSO1", "object": "chat.completion", "created": 1718723960, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 609, "completion_tokens": 21, "total_tokens": 630 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:22] [6671a5785b758] [DEBUG] Curl Closed OK [2024-06-18 17:19:22] [6671a5785b758] [INFO] Commun GPT Content: { "id": "chatcmpl-9bUu8oP1DjjGqbBvnd0HXty4CbSO1", "object": "chat.completion", "created": 1718723960, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 609, "completion_tokens": 21, "total_tokens": 630 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:22] [6671a5785b758] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:19:22] [6671a5785b758] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 00ddc366-149d-4b8c-b8c2-e6ce6a66d739 [2024-06-18 17:19:22] [6671a5785b758] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"00ddc366-149d-4b8c-b8c2-e6ce6a66d739","acceptedAt":"2024-06-18T17:19:22","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)","encoding":"GSM7","messagePartCount":1,"length":84},"status":{"deliveryDate":"2024-06-18T17:19:22","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/00ddc366-149d-4b8c-b8c2-e6ce6a66d739"} [2024-06-18 17:19:22] [6671a5785b758] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:19:22] [6671a5785b758] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] Callback main start ok [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Passenger [2024-06-18 17:19:32] [6671a5841cc54] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:19:32|Message: Passenger [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] callback main apres while ok [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] Service is enabled ? true [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Service 38164 is enabled ! [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] Listen is enabled ? false [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Listen 38164 is disabled ! [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Callback SMS Count =? 5 [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Callback checkMessage : Yes -- text: Passenger [2024-06-18 17:19:32] [6671a5841cc54] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Passenger' [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Event ID ? 16 [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Fetch event [2024-06-18 17:19:32] [6671a5841cc54] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] début chatgpt [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] curl_init OK [2024-06-18 17:19:32] [6671a5841cc54] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Thank you for your response. Could you please specify if you will be present all three days of the event?"},{"role":"user","content":"ITA"},{"role":"assistant","content":"I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)"},{"role":"user","content":"Passenger"}]} [2024-06-18 17:19:33] [6671a5841cc54] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bUuK3TnfCJWGYHi4vyD2hJm7DYZp", "object": "chat.completion", "created": 1718723972, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank. What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 640, "completion_tokens": 17, "total_tokens": 657 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:33] [6671a5841cc54] [DEBUG] Curl Closed OK [2024-06-18 17:19:33] [6671a5841cc54] [INFO] Commun GPT Content: { "id": "chatcmpl-9bUuK3TnfCJWGYHi4vyD2hJm7DYZp", "object": "chat.completion", "created": 1718723972, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank. What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 640, "completion_tokens": 17, "total_tokens": 657 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:19:33] [6671a5841cc54] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:19:33] [6671a5841cc54] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 76d9d0ae-ea1a-4bcf-9180-70c7f0d11a42 [2024-06-18 17:19:33] [6671a5841cc54] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"76d9d0ae-ea1a-4bcf-9180-70c7f0d11a42","acceptedAt":"2024-06-18T17:19:33","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"Thank. What is your departure location? (including local postal code - ZIP Code)","encoding":"GSM7","messagePartCount":1,"length":80},"status":{"deliveryDate":"2024-06-18T17:19:33","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/76d9d0ae-ea1a-4bcf-9180-70c7f0d11a42"} [2024-06-18 17:19:33] [6671a5841cc54] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:19:33] [6671a5841cc54] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] Callback main start ok [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Clermont-Ferrand center, 63000 [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:20:03|Message: Clermont-Ferrand center, 63000 [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] callback main apres while ok [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] Service is enabled ? true [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Service 38164 is enabled ! [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] Listen is enabled ? false [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Listen 38164 is disabled ! [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Callback SMS Count =? 6 [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Callback checkMessage : Passenger -- text: Clermont-Ferrand center, 63000 [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Clermont-Ferrand center, 63000' [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Event ID ? 16 [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Fetch event [2024-06-18 17:20:03] [6671a5a35cab3] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] début chatgpt [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] curl_init OK [2024-06-18 17:20:03] [6671a5a35cab3] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Thank you for your response. Could you please specify if you will be present all three days of the event?"},{"role":"user","content":"ITA"},{"role":"assistant","content":"I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)"},{"role":"user","content":"Passenger"},{"role":"assistant","content":"Thank. What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"Clermont-Ferrand center, 63000"}]} [2024-06-18 17:20:05] [6671a5a35cab3] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bUup0inKjAO8VmAt1NSBLBNdPolX", "object": "chat.completion", "created": 1718724003, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you. Are you returning to the same address? If not, what is your returneng address?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 676, "completion_tokens": 21, "total_tokens": 697 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:20:05] [6671a5a35cab3] [DEBUG] Curl Closed OK [2024-06-18 17:20:05] [6671a5a35cab3] [INFO] Commun GPT Content: { "id": "chatcmpl-9bUup0inKjAO8VmAt1NSBLBNdPolX", "object": "chat.completion", "created": 1718724003, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you. Are you returning to the same address? If not, what is your returneng address?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 676, "completion_tokens": 21, "total_tokens": 697 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:20:05] [6671a5a35cab3] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:20:05] [6671a5a35cab3] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 9c407829-cb24-4116-910a-3748835178de [2024-06-18 17:20:05] [6671a5a35cab3] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"9c407829-cb24-4116-910a-3748835178de","acceptedAt":"2024-06-18T17:20:05","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"Thank you. Are you returning to the same address? If not, what is your returneng address?","encoding":"GSM7","messagePartCount":1,"length":89},"status":{"deliveryDate":"2024-06-18T17:20:05","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/9c407829-cb24-4116-910a-3748835178de"} [2024-06-18 17:20:05] [6671a5a35cab3] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:20:05] [6671a5a35cab3] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] Callback main start ok [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: Yes [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:20:14|Message: Yes [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] callback main apres while ok [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] Service is enabled ? true [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Service 38164 is enabled ! [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] Listen is enabled ? false [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Listen 38164 is disabled ! [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Callback SMS Count =? 7 [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Callback checkMessage : Clermont-Ferrand center, 63000 -- text: Yes [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Event ID ? 16 [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Fetch event [2024-06-18 17:20:14] [6671a5ae44d4d] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] début chatgpt [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] curl_init OK [2024-06-18 17:20:14] [6671a5ae44d4d] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Thank you for registering with our carpooling service for the Architects Network Seminar! We have received your request and will get back to you with more details in a few days."},{"role":"user","content":"Yes"},{"role":"assistant","content":"Thank you for your response. Could you please specify if you will be present all three days of the event?"},{"role":"user","content":"ITA"},{"role":"assistant","content":"I understand there might have been an error in your response. To assist you accurately for the \"Architects Network Seminar 2024\", could you please confirm if you will be attending the seminar on all three days? (yes or no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? (Driver, passenger, no preference)"},{"role":"user","content":"Passenger"},{"role":"assistant","content":"Thank. What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"Clermont-Ferrand center, 63000"},{"role":"assistant","content":"Thank you. Are you returning to the same address? If not, what is your returneng address?"},{"role":"user","content":"Yes"}]} [2024-06-18 17:20:16] [6671a5ae44d4d] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bUv1TvSir5gkeKwSabq2yc1Kor4u", "object": "chat.completion", "created": 1718724015, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 706, "completion_tokens": 18, "total_tokens": 724 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:20:16] [6671a5ae44d4d] [DEBUG] Curl Closed OK [2024-06-18 17:20:16] [6671a5ae44d4d] [INFO] Commun GPT Content: { "id": "chatcmpl-9bUv1TvSir5gkeKwSabq2yc1Kor4u", "object": "chat.completion", "created": 1718724015, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 706, "completion_tokens": 18, "total_tokens": 724 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:20:16] [6671a5ae44d4d] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:20:16] [6671a5ae44d4d] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : e471f56a-196d-49b8-829f-5d21163b0464 [2024-06-18 17:20:16] [6671a5ae44d4d] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"e471f56a-196d-49b8-829f-5d21163b0464","acceptedAt":"2024-06-18T17:20:16","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33672767859"},"from":"36034","body":{"text":"Do you have any special information to share? (Hotel, trip already organized, etc.)","encoding":"GSM7","messagePartCount":1,"length":83},"status":{"deliveryDate":"2024-06-18T17:20:16","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/e471f56a-196d-49b8-829f-5d21163b0464"} [2024-06-18 17:20:16] [6671a5ae44d4d] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:20:16] [6671a5ae44d4d] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Callback main start ok [2024-06-18 17:20:25] [6671a5b926774] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:20:25] [6671a5b926774] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: No [2024-06-18 17:20:25] [6671a5b926774] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:20:25|Message: No [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] callback main apres while ok [2024-06-18 17:20:25] [6671a5b926774] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Service is enabled ? true [2024-06-18 17:20:25] [6671a5b926774] [INFO] Service 38164 is enabled ! [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Listen is enabled ? false [2024-06-18 17:20:25] [6671a5b926774] [INFO] Listen 38164 is disabled ! [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:20:25] [6671a5b926774] [INFO] Callback SMS Count =? 8 [2024-06-18 17:20:25] [6671a5b926774] [INFO] Callback checkMessage : Yes -- text: No [2024-06-18 17:20:25] [6671a5b926774] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'No' [2024-06-18 17:20:25] [6671a5b926774] [INFO] Event ID ? 16 [2024-06-18 17:20:25] [6671a5b926774] [INFO] Fetch event [2024-06-18 17:20:25] [6671a5b926774] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Total SMS USER : 6 [2024-06-18 17:20:25] [6671a5b926774] [INFO] BDD BddMaj : need_action mis à jour. Valeur: '1' [2024-06-18 17:20:25] [6671a5b926774] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] Callback main start ok [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: And now ? [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:21:24|Message: And now ? [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] callback main apres while ok [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] Service is enabled ? true [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Service 38164 is enabled ! [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] Listen is enabled ? false [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Listen 38164 is disabled ! [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:21:24] [6671a5f4e5ab9] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Callback SMS Count =? 8 [2024-06-18 17:21:24] [6671a5f4e5ab9] [INFO] Callback checkMessage : No -- text: And now ? [2024-06-18 17:21:25] [6671a5f4e5ab9] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'And now ?' [2024-06-18 17:21:25] [6671a5f4e5ab9] [INFO] Event ID ? 16 [2024-06-18 17:21:25] [6671a5f4e5ab9] [INFO] Fetch event [2024-06-18 17:21:25] [6671a5f4e5ab9] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:21:25] [6671a5f4e5ab9] [DEBUG] Total SMS USER : 7 [2024-06-18 17:21:25] [6671a5f4e5ab9] [INFO] BDD BddMaj need_action : la table est vide [2024-06-18 17:21:25] [6671a5f4e5ab9] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Callback main start ok [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: ITA [2024-06-18 17:21:41] [6671a605d45d4] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:21:41|Message: ITA [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] callback main apres while ok [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Service is enabled ? true [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Service 38164 is enabled ! [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Listen is enabled ? false [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Listen 38164 is disabled ! [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Callback SMS Count =? 8 [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Callback checkMessage : And now ? -- text: ITA [2024-06-18 17:21:41] [6671a605d45d4] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'ITA' [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Event ID ? 16 [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Fetch event [2024-06-18 17:21:41] [6671a605d45d4] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Total SMS USER : 8 [2024-06-18 17:21:41] [6671a605d45d4] [INFO] BDD BddMaj need_action : la table est vide [2024-06-18 17:21:41] [6671a605d45d4] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Callback main start ok [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Callback Provider : Octopush [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Callback main avant while ok [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Fields : channel=sms&text=ITA&reception_date=2024-06-18 17:29:42&metadata[number]=+33616302175&metadata[sim_card_number]=+33755517567 [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Callback SMS entrant sur sim_card: +33755517567 depuis Number (user): +33616302175 Text: ITA [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] From: +33616302175|To: +33755517567|Date: 2024-06-18 17:29:42|Message: ITA [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] callback main apres while ok [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Phone Number +33616302175 is available ! [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Service is enabled ? true [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Service +33755517567 is enabled ! [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Listen is enabled ? false [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Listen +33755517567 is disabled ! [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] callback main sim_card_number CORRECT : +33755517567 début d'interpretation du message [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] BDD CheckNumber : la table est vide [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Callback ******** NOUVEL Utilisateur ****** [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] BDD CreateNumber : Nouveau numero ajouté : +33616302175 [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'ITA' [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] Callback Q1: l'event est Michelin EA [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] BDD BddMaj : Event mis à jour. Valeur: 'Michelin EA via sms' [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] BDD BddMaj : event_id mis à jour. Valeur: '16' [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 9ee53d9e-0f13-4435-863b-8f2f638adf98 [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"9ee53d9e-0f13-4435-863b-8f2f638adf98","acceptedAt":"2024-06-18T17:29:43","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Château de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)","encoding":"GSM7","messagePartCount":2,"length":217},"status":{"deliveryDate":"2024-06-18T17:29:43","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/9ee53d9e-0f13-4435-863b-8f2f638adf98"} [2024-06-18 17:29:43] [6671a7e77ed17] [INFO] BDD BddMaj : sender mis à jour. Valeur: '36034' [2024-06-18 17:29:43] [6671a7e77ed17] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] Callback main start ok [2024-06-18 17:30:14] [6671a806d8881] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:30:14] [6671a806d8881] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: Yes [2024-06-18 17:30:14] [6671a806d8881] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:30:14|Message: Yes [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] callback main apres while ok [2024-06-18 17:30:14] [6671a806d8881] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] Service is enabled ? true [2024-06-18 17:30:14] [6671a806d8881] [INFO] Service 38164 is enabled ! [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] Listen is enabled ? false [2024-06-18 17:30:14] [6671a806d8881] [INFO] Listen 38164 is disabled ! [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:30:14] [6671a806d8881] [INFO] Callback SMS Count =? 1 [2024-06-18 17:30:14] [6671a806d8881] [INFO] Callback checkMessage : ITA -- text: Yes [2024-06-18 17:30:14] [6671a806d8881] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 17:30:14] [6671a806d8881] [INFO] Event ID ? 16 [2024-06-18 17:30:14] [6671a806d8881] [INFO] Fetch event [2024-06-18 17:30:14] [6671a806d8881] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:30:14] [6671a806d8881] [DEBUG] [AUTOMATIC] Réponse Positive [2024-06-18 17:30:15] [6671a806d8881] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:30:15] [6671a806d8881] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 32b17174-d1d4-4ff7-8e67-da4a5642513a [2024-06-18 17:30:15] [6671a806d8881] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"32b17174-d1d4-4ff7-8e67-da4a5642513a","acceptedAt":"2024-06-18T17:30:15","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Great! Do you want to be a driver or a passenger? \n(Driver, passenger, no preference)","encoding":"GSM7","messagePartCount":1,"length":85},"status":{"deliveryDate":"2024-06-18T17:30:15","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/32b17174-d1d4-4ff7-8e67-da4a5642513a"} [2024-06-18 17:30:15] [6671a806d8881] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:30:15] [6671a806d8881] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] Callback main start ok [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: No preference [2024-06-18 17:30:25] [6671a811ebe37] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:30:25|Message: No preference [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] callback main apres while ok [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] Service is enabled ? true [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Service 38164 is enabled ! [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] Listen is enabled ? false [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Listen 38164 is disabled ! [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:30:25] [6671a811ebe37] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Callback SMS Count =? 2 [2024-06-18 17:30:25] [6671a811ebe37] [INFO] Callback checkMessage : Yes -- text: No preference [2024-06-18 17:30:26] [6671a811ebe37] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'No preference' [2024-06-18 17:30:26] [6671a811ebe37] [INFO] Event ID ? 16 [2024-06-18 17:30:26] [6671a811ebe37] [INFO] Fetch event [2024-06-18 17:30:26] [6671a811ebe37] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:30:26] [6671a811ebe37] [DEBUG] début chatgpt [2024-06-18 17:30:26] [6671a811ebe37] [DEBUG] curl_init OK [2024-06-18 17:30:26] [6671a811ebe37] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"No preference"}]} [2024-06-18 17:30:27] [6671a811ebe37] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bV4s5nYebVSVtxag3hRni5mbuWf0", "object": "chat.completion", "created": 1718724626, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Will you be present all three and a half days? (yes, no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 579, "completion_tokens": 16, "total_tokens": 595 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:27] [6671a811ebe37] [DEBUG] Curl Closed OK [2024-06-18 17:30:27] [6671a811ebe37] [INFO] Commun GPT Content: { "id": "chatcmpl-9bV4s5nYebVSVtxag3hRni5mbuWf0", "object": "chat.completion", "created": 1718724626, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Will you be present all three and a half days? (yes, no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 579, "completion_tokens": 16, "total_tokens": 595 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:27] [6671a811ebe37] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:30:27] [6671a811ebe37] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 04462326-d3f8-4833-a277-f279dd62f03b [2024-06-18 17:30:27] [6671a811ebe37] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"04462326-d3f8-4833-a277-f279dd62f03b","acceptedAt":"2024-06-18T17:30:27","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Will you be present all three and a half days? (yes, no)","encoding":"GSM7","messagePartCount":1,"length":56},"status":{"deliveryDate":"2024-06-18T17:30:27","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/04462326-d3f8-4833-a277-f279dd62f03b"} [2024-06-18 17:30:27] [6671a811ebe37] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:30:27] [6671a811ebe37] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] Callback main start ok [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: Yes [2024-06-18 17:30:35] [6671a81b562ea] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:30:35|Message: Yes [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] callback main apres while ok [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] Service is enabled ? true [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Service 38164 is enabled ! [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] Listen is enabled ? false [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Listen 38164 is disabled ! [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Callback SMS Count =? 3 [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Callback checkMessage : No preference -- text: Yes [2024-06-18 17:30:35] [6671a81b562ea] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Event ID ? 16 [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Fetch event [2024-06-18 17:30:35] [6671a81b562ea] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] début chatgpt [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] curl_init OK [2024-06-18 17:30:35] [6671a81b562ea] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"No preference"},{"role":"assistant","content":"Will you be present all three and a half days? (yes, no)"},{"role":"user","content":"Yes"}]} [2024-06-18 17:30:37] [6671a81b562ea] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bV51w4PtPRysc3wg1X2xrIUhCsf7", "object": "chat.completion", "created": 1718724635, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 604, "completion_tokens": 15, "total_tokens": 619 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:37] [6671a81b562ea] [DEBUG] Curl Closed OK [2024-06-18 17:30:37] [6671a81b562ea] [INFO] Commun GPT Content: { "id": "chatcmpl-9bV51w4PtPRysc3wg1X2xrIUhCsf7", "object": "chat.completion", "created": 1718724635, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 604, "completion_tokens": 15, "total_tokens": 619 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:37] [6671a81b562ea] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:30:37] [6671a81b562ea] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 6a17b14d-dea7-4c67-a16a-51bc898788f2 [2024-06-18 17:30:37] [6671a81b562ea] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"6a17b14d-dea7-4c67-a16a-51bc898788f2","acceptedAt":"2024-06-18T17:30:37","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"What is your departure location? (including local postal code - ZIP Code)","encoding":"GSM7","messagePartCount":1,"length":73},"status":{"deliveryDate":"2024-06-18T17:30:37","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/6a17b14d-dea7-4c67-a16a-51bc898788f2"} [2024-06-18 17:30:37] [6671a81b562ea] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:30:37] [6671a81b562ea] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] Callback main start ok [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: 63300 [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:30:51|Message: 63300 [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] callback main apres while ok [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] Service is enabled ? true [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Service 38164 is enabled ! [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] Listen is enabled ? false [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Listen 38164 is disabled ! [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Callback SMS Count =? 4 [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Callback checkMessage : Yes -- text: 63300 [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: '63300' [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Event ID ? 16 [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Fetch event [2024-06-18 17:30:51] [6671a82b7e29b] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] début chatgpt [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] curl_init OK [2024-06-18 17:30:51] [6671a82b7e29b] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"No preference"},{"role":"assistant","content":"Will you be present all three and a half days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"63300"}]} [2024-06-18 17:30:53] [6671a82b7e29b] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bV5HGy2kUyEloioB3RSEHXotYlOU", "object": "chat.completion", "created": 1718724651, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Are you returning to the same address? If not, what is your return Date?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 629, "completion_tokens": 17, "total_tokens": 646 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:53] [6671a82b7e29b] [DEBUG] Curl Closed OK [2024-06-18 17:30:53] [6671a82b7e29b] [INFO] Commun GPT Content: { "id": "chatcmpl-9bV5HGy2kUyEloioB3RSEHXotYlOU", "object": "chat.completion", "created": 1718724651, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Are you returning to the same address? If not, what is your return Date?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 629, "completion_tokens": 17, "total_tokens": 646 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:30:53] [6671a82b7e29b] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:30:53] [6671a82b7e29b] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : d2452210-27c4-4d6e-94d5-ffbaa6b74246 [2024-06-18 17:30:53] [6671a82b7e29b] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"d2452210-27c4-4d6e-94d5-ffbaa6b74246","acceptedAt":"2024-06-18T17:30:53","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Are you returning to the same address? If not, what is your return Date?","encoding":"GSM7","messagePartCount":1,"length":72},"status":{"deliveryDate":"2024-06-18T17:30:53","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/d2452210-27c4-4d6e-94d5-ffbaa6b74246"} [2024-06-18 17:30:53] [6671a82b7e29b] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:30:53] [6671a82b7e29b] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] Callback main start ok [2024-06-18 17:31:16] [6671a844c4299] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:31:16] [6671a844c4299] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: Yes [2024-06-18 17:31:16] [6671a844c4299] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:31:16|Message: Yes [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] callback main apres while ok [2024-06-18 17:31:16] [6671a844c4299] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] Service is enabled ? true [2024-06-18 17:31:16] [6671a844c4299] [INFO] Service 38164 is enabled ! [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] Listen is enabled ? false [2024-06-18 17:31:16] [6671a844c4299] [INFO] Listen 38164 is disabled ! [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:31:16] [6671a844c4299] [INFO] Callback SMS Count =? 5 [2024-06-18 17:31:16] [6671a844c4299] [INFO] Callback checkMessage : 63300 -- text: Yes [2024-06-18 17:31:16] [6671a844c4299] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 17:31:16] [6671a844c4299] [INFO] Event ID ? 16 [2024-06-18 17:31:16] [6671a844c4299] [INFO] Fetch event [2024-06-18 17:31:16] [6671a844c4299] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] début chatgpt [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] curl_init OK [2024-06-18 17:31:16] [6671a844c4299] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"No preference"},{"role":"assistant","content":"Will you be present all three and a half days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"63300"},{"role":"assistant","content":"Are you returning to the same address? If not, what is your return Date?"},{"role":"user","content":"Yes"}]} [2024-06-18 17:31:18] [6671a844c4299] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bV5hGiakENh5TGboFUy1IxIEuCj3", "object": "chat.completion", "created": 1718724677, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 655, "completion_tokens": 18, "total_tokens": 673 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:31:18] [6671a844c4299] [DEBUG] Curl Closed OK [2024-06-18 17:31:18] [6671a844c4299] [INFO] Commun GPT Content: { "id": "chatcmpl-9bV5hGiakENh5TGboFUy1IxIEuCj3", "object": "chat.completion", "created": 1718724677, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 655, "completion_tokens": 18, "total_tokens": 673 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:31:18] [6671a844c4299] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:31:18] [6671a844c4299] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : c43c48c7-4f75-46be-8dd6-b9fc58c85fcc [2024-06-18 17:31:18] [6671a844c4299] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"c43c48c7-4f75-46be-8dd6-b9fc58c85fcc","acceptedAt":"2024-06-18T17:31:18","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Do you have any special information to share? (Hotel, trip already organized, etc.)","encoding":"GSM7","messagePartCount":1,"length":83},"status":{"deliveryDate":"2024-06-18T17:31:18","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/c43c48c7-4f75-46be-8dd6-b9fc58c85fcc"} [2024-06-18 17:31:18] [6671a844c4299] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:31:18] [6671a844c4299] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] Callback main start ok [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33616302175 Text: No [2024-06-18 17:31:25] [6671a84d1d512] [INFO] From: 33616302175|To: 38164|Date: 2024-06-18 17:31:25|Message: No [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] callback main apres while ok [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Phone Number 33616302175 is available ! [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] Service is enabled ? true [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Service 38164 is enabled ! [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] Listen is enabled ? false [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Listen 38164 is disabled ! [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Callback SMS Count =? 6 [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Callback checkMessage : Yes -- text: No [2024-06-18 17:31:25] [6671a84d1d512] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'No' [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Event ID ? 16 [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Fetch event [2024-06-18 17:31:25] [6671a84d1d512] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] début chatgpt [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] curl_init OK [2024-06-18 17:31:25] [6671a84d1d512] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"No preference"},{"role":"assistant","content":"Will you be present all three and a half days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"63300"},{"role":"assistant","content":"Are you returning to the same address? If not, what is your return Date?"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Do you have any special information to share? (Hotel, trip already organized, etc.)"},{"role":"user","content":"No"}]} [2024-06-18 17:31:28] [6671a84d1d512] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bV5pkNWdoYKwWG8Y8BuUQfDOsyS1", "object": "chat.completion", "created": 1718724685, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. I will contact you soon to finalize the carpool details. I remain at your disposal. \nBest regards, \nAlfred" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 682, "completion_tokens": 31, "total_tokens": 713 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:31:28] [6671a84d1d512] [DEBUG] Curl Closed OK [2024-06-18 17:31:28] [6671a84d1d512] [INFO] Commun GPT Content: { "id": "chatcmpl-9bV5pkNWdoYKwWG8Y8BuUQfDOsyS1", "object": "chat.completion", "created": 1718724685, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. I will contact you soon to finalize the carpool details. I remain at your disposal. \nBest regards, \nAlfred" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 682, "completion_tokens": 31, "total_tokens": 713 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 17:31:28] [6671a84d1d512] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 17:31:28] [6671a84d1d512] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 261fb891-2d75-401c-930e-4c4ee9c90600 [2024-06-18 17:31:28] [6671a84d1d512] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"261fb891-2d75-401c-930e-4c4ee9c90600","acceptedAt":"2024-06-18T17:31:28","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33616302175"},"from":"36034","body":{"text":"Thank you for the information. I will contact you soon to finalize the carpool details. I remain at your disposal. \nBest regards, \nAlfred","encoding":"GSM7","messagePartCount":1,"length":137},"status":{"deliveryDate":"2024-06-18T17:31:28","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/261fb891-2d75-401c-930e-4c4ee9c90600"} [2024-06-18 17:31:28] [6671a84d1d512] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 17:31:28] [6671a84d1d512] [DEBUG] Callback juste avant fin callBack [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] Callback main start ok [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] Callback Provider : SmsMode [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33672767859 Text: ITA [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] From: 33672767859|To: 38164|Date: 2024-06-18 17:56:30|Message: ITA [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] callback main apres while ok [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Phone Number 33672767859 is available ! [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] Service is enabled ? true [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Service 38164 is enabled ! [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] Listen is enabled ? false [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Listen 38164 is disabled ! [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] BDD CheckNumber : OK [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Callback SMS Count =? 8 [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] Callback checkMessage : ITA -- text: ITA [2024-06-18 17:56:30] [6671ae2e70fc9] [INFO] CallBack CheckLastMessage: le callback a renvoyé le meme SMS - annulation de l'appel [2024-06-18 17:56:30] [6671ae2e70fc9] [DEBUG] Callback juste avant fin callBack [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Callback main start ok [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Callback Provider : Octopush [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Callback main avant while ok [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Fields : channel=sms&text=ITA&reception_date=2024-06-18 18:01:32&metadata[number]=+33608678465&metadata[sim_card_number]=+33755517567 [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Callback SMS entrant sur sim_card: +33755517567 depuis Number (user): +33608678465 Text: ITA [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] From: +33608678465|To: +33755517567|Date: 2024-06-18 18:01:32|Message: ITA [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] callback main apres while ok [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Phone Number +33608678465 is available ! [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Service is enabled ? true [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Service +33755517567 is enabled ! [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Listen is enabled ? false [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Listen +33755517567 is disabled ! [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] callback main sim_card_number CORRECT : +33755517567 début d'interpretation du message [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] BDD CheckNumber : la table est vide [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Callback ******** NOUVEL Utilisateur ****** [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] BDD CreateNumber : Nouveau numero ajouté : +33608678465 [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'ITA' [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] Callback Q1: l'event est Michelin EA [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] BDD BddMaj : Event mis à jour. Valeur: 'Michelin EA via sms' [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] BDD BddMaj : event_id mis à jour. Valeur: '16' [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 9cdf4b28-7316-4d03-be81-caea0e051c21 [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"9cdf4b28-7316-4d03-be81-caea0e051c21","acceptedAt":"2024-06-18T18:01:35","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Château de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)","encoding":"GSM7","messagePartCount":2,"length":217},"status":{"deliveryDate":"2024-06-18T18:01:35","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/9cdf4b28-7316-4d03-be81-caea0e051c21"} [2024-06-18 18:01:35] [6671af5f3ea8d] [INFO] BDD BddMaj : sender mis à jour. Valeur: '36034' [2024-06-18 18:01:35] [6671af5f3ea8d] [DEBUG] Callback juste avant fin callBack [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] Callback main start ok [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] Callback Provider : SmsMode [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: Yes [2024-06-18 18:59:55] [6671bd0be4065] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 18:59:55|Message: Yes [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] callback main apres while ok [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Phone Number 33608678465 is available ! [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] Service is enabled ? true [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Service 38164 is enabled ! [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] Listen is enabled ? false [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Listen 38164 is disabled ! [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 18:59:55] [6671bd0be4065] [DEBUG] BDD CheckNumber : OK [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Callback SMS Count =? 1 [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Callback checkMessage : ITA -- text: Yes [2024-06-18 18:59:55] [6671bd0be4065] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Event ID ? 16 [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Fetch event [2024-06-18 18:59:55] [6671bd0be4065] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 18:59:56] [6671bd0be4065] [DEBUG] [AUTOMATIC] Réponse Positive [2024-06-18 18:59:56] [6671bd0be4065] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 18:59:56] [6671bd0be4065] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : e17201d3-be30-4ba1-aae1-d3a6a5072019 [2024-06-18 18:59:56] [6671bd0be4065] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"e17201d3-be30-4ba1-aae1-d3a6a5072019","acceptedAt":"2024-06-18T18:59:56","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Great! Do you want to be a driver or a passenger? \n(Driver, passenger, no preference)","encoding":"GSM7","messagePartCount":1,"length":85},"status":{"deliveryDate":"2024-06-18T18:59:56","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/e17201d3-be30-4ba1-aae1-d3a6a5072019"} [2024-06-18 18:59:56] [6671bd0be4065] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 18:59:56] [6671bd0be4065] [DEBUG] Callback juste avant fin callBack [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] Callback main start ok [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] Callback Provider : SmsMode [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: A driver [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 19:00:03|Message: A driver [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] callback main apres while ok [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Phone Number 33608678465 is available ! [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] Service is enabled ? true [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Service 38164 is enabled ! [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] Listen is enabled ? false [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Listen 38164 is disabled ! [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] BDD CheckNumber : OK [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Callback SMS Count =? 2 [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Callback checkMessage : Yes -- text: A driver [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'A driver ' [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Event ID ? 16 [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Fetch event [2024-06-18 19:00:03] [6671bd1322d2d] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] début chatgpt [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] curl_init OK [2024-06-18 19:00:03] [6671bd1322d2d] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"A driver "}]} [2024-06-18 19:00:04] [6671bd1322d2d] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bWTbz9hH20E87DdSLcrmwjurD8qP", "object": "chat.completion", "created": 1718730003, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you. Will you be present all three days? (yes, no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 580, "completion_tokens": 16, "total_tokens": 596 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:04] [6671bd1322d2d] [DEBUG] Curl Closed OK [2024-06-18 19:00:04] [6671bd1322d2d] [INFO] Commun GPT Content: { "id": "chatcmpl-9bWTbz9hH20E87DdSLcrmwjurD8qP", "object": "chat.completion", "created": 1718730003, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you. Will you be present all three days? (yes, no)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 580, "completion_tokens": 16, "total_tokens": 596 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:04] [6671bd1322d2d] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 19:00:04] [6671bd1322d2d] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 20ede529-d722-4d5f-87e2-6adf1883ee84 [2024-06-18 19:00:04] [6671bd1322d2d] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"20ede529-d722-4d5f-87e2-6adf1883ee84","acceptedAt":"2024-06-18T19:00:04","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Thank you. Will you be present all three days? (yes, no)","encoding":"GSM7","messagePartCount":1,"length":56},"status":{"deliveryDate":"2024-06-18T19:00:04","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/20ede529-d722-4d5f-87e2-6adf1883ee84"} [2024-06-18 19:00:04] [6671bd1322d2d] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 19:00:04] [6671bd1322d2d] [DEBUG] Callback juste avant fin callBack [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] Callback main start ok [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] Callback Provider : SmsMode [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: Yes [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 19:00:13|Message: Yes [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] callback main apres while ok [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Phone Number 33608678465 is available ! [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] Service is enabled ? true [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Service 38164 is enabled ! [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] Listen is enabled ? false [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Listen 38164 is disabled ! [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] BDD CheckNumber : OK [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Callback SMS Count =? 3 [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Callback checkMessage : A driver -- text: Yes [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes' [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Event ID ? 16 [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Fetch event [2024-06-18 19:00:13] [6671bd1d800bf] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] début chatgpt [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] curl_init OK [2024-06-18 19:00:13] [6671bd1d800bf] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"A driver "},{"role":"assistant","content":"Thank you. Will you be present all three days? (yes, no)"},{"role":"user","content":"Yes"}]} [2024-06-18 19:00:14] [6671bd1d800bf] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bWTlIGPOW3vvKwnbSW2rLM1dCtE3", "object": "chat.completion", "created": 1718730013, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 605, "completion_tokens": 15, "total_tokens": 620 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:14] [6671bd1d800bf] [DEBUG] Curl Closed OK [2024-06-18 19:00:14] [6671bd1d800bf] [INFO] Commun GPT Content: { "id": "chatcmpl-9bWTlIGPOW3vvKwnbSW2rLM1dCtE3", "object": "chat.completion", "created": 1718730013, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "What is your departure location? (including local postal code - ZIP Code)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 605, "completion_tokens": 15, "total_tokens": 620 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:15] [6671bd1d800bf] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 19:00:15] [6671bd1d800bf] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : b6eb565d-1284-46f0-b171-2ba74ff5f25e [2024-06-18 19:00:15] [6671bd1d800bf] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"b6eb565d-1284-46f0-b171-2ba74ff5f25e","acceptedAt":"2024-06-18T19:00:15","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"What is your departure location? (including local postal code - ZIP Code)","encoding":"GSM7","messagePartCount":1,"length":73},"status":{"deliveryDate":"2024-06-18T19:00:15","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/b6eb565d-1284-46f0-b171-2ba74ff5f25e"} [2024-06-18 19:00:15] [6671bd1d800bf] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 19:00:15] [6671bd1d800bf] [DEBUG] Callback juste avant fin callBack [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] Callback main start ok [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] Callback Provider : SmsMode [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: Rue de billom - 63000 Clermont Ferrand [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 19:00:50|Message: Rue de billom - 63000 Clermont Ferrand [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] callback main apres while ok [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Phone Number 33608678465 is available ! [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] Service is enabled ? true [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Service 38164 is enabled ! [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] Listen is enabled ? false [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Listen 38164 is disabled ! [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] BDD CheckNumber : OK [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Callback SMS Count =? 4 [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Callback checkMessage : Yes -- text: Rue de billom - 63000 Clermont Ferrand [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Rue de billom - 63000 Clermont Ferrand ' [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Event ID ? 16 [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Fetch event [2024-06-18 19:00:50] [6671bd42d0aff] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] début chatgpt [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] curl_init OK [2024-06-18 19:00:50] [6671bd42d0aff] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"A driver "},{"role":"assistant","content":"Thank you. Will you be present all three days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"Rue de billom - 63000 Clermont Ferrand "}]} [2024-06-18 19:00:52] [6671bd42d0aff] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bWUNCXmCrLK9rfDFsYwTMP9ro6Qo", "object": "chat.completion", "created": 1718730051, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Are you returning to the same address? If not, what is your return, address?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 642, "completion_tokens": 18, "total_tokens": 660 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:52] [6671bd42d0aff] [DEBUG] Curl Closed OK [2024-06-18 19:00:52] [6671bd42d0aff] [INFO] Commun GPT Content: { "id": "chatcmpl-9bWUNCXmCrLK9rfDFsYwTMP9ro6Qo", "object": "chat.completion", "created": 1718730051, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Are you returning to the same address? If not, what is your return, address?" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 642, "completion_tokens": 18, "total_tokens": 660 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:00:52] [6671bd42d0aff] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 19:00:52] [6671bd42d0aff] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 1b6eb7a9-c531-4d40-9244-97ade5d9ed71 [2024-06-18 19:00:52] [6671bd42d0aff] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"1b6eb7a9-c531-4d40-9244-97ade5d9ed71","acceptedAt":"2024-06-18T19:00:52","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Are you returning to the same address? If not, what is your return, address?","encoding":"GSM7","messagePartCount":1,"length":76},"status":{"deliveryDate":"2024-06-18T19:00:52","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/1b6eb7a9-c531-4d40-9244-97ade5d9ed71"} [2024-06-18 19:00:52] [6671bd42d0aff] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 19:00:52] [6671bd42d0aff] [DEBUG] Callback juste avant fin callBack [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] Callback main start ok [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] Callback Provider : SmsMode [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: Yes [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 19:01:04|Message: Yes [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] callback main apres while ok [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Phone Number 33608678465 is available ! [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] Service is enabled ? true [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Service 38164 is enabled ! [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] Listen is enabled ? false [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Listen 38164 is disabled ! [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] BDD CheckNumber : OK [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Callback SMS Count =? 5 [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Callback checkMessage : Rue de billom - 63000 Clermont Ferrand -- text: Yes [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'Yes ' [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Event ID ? 16 [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Fetch event [2024-06-18 19:01:04] [6671bd501b1dc] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] début chatgpt [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] curl_init OK [2024-06-18 19:01:04] [6671bd501b1dc] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"A driver "},{"role":"assistant","content":"Thank you. Will you be present all three days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"Rue de billom - 63000 Clermont Ferrand "},{"role":"assistant","content":"Are you returning to the same address? If not, what is your return, address?"},{"role":"user","content":"Yes "}]} [2024-06-18 19:01:05] [6671bd501b1dc] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bWUaGLxQ9EzOYObbPU3mWUK5RKWD", "object": "chat.completion", "created": 1718730064, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 670, "completion_tokens": 18, "total_tokens": 688 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:01:05] [6671bd501b1dc] [DEBUG] Curl Closed OK [2024-06-18 19:01:05] [6671bd501b1dc] [INFO] Commun GPT Content: { "id": "chatcmpl-9bWUaGLxQ9EzOYObbPU3mWUK5RKWD", "object": "chat.completion", "created": 1718730064, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Do you have any special information to share? (Hotel, trip already organized, etc.)" }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 670, "completion_tokens": 18, "total_tokens": 688 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:01:05] [6671bd501b1dc] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 19:01:05] [6671bd501b1dc] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 4b5f088d-4568-45d5-88e9-4d78453f737a [2024-06-18 19:01:05] [6671bd501b1dc] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"4b5f088d-4568-45d5-88e9-4d78453f737a","acceptedAt":"2024-06-18T19:01:05","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Do you have any special information to share? (Hotel, trip already organized, etc.)","encoding":"GSM7","messagePartCount":1,"length":83},"status":{"deliveryDate":"2024-06-18T19:01:05","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/4b5f088d-4568-45d5-88e9-4d78453f737a"} [2024-06-18 19:01:05] [6671bd501b1dc] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 19:01:05] [6671bd501b1dc] [DEBUG] Callback juste avant fin callBack [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] Callback main start ok [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Callback ****** Nouveau SMS recu: ******** [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] Callback Provider : SmsMode [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Callback SMS entrant sur sim_card: 38164 depuis Number (user): 33608678465 Text: I can drive people on the way to the Chateau in the morning but I don't want to make any commitment for the way back in the evening [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] From: 33608678465|To: 38164|Date: 2024-06-18 19:03:51|Message: I can drive people on the way to the Chateau in the morning but I don't want to make any commitment for the way back in the evening [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] callback main apres while ok [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Phone Number 33608678465 is available ! [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] Service is enabled ? true [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Service 38164 is enabled ! [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] Listen is enabled ? false [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Listen 38164 is disabled ! [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] callback main sim_card_number CORRECT : 38164 début d'interpretation du message [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] BDD CheckNumber : OK [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Callback SMS Count =? 6 [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Callback checkMessage : Yes -- text: I can drive people on the way to the Chateau in the morning but I don't want to make any commitment for the way back in the evening [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] BDD BddMaj : LastMessage mis à jour. Valeur: 'I can drive people on the way to the Chateau in the morning but I don\'t want to make any commitment for the way back in the evening ' [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Event ID ? 16 [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Fetch event [2024-06-18 19:03:52] [6671bdf8176c5] [INFO] Event name : 2 - Michelin EA - Architects Network Seminar 2024 [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] début chatgpt [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] curl_init OK [2024-06-18 19:03:52] [6671bdf8176c5] [DEBUG] [CHAT GPT] Commun JsonMessage : {"model":"gpt-4-turbo","response_format":{"type":"text"},"messages":[{"role":"system","content":"Vous \u00eates Alfred, un organisateur de covoiturage bilingue (anglais-fran\u00e7ais) pour le s\u00e9minaire \"Architects Network Seminar 2024\" au Ch\u00e2teau de Chignat, Vertaizon (63910), du mardi 25 juin 2024 au vendredi 27 juin 2024 (l'\u00e9v\u00e8nement est sur trois jours). Nous communiquons par SMS avec un maximum de 160 caract\u00e8res par message. Utilisez le vouvoiement et soyez poli. Si je refuse le covoiturage, la conversation s\u2019arr\u00eate poliment. R\u00e9pondez en anglais si je vous parle en anglais. Vous \u00eates un assistant mobilit\u00e9, \u00e9vitez les d\u00e9tails sur le fonctionnement de votre service.\r\nCollectez les informations suivantes :\r\n-pr\u00e9sence (Pr\u00e9sent tous les jours de l'\u00e9v\u00e8nement ou non).\r\n-R\u00f4le dans le covoiturage (conducteur, passager).\r\n-Adresse de d\u00e9part (avec code postal).\r\n-Informations particuli\u00e8res (nom d'h\u00f4tel, covoiturage d\u00e9j\u00e0 organis\u00e9, etc.).\r\n\r\nQuestions en fran\u00e7ais :\r\n\"Souhaitez-vous \u00eatre conducteur ou passager? (conducteur, passager, peu importe)\"\r\n\"Serez-vous pr\u00e9sent les trois jours? (oui, non)\"\r\n\"Quelle est votre adresse de d\u00e9part? (avec code postal)\"\r\n\"Revenez-vous \u00e0 la m\u00eame adresse? Si non, quelle est votre adresse de retour?\"\r\n\"Avez-vous des informations particuli\u00e8res \u00e0 partager? (H\u00f4tel, trajet d\u00e9j\u00e0 organis\u00e9, etc.)\"\r\nQuestions en anglais :\r\n\"Do you want to be a driver or a passenger? (Driver, passenger, no preference)\"\r\n\"Will you be present all three days? (yes,no)\"\r\n\"What is your departure location? (including local postal code - ZIP Code)\"\r\n\"Are you returning to the same address? If not, what is your return address?\"\r\n\"Do you have any special information to share? (Hotel, trip already organized, etc.)\"\r\n\r\nUne fois toutes les informations collect\u00e9s vous r\u00e9pondrez que vous reprendrez contact rapidement et que vous restez \u00e0 ma disposition en signant \"Alfred\"."},{"role":"assistant","content":"Hello, I am Alfred the carpooling assistant for the \"Architects Network Seminar 2024\" event from Tuesday June 25 to Friday June 27 at Ch\u00e2teau de Chignat, Vertaizon. Would you like to use our free carpooling? (Yes, No)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"Great! Do you want to be a driver or a passenger? \r\n(Driver, passenger, no preference)"},{"role":"user","content":"A driver "},{"role":"assistant","content":"Thank you. Will you be present all three days? (yes, no)"},{"role":"user","content":"Yes"},{"role":"assistant","content":"What is your departure location? (including local postal code - ZIP Code)"},{"role":"user","content":"Rue de billom - 63000 Clermont Ferrand "},{"role":"assistant","content":"Are you returning to the same address? If not, what is your return, address?"},{"role":"user","content":"Yes "},{"role":"assistant","content":"Do you have any special information to share? (Hotel, trip already organized, etc.)"},{"role":"user","content":"I can drive people on the way to the Chateau in the morning but I don't want to make any commitment for the way back in the evening "}]} [2024-06-18 19:03:54] [6671bdf8176c5] [DEBUG] Commun GPT response: { "id": "chatcmpl-9bWXIQaKZuwCSpEAa52vEvXyua8ZE", "object": "chat.completion", "created": 1718730232, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. I will note that you are available to drive people to the Chateau in the morning. I will be in touch soon with more details and to finalize arrangements. If you have any questions, feel free to ask. Regards, Alfred." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 727, "completion_tokens": 53, "total_tokens": 780 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:03:54] [6671bdf8176c5] [DEBUG] Curl Closed OK [2024-06-18 19:03:54] [6671bdf8176c5] [INFO] Commun GPT Content: { "id": "chatcmpl-9bWXIQaKZuwCSpEAa52vEvXyua8ZE", "object": "chat.completion", "created": 1718730232, "model": "gpt-4-turbo-2024-04-09", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Thank you for the information. I will note that you are available to drive people to the Chateau in the morning. I will be in touch soon with more details and to finalize arrangements. If you have any questions, feel free to ask. Regards, Alfred." }, "logprobs": null, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 727, "completion_tokens": 53, "total_tokens": 780 }, "system_fingerprint": "fp_9d7f5c6195" } [2024-06-18 19:03:54] [6671bdf8176c5] [DEBUG] [SMS] HTTP Code : 201 [2024-06-18 19:03:54] [6671bdf8176c5] [INFO] [SMS][SMSMode] SMS envoyé avec succès id : 728df427-43dc-4580-8993-582fa68b621d [2024-06-18 19:03:54] [6671bdf8176c5] [DEBUG] [SMS][SMSMode] debug content : {"messageId":"728df427-43dc-4580-8993-582fa68b621d","acceptedAt":"2024-06-18T19:03:54","channel":{"channelId":"b7fc0522-5e5e-4f71-bae8-fa458b513d06","name":"transaction","type":"SMS","flow":"TRANSACTIONAL"},"type":"SMS","direction":"MT","recipient":{"to":"33608678465"},"from":"36034","body":{"text":"Thank you for the information. I will note that you are available to drive people to the Chateau in the morning. I will be in touch soon with more details and to finalize arrangements. If you have any questions, feel free to ask. Regards, Alfred.","encoding":"GSM7","messagePartCount":2,"length":246},"status":{"deliveryDate":"2024-06-18T19:03:54","value":"ENROUTE"},"callbackUrlStatus":"https://mobili.ovh/mobirecup5.0/callback_ar_smsmode.php","callbackUrlMo":"https://mobili.ovh/mobirecup5.0/callback.php","href":"https://rest.smsmode.com/sms/v1/messages/728df427-43dc-4580-8993-582fa68b621d"} [2024-06-18 19:03:54] [6671bdf8176c5] [INFO] BDD BddMaj sender : la table est vide [2024-06-18 19:03:54] [6671bdf8176c5] [DEBUG] Callback juste avant fin callBack