Update main.py
Browse files
main.py
CHANGED
@@ -565,18 +565,18 @@ async def construction_FCA(romeListArray,settings):
|
|
565 |
|
566 |
await cl.sleep(3)
|
567 |
await cl.Message(
|
568 |
-
author="Datapcc : 🌐🌐🌐",content="Fiche activité : " + activiteSingle + "\n\n" +
|
569 |
).send()
|
570 |
-
cl.user_session.set("FCA" + romeListArray[0],
|
571 |
-
cl.user_session.set("contextChatBot", ficheSynoptique + "\n" +
|
572 |
await cl.sleep(2)
|
573 |
actions = [
|
574 |
-
cl.Action(name="download", value=
|
575 |
]
|
576 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Télécharger la fiche", actions=actions).send()
|
577 |
await cl.sleep(2)
|
578 |
saves = [
|
579 |
-
cl.Action(name="saveToMemory", value=
|
580 |
]
|
581 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Mettre en mémoire la fiche", actions=saves).send()
|
582 |
await cl.sleep(2)
|
|
|
565 |
|
566 |
await cl.sleep(3)
|
567 |
await cl.Message(
|
568 |
+
author="Datapcc : 🌐🌐🌐",content="Fiche activité : " + activiteSingle + "\n\n" + completionFCA
|
569 |
).send()
|
570 |
+
cl.user_session.set("FCA" + romeListArray[0], completionFCA)
|
571 |
+
cl.user_session.set("contextChatBot", ficheSynoptique + "\n" + completionFCA)
|
572 |
await cl.sleep(2)
|
573 |
actions = [
|
574 |
+
cl.Action(name="download", value=completionFCA, description="download_fiche_activite")
|
575 |
]
|
576 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Télécharger la fiche", actions=actions).send()
|
577 |
await cl.sleep(2)
|
578 |
saves = [
|
579 |
+
cl.Action(name="saveToMemory", value=completionFCA, description="Mettre en mémoire la fiche")
|
580 |
]
|
581 |
await cl.Message(author="Datapcc : 🌐🌐🌐",content="Mettre en mémoire la fiche", actions=saves).send()
|
582 |
await cl.sleep(2)
|