Spaces:
Running
Running
Upload rag.py
#6
by
AwaMbaye
- opened
- .dockerignore +0 -11
- .gitattributes +0 -3
- .gitignore +2 -3
- .streamlit/.env +1 -0
- .streamlit/config.toml +0 -8
- AnalyseActionsRSE.py +33 -102
- DATA_bziiit/vectorstore_op/index.faiss +0 -3
- DATA_bziiit/vectorstore_op/index.pkl +0 -3
- Dockerfile +0 -34
- ODD.py +0 -90
- RAG_PDF.py +0 -77
- RAG_PDF_WEB.py +0 -234
- README.md +6 -5
- app.py +15 -80
- chart.png +0 -0
- chat_te.py +0 -127
- chat_with_pps.py +0 -437
- collaborons.py +0 -1
- comparateur.py +0 -54
- data_manager_bziiit.py +0 -16
- documentations.py +2 -2
- download_chart.py +0 -124
- emissions.csv +0 -0
- empreinte_carbone.py +0 -120
- empreinte_export.py +0 -172
- export_doc.py +0 -242
- feuille.svg +0 -3
- footer.html +0 -59
- high_chart.py +0 -201
- htmlTemplates.py +0 -44
- packages.txt +0 -2
- partie_prenante_carte.py +0 -490
- partiesprenantes.py +0 -1
- prompt.py +0 -135
- rag.py +71 -0
- rag_funcs.py +0 -14
- requirements.txt +1 -31
- session.py +0 -31
- st_hc/__init__.py +0 -2562
- st_hc/frontend/index.html +0 -36
- st_hc/frontend/main.js +0 -42
- st_hc/frontend/streamlit-component-lib.js +0 -34
- st_hc/frontend/style.css +0 -9
- temp.html +0 -310
.dockerignore
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
__pycache__/
|
2 |
-
*.pyc
|
3 |
-
*.pyo
|
4 |
-
*.pyd
|
5 |
-
.Python
|
6 |
-
env/
|
7 |
-
venv/
|
8 |
-
.git
|
9 |
-
.dockerignore
|
10 |
-
Dockerfile
|
11 |
-
*.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gitattributes
CHANGED
@@ -33,6 +33,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
-
DATA_bziiit/op.pdf filter=lfs diff=lfs merge=lfs -text
|
37 |
-
DATA_bziiit/vectorstore_op/index.faiss filter=lfs diff=lfs merge=lfs -text
|
38 |
-
*.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
.gitignore
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
__pycache__/
|
2 |
-
.streamlit
|
3 |
-
|
4 |
-
.env
|
|
|
1 |
__pycache__/
|
2 |
+
.streamlit/secrets.toml
|
3 |
+
.streamlit/.env
|
|
.streamlit/.env
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
API_TOKEN_PERPLEXITYAI = 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
|
.streamlit/config.toml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
[server]
|
2 |
-
maxUploadSize = 5
|
3 |
-
|
4 |
-
[theme]
|
5 |
-
base="light"
|
6 |
-
primaryColor="#63abdf"
|
7 |
-
secondaryBackgroundColor="#fbf7f1"
|
8 |
-
textColor="#011166"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AnalyseActionsRSE.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
from ISO26000 import classify_actions_rse_ISO26000 as classify_iso26000
|
3 |
-
from ODD import classify_actions_rse_ODD as classify_odd
|
4 |
-
from impactscore import classify_actions_rse_IMPACTSCORE as classify_impactscore
|
5 |
from impactscore import classify_actions_rse_IMPACTSCORE as classify_impactscore
|
6 |
from data_manager import get_data
|
7 |
|
@@ -81,8 +79,39 @@ def display_analyse_actions_rse():
|
|
81 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
82 |
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
elif approach == "ODD Objectifs de Développement Durable (en cours de développement)":
|
85 |
-
|
86 |
data, total_hits = get_data()
|
87 |
|
88 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
@@ -117,95 +146,11 @@ def display_analyse_actions_rse():
|
|
117 |
|
118 |
st.markdown("""<small>Source AGENDA 2030 EN FRANCE : <a href="https://www.agenda-2030.fr/17-objectifs-de-developpement-durable/?" target="_blank">https://impactscore.fr/comprendre-limpact-score/</a></small>""", unsafe_allow_html=True)
|
119 |
|
120 |
-
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
121 |
-
|
122 |
-
pictograms = {
|
123 |
-
"Pas de pauvreté": "🏚️",
|
124 |
-
"Faim « Zéro »": "🌾",
|
125 |
-
"Bonne santé et bien-être": "🏥",
|
126 |
-
"Éducation de qualité": "🎓",
|
127 |
-
"Égalité entre les sexes": "⚧️",
|
128 |
-
"Eau propre et assainissement": "💧",
|
129 |
-
"Énergie propre et d'un coût abordable": "⚡",
|
130 |
-
"Travail décent et croissance économique": "👷",
|
131 |
-
"Industrie, innovation et infrastructure": "🏭",
|
132 |
-
"Inégalités réduites": "⚖️",
|
133 |
-
"Villes et communautés durables": "🏙️",
|
134 |
-
"Consommation et production responsables": "♻️",
|
135 |
-
"Lutte contre les changements climatiques": "🌍",
|
136 |
-
"Vie aquatique": "🐟",
|
137 |
-
"Vie terrestre": "🌳",
|
138 |
-
"Paix, justice et institutions efficaces": "⚖️",
|
139 |
-
"Partenariats pour la réalisation des objectifs": "🤝",
|
140 |
-
"Autres": "❓"
|
141 |
-
}
|
142 |
-
|
143 |
-
|
144 |
-
criteria_counts = classify_odd(data)
|
145 |
-
|
146 |
-
total_actions = 0
|
147 |
-
|
148 |
-
for category, actions in criteria_counts.items():
|
149 |
-
if category in pictograms:
|
150 |
-
st.subheader(f"{pictograms[category]} {category}")
|
151 |
-
else:
|
152 |
-
st.subheader(f"{pictograms['Autres']} Autres")
|
153 |
-
total_actions += len(actions)
|
154 |
-
for action in actions:
|
155 |
-
nom_entreprise = action.get('nom_courant_denomination', 'Information non disponible')
|
156 |
-
st.write(f"Entreprise : {action.get('name','N/A')}, Action RSE : {action.get('action_rse', 'N/A')}, Activité : {action.get('activity', 'N/A')}, Ville : {action.get('city', 'N/A')}")
|
157 |
-
|
158 |
-
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
159 |
-
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
160 |
-
|
161 |
-
### OBJECTIF DE DEVELOPPEMENT DURABLE ###
|
162 |
-
elif approach == "Impact Score (en cours de développement)":
|
163 |
-
# Récupérer les données depuis data_manager.py
|
164 |
-
data, total_hits = get_data()
|
165 |
-
|
166 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
167 |
|
168 |
-
st.markdown("""
|
169 |
-
🌳 **QU'EST-CE QUE L'IMPACT SCORE ?**
|
170 |
-
|
171 |
-
Ce référentiel commun et unique a été co-construit par 30 réseaux d’entreprises afin de publier en transparence leurs données d’impact, exigence européenne depuis 2024.
|
172 |
-
|
173 |
-
**COMMENT EST-IL STRUCTURÉE ?**
|
174 |
-
|
175 |
-
IMPACT SCORE repose sur 3 piliers essentiels :
|
176 |
-
|
177 |
-
- 🚫 LIMITATION DES EXTERNALITÉS NÉGATIVES
|
178 |
-
- 💡 PARTAGE DU POUVOIR ET DE LA VALEUR
|
179 |
-
- 🎯 STRATÉGIE À IMPACT
|
180 |
-
""")
|
181 |
-
|
182 |
-
|
183 |
-
st.markdown("""<small>Source MOUVEMENT IMPACT FRANCE : <a href="https://impactscore.fr/comprendre-limpact-score/" target="_blank">https://impactscore.fr/comprendre-limpact-score/</a></small>""", unsafe_allow_html=True)
|
184 |
-
|
185 |
-
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
186 |
-
|
187 |
-
pictograms = {
|
188 |
-
"Initiatives pour réduire l'empreinte carbone": "🌍",
|
189 |
-
"Amélioration des conditions de travail": "👷",
|
190 |
-
"Promotion du recyclage": "♻️",
|
191 |
-
"Autres": "❓"
|
192 |
-
}
|
193 |
-
|
194 |
criteria_counts = classify_impactscore(data)
|
195 |
|
196 |
-
total_actions =
|
197 |
-
|
198 |
-
for category, actions in criteria_counts.items():
|
199 |
-
if category in pictograms:
|
200 |
-
st.subheader(f"{pictograms[category]} {category}")
|
201 |
-
else:
|
202 |
-
st.subheader(f"{pictograms['Autres']} Autres")
|
203 |
-
total_actions += len(actions)
|
204 |
-
for action in actions:
|
205 |
-
nom_entreprise = action.get('nom_courant_denomination', 'Information non disponible')
|
206 |
-
st.write(f"Entreprise : {action.get('name','N/A')}, Action RSE : {action.get('action_rse', 'N/A')}, Activité : {action.get('activity', 'N/A')}, Ville : {action.get('city', 'N/A')}")
|
207 |
-
|
208 |
-
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
209 |
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
210 |
|
211 |
if approach == "Norme ISO 26000":
|
@@ -215,19 +160,5 @@ def display_analyse_actions_rse():
|
|
215 |
for category, count in synthesis_sorted.items():
|
216 |
st.write(f"{category}: {count} action(s) RSE")
|
217 |
|
218 |
-
if approach == "ODD Objectifs de Développement Durable (en cours de développement)":
|
219 |
-
st.subheader("Synthèse par catégorie ODD")
|
220 |
-
synthesis = {category: len(actions) for category, actions in criteria_counts.items()}
|
221 |
-
synthesis_sorted = dict(sorted(synthesis.items(), key=lambda item: item[1], reverse=True))
|
222 |
-
for category, count in synthesis_sorted.items():
|
223 |
-
st.write(f"{category}: {count} action(s) RSE")
|
224 |
-
|
225 |
-
if approach == "Impact Score (en cours de développement)":
|
226 |
-
st.subheader("Synthèse par catégorie ODD")
|
227 |
-
synthesis = {category: len(actions) for category, actions in criteria_counts.items()}
|
228 |
-
synthesis_sorted = dict(sorted(synthesis.items(), key=lambda item: item[1], reverse=True))
|
229 |
-
for category, count in synthesis_sorted.items():
|
230 |
-
st.write(f"{category}: {count} action(s) RSE")
|
231 |
-
|
232 |
if __name__ == "__main__":
|
233 |
display_analyse_actions_rse()
|
|
|
1 |
import streamlit as st
|
2 |
from ISO26000 import classify_actions_rse_ISO26000 as classify_iso26000
|
|
|
|
|
3 |
from impactscore import classify_actions_rse_IMPACTSCORE as classify_impactscore
|
4 |
from data_manager import get_data
|
5 |
|
|
|
79 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
80 |
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
81 |
|
82 |
+
elif approach == "Impact Score (en cours de développement)":
|
83 |
+
# Récupérer les données depuis data_manager.py
|
84 |
+
data, total_hits = get_data()
|
85 |
+
|
86 |
+
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
87 |
+
|
88 |
+
st.markdown("""
|
89 |
+
🌳 **QU'EST-CE QUE L'IMPACT SCORE ?**
|
90 |
+
|
91 |
+
Ce référentiel commun et unique a été co-construit par 30 réseaux d’entreprises afin de publier en transparence leurs données d’impact, exigence européenne depuis 2024.
|
92 |
+
|
93 |
+
**COMMENT EST-IL STRUCTURÉE ?**
|
94 |
+
|
95 |
+
IMPACT SCORE repose sur 3 piliers essentiels :
|
96 |
+
|
97 |
+
- 🚫 LIMITATION DES EXTERNALITÉS NÉGATIVES
|
98 |
+
- 💡 PARTAGE DU POUVOIR ET DE LA VALEUR
|
99 |
+
- 🎯 STRATÉGIE À IMPACT
|
100 |
+
""")
|
101 |
+
|
102 |
+
|
103 |
+
st.markdown("""<small>Source MOUVEMENT IMPACT FRANCE : <a href="https://impactscore.fr/comprendre-limpact-score/" target="_blank">https://impactscore.fr/comprendre-limpact-score/</a></small>""", unsafe_allow_html=True)
|
104 |
+
|
105 |
+
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
106 |
+
|
107 |
+
criteria_counts = classify_impactscore(data)
|
108 |
+
|
109 |
+
total_actions = sum([len(actions) for actions in criteria_counts.values()])
|
110 |
+
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
111 |
+
|
112 |
+
### OBJECTIF DE DEVELOPPEMENT DURABLE ###
|
113 |
elif approach == "ODD Objectifs de Développement Durable (en cours de développement)":
|
114 |
+
# Récupérer les données depuis data_manager.py
|
115 |
data, total_hits = get_data()
|
116 |
|
117 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
|
|
146 |
|
147 |
st.markdown("""<small>Source AGENDA 2030 EN FRANCE : <a href="https://www.agenda-2030.fr/17-objectifs-de-developpement-durable/?" target="_blank">https://impactscore.fr/comprendre-limpact-score/</a></small>""", unsafe_allow_html=True)
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
st.markdown("""<hr style='border-color: darkgrey;'>""", unsafe_allow_html=True)
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
criteria_counts = classify_impactscore(data)
|
152 |
|
153 |
+
total_actions = sum([len(actions) for actions in criteria_counts.values()])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
st.markdown(f"**Total des actions RSE :** {total_actions}")
|
155 |
|
156 |
if approach == "Norme ISO 26000":
|
|
|
160 |
for category, count in synthesis_sorted.items():
|
161 |
st.write(f"{category}: {count} action(s) RSE")
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
if __name__ == "__main__":
|
164 |
display_analyse_actions_rse()
|
DATA_bziiit/vectorstore_op/index.faiss
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:0d308f98f3798328b0c1efdfb5ab5ade0e8b7b93f7f32ee439b54aa060879067
|
3 |
-
size 1228845
|
|
|
|
|
|
|
|
DATA_bziiit/vectorstore_op/index.pkl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7b492225278bd4ba23d11fe72fa16f8abd9a023babcc6734901740ba34fd0ba7
|
3 |
-
size 106874
|
|
|
|
|
|
|
|
Dockerfile
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
# Use the official lightweight Python image.
|
2 |
-
# https://hub.docker.com/_/python
|
3 |
-
FROM python:3.9-slim
|
4 |
-
|
5 |
-
# Set environment variables
|
6 |
-
ENV PYTHONDONTWRITEBYTECODE 1
|
7 |
-
ENV PYTHONUNBUFFERED 1
|
8 |
-
|
9 |
-
# Create and set working directory
|
10 |
-
WORKDIR /app
|
11 |
-
|
12 |
-
RUN apt-get update \
|
13 |
-
&& apt-get install wkhtmltopdf -y \
|
14 |
-
&& mv /usr/bin/wkhtmltopdf /usr/local/bin/.
|
15 |
-
|
16 |
-
# Copy system package requirements file
|
17 |
-
COPY packages.txt .
|
18 |
-
|
19 |
-
RUN apt-get update
|
20 |
-
|
21 |
-
# Copy the application requirements file
|
22 |
-
COPY requirements.txt .
|
23 |
-
|
24 |
-
# Install Python dependencies
|
25 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
-
|
27 |
-
# Copy the application code
|
28 |
-
COPY . .
|
29 |
-
|
30 |
-
# Expose the Streamlit port
|
31 |
-
EXPOSE 8501
|
32 |
-
|
33 |
-
# Run Streamlit app
|
34 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ODD.py
DELETED
@@ -1,90 +0,0 @@
|
|
1 |
-
from data_manager import get_data
|
2 |
-
|
3 |
-
def classify_actions_rse_ODD(data):
|
4 |
-
data, _ = get_data() # Récupérer les données depuis data_manager.py
|
5 |
-
|
6 |
-
criteria = {
|
7 |
-
"Pas de pauvreté": [],
|
8 |
-
"Faim « Zéro »": [],
|
9 |
-
"Bonne santé et bien-être": [],
|
10 |
-
"Éducation de qualité": [],
|
11 |
-
"Égalité entre les sexes": [],
|
12 |
-
"Eau propre et assainissement": [],
|
13 |
-
"Énergie propre et d'un coût abordable": [],
|
14 |
-
"Travail décent et croissance économique": [],
|
15 |
-
"Industrie, innovation et infrastructure": [],
|
16 |
-
"Inégalités réduites": [],
|
17 |
-
"Villes et communautés durables": [],
|
18 |
-
"Consommation et production responsables": [],
|
19 |
-
"Lutte contre les changements climatiques": [],
|
20 |
-
"Vie aquatique": [],
|
21 |
-
"Vie terrestre": [],
|
22 |
-
"Paix, justice et institutions efficaces": [],
|
23 |
-
"Partenariats pour la réalisation des objectifs": [],
|
24 |
-
"Autres": []
|
25 |
-
}
|
26 |
-
|
27 |
-
|
28 |
-
# Keywords for each ISO 26000 category to help in classifying the actions
|
29 |
-
keywords = {
|
30 |
-
"Pas de pauvreté": ["pauvreté", "aide financière", "microcrédit", "inclusion financière", "projets anti-pauvreté", "programmes de soutien", "subventions sociales", "initiatives d'entreprenariat"],
|
31 |
-
"Faim « Zéro »": ["faim", "sécurité alimentaire", "nutrition", "agriculture durable", "programmes de nutrition", "alimentation scolaire", "agroécologie", "technologies agricoles"],
|
32 |
-
"Bonne santé et bien-être": ["santé", "bien-être", "vaccination", "hôpitaux", "soins médicaux", "prévention des maladies", "santé mentale", "accès aux soins"],
|
33 |
-
"Éducation de qualité": ["éducation", "scolarisation", "formation", "alphabétisation", "éducation pour tous", "technologie éducative", "programmes éducatifs", "qualité de l'enseignement"],
|
34 |
-
"Égalité entre les sexes": ["égalité des sexes", "droits des femmes", "empowerment des femmes", "lutte contre les violences de genre", "participation des femmes", "leadership féminin", "éducation des filles", "santé reproductive"],
|
35 |
-
"Eau propre et assainissement": ["eau propre", "assainissement", "accès à l'eau", "traitement de l'eau", "gestion des ressources en eau", "sanitation", "qualité de l'eau", "hygiène"],
|
36 |
-
"Énergie propre et d'un coût abordable": ["énergie renouvelable", "énergie propre", "efficacité énergétique", "technologies énergétiques", "accès à l'énergie", "énergie solaire", "énergie éolienne", "infrastructures énergétiques"],
|
37 |
-
"Travail décent et croissance économique": ["emploi", "droits du travail", "croissance économique", "entreprise responsable", "économie inclusive", "emploi de qualité", "conditions de travail équitables", "sécurité de l'emploi"],
|
38 |
-
"Industrie, innovation et infrastructure": ["industrie", "innovation", "infrastructure", "technologie", "recherche et développement", "industrialisation durable", "innovation technologique", "infrastructures résilientes"],
|
39 |
-
"Inégalités réduites": ["réduction des inégalités", "inclusion sociale", "équité", "justice sociale", "accès équitable", "droits de l'homme", "intégration sociale", "lutte contre la discrimination"],
|
40 |
-
"Villes et communautés durables": ["urbanisme durable", "communautés résilientes", "transports publics", "éco-quartiers", "développement urbain", "mobilité urbaine", "gestion urbaine", "logement abordable"],
|
41 |
-
"Consommation et production responsables": ["consommation durable", "production durable", "économie circulaire", "recyclage", "gestion des déchets", "consommation éthique", "réduction de l'empreinte écologique", "sourcing responsable"],
|
42 |
-
"Lutte contre les changements climatiques": ["changements climatiques", "atténuation", "adaptation au climat", "réduction des émissions", "politiques climatiques", "énergies vertes", "carboneutralité", "initiatives climatiques"],
|
43 |
-
"Vie aquatique": ["océans", "mers", "conservation marine", "pêche durable", "biodiversité marine", "écosystèmes marins", "protection des habitats marins", "lutte contre la pollution marine"],
|
44 |
-
"Vie terrestre": ["biodiversité terrestre", "conservation des forêts", "reforestation", "lutte contre la désertification", "protection de la faune", "aires protégées", "gestion durable des terres", "restauration des habitats"],
|
45 |
-
"Paix, justice et institutions efficaces": ["paix", "justice", "lutte contre la corruption", "institutions solides", "état de droit", "droits humains", "transparence gouvernementale", "accès à la justice"],
|
46 |
-
"Partenariats pour la réalisation des objectifs": ["partenariats mondiaux", "coopération internationale", "mobilisation des ressources", "alignement des politiques", "collaboration multisectorielle", "coopération transfrontalière", "engagement des parties prenantes", "synergies globales"]
|
47 |
-
}
|
48 |
-
|
49 |
-
keywords = {
|
50 |
-
"Pas de pauvreté": ["pauvreté", "aide financière", "microcrédit", "inclusion financière", "soutien économique", "subventions", "réduction de la pauvreté"],
|
51 |
-
"Faim « Zéro »": ["faim", "sécurité alimentaire", "nutrition", "agriculture durable", "aide alimentaire", "cultures résilientes"],
|
52 |
-
"Bonne santé et bien-être": ["santé", "bien-être", "vaccination", "hôpitaux", "soins médicaux", "prévention des maladies", "santé publique", "accès aux soins"],
|
53 |
-
"Éducation de qualité": ["éducation", "scolarisation", "formation", "alphabétisation", "accès à l'éducation", "qualité de l'enseignement"],
|
54 |
-
"Égalité entre les sexes": ["égalité des sexes", "droits des femmes", "empowerment des femmes", "égalité de genre", "lutte contre les discriminations de genre", "participation des femmes", "leadership féminin", "éducation des filles", "santé reproductive", "violences de genre","leadership féminin", "parité", "lutte contre le harcèlement sexuel", "programmes de mentorat pour femmes", "initiatives pour l'équité salariale", "soutien à l'entrepreneuriat féminin", "formation sur la diversité", "sensibilisation au genre", "promotion de la diversité", "inclusion de genre"],
|
55 |
-
"Eau propre et assainissement": ["eau propre", "assainissement", "accès à l'eau", "traitement de l'eau", "gestion durable de l'eau"],
|
56 |
-
"Énergie propre et d'un coût abordable": ["énergie renouvelable", "énergie propre", "efficacité énergétique", "énergie solaire", "énergie éolienne", "réduction de la consommation énergétique"],
|
57 |
-
"Travail décent et croissance économique": ["emploi", "droits du travail", "croissance économique", "entreprise responsable", "travail décent", "conditions de travail", "économie inclusive"],
|
58 |
-
"Industrie, innovation et infrastructure": ["industrie", "innovation", "infrastructure", "technologie", "innovation industrielle", "développement durable industriel"],
|
59 |
-
"Inégalités réduites": ["réduction des inégalités", "inclusion sociale", "équité", "justice sociale", "égalité des chances"],
|
60 |
-
"Villes et communautés durables": ["urbanisme durable", "communautés résilientes", "transports publics", "développement urbain durable", "mobilité urbaine"],
|
61 |
-
"Consommation et production responsables": ["consommation durable", "production durable", "économie circulaire", "recyclage", "gestion des déchets", "réduction de l'empreinte carbone"],
|
62 |
-
"Lutte contre les changements climatiques": ["changements climatiques", "atténuation", "adaptation au climat", "réduction des émissions", "initiatives climatiques", "sobriété carbone"],
|
63 |
-
"Vie aquatique": ["océans", "mers", "conservation marine", "pêche durable", "biodiversité aquatique", "protection des écosystèmes marins"],
|
64 |
-
"Vie terrestre": ["biodiversité terrestre", "conservation des forêts", "reforestation", "protection des écosystèmes terrestres", "lutte contre la désertification"],
|
65 |
-
"Paix, justice et institutions efficaces": ["paix", "justice", "lutte contre la corruption", "institutions solides", "état de droit", "transparence", "accessibilité de la justice"],
|
66 |
-
"Partenariats pour la réalisation des objectifs": ["partenariats mondiaux", "coopération internationale", "engagement multi-acteurs", "collaboration stratégique", "synergie"]
|
67 |
-
}
|
68 |
-
|
69 |
-
#keywords.update(keywords_sdg)
|
70 |
-
|
71 |
-
for record in data:
|
72 |
-
action_rse = record.get("action_rse", "").lower()
|
73 |
-
company_info = {
|
74 |
-
"name": record.get("nom_courant_denomination", "N/A"),
|
75 |
-
"action_rse": action_rse,
|
76 |
-
"activity": record.get("libelle_section_naf", "N/A"),
|
77 |
-
"city": record.get("commune", "N/A")
|
78 |
-
}
|
79 |
-
found_category = False
|
80 |
-
for criterion, key_phrases in keywords.items():
|
81 |
-
if any(key_phrase in action_rse for key_phrase in key_phrases):
|
82 |
-
criteria[criterion].append(company_info)
|
83 |
-
found_category = True
|
84 |
-
break # Assuming each action belongs to one category only
|
85 |
-
|
86 |
-
# Si l'action n'a pas été classifiée dans une catégorie existante, la placer dans "Autres"
|
87 |
-
if not found_category:
|
88 |
-
criteria["Autres"].append(company_info)
|
89 |
-
|
90 |
-
return criteria
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RAG_PDF.py
DELETED
@@ -1,77 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from dotenv import load_dotenv
|
3 |
-
from PyPDF2 import PdfReader
|
4 |
-
from langchain.text_splitter import CharacterTextSplitter
|
5 |
-
from langchain_community.embeddings import HuggingFaceInstructEmbeddings
|
6 |
-
from langchain_community.vectorstores import FAISS
|
7 |
-
from langchain_community.chat_models import ChatOpenAI
|
8 |
-
from langchain.llms import HuggingFaceHub
|
9 |
-
from langchain import hub
|
10 |
-
from langchain_core.output_parsers import StrOutputParser
|
11 |
-
from langchain_core.runnables import RunnablePassthrough
|
12 |
-
import os
|
13 |
-
|
14 |
-
|
15 |
-
def get_pdf_text(pdf_docs):
|
16 |
-
text = ""
|
17 |
-
for pdf in pdf_docs:
|
18 |
-
pdf_reader = PdfReader(pdf)
|
19 |
-
for page in pdf_reader.pages:
|
20 |
-
text += page.extract_text()
|
21 |
-
return text
|
22 |
-
|
23 |
-
def get_text_chunks(text):
|
24 |
-
text_splitter = CharacterTextSplitter(
|
25 |
-
separator="\n",
|
26 |
-
chunk_size=500, # the character length of the chunck
|
27 |
-
chunk_overlap=100, # the character length of the overlap between chuncks
|
28 |
-
length_function=len # the length function - in this case, character length (aka the python len() fn.)
|
29 |
-
)
|
30 |
-
chunks = text_splitter.split_text(text)
|
31 |
-
return chunks
|
32 |
-
|
33 |
-
def get_vectorstore(text_chunks):
|
34 |
-
model_name = "hkunlp/instructor-xl"
|
35 |
-
hf = HuggingFaceInstructEmbeddings(model_name=model_name)
|
36 |
-
vectorstore = FAISS.from_texts(texts=text_chunks, embedding=hf)
|
37 |
-
return vectorstore
|
38 |
-
|
39 |
-
def get_conversation_chain(vectorstore):
|
40 |
-
llm = HuggingFaceHub(repo_id="mistralai/Mistral-7B-Instruct-v0.2",model_kwargs={"Temperature": 0.5, "MaxTokens": 1024})
|
41 |
-
retriever=vectorstore.as_retriever()
|
42 |
-
prompt = hub.pull("rlm/rag-prompt")
|
43 |
-
# Chain
|
44 |
-
rag_chain = (
|
45 |
-
{"context": retriever, "question": RunnablePassthrough()}
|
46 |
-
| prompt
|
47 |
-
| llm
|
48 |
-
)
|
49 |
-
response = rag_chain.invoke("A partir de documents PDF, concernant la transition écologique en France, proposer un plan de transition en fonction de la marque").split("\nAnswer:")[-1]
|
50 |
-
return response
|
51 |
-
|
52 |
-
def rag_pdf():
|
53 |
-
load_dotenv()
|
54 |
-
st.header("Utiliser l’IA pour générer un plan RSE simplifié")
|
55 |
-
|
56 |
-
if "conversation" not in st.session_state:
|
57 |
-
st.session_state.conversation = None
|
58 |
-
|
59 |
-
|
60 |
-
with st.sidebar:
|
61 |
-
st.subheader("INFOS SUR LA MARQUE")
|
62 |
-
pdf_docs = st.file_uploader("Upload les documents concerant la marque et clique sur process", type="pdf",accept_multiple_files=True)
|
63 |
-
if st.button("Process"):
|
64 |
-
with st.spinner("Processing..."):#loading bar to enhance user experience
|
65 |
-
#get pdf text in raw format
|
66 |
-
raw_text = get_pdf_text(pdf_docs)
|
67 |
-
|
68 |
-
#get text chunks
|
69 |
-
text_chunks = get_text_chunks(raw_text)
|
70 |
-
|
71 |
-
#create vectorstore
|
72 |
-
vectorstore = get_vectorstore(text_chunks)
|
73 |
-
|
74 |
-
#create conversation chain
|
75 |
-
st.session_state.conversation = get_conversation_chain(vectorstore)
|
76 |
-
|
77 |
-
st.write(st.session_state.conversation)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RAG_PDF_WEB.py
DELETED
@@ -1,234 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from dotenv import load_dotenv
|
3 |
-
from PyPDF2 import PdfReader
|
4 |
-
from langchain.text_splitter import CharacterTextSplitter
|
5 |
-
from langchain_community.embeddings import OpenAIEmbeddings
|
6 |
-
from langchain_community.vectorstores import FAISS
|
7 |
-
from langchain_community.chat_models import ChatOpenAI
|
8 |
-
from langchain.llms import HuggingFaceHub
|
9 |
-
from langchain import hub
|
10 |
-
from langchain_core.output_parsers import StrOutputParser
|
11 |
-
from langchain_core.runnables import RunnablePassthrough
|
12 |
-
from langchain_community.document_loaders import WebBaseLoader
|
13 |
-
import os
|
14 |
-
|
15 |
-
from session import set_rag
|
16 |
-
from partie_prenante_carte import complete_and_verify_url
|
17 |
-
|
18 |
-
def get_docs_from_website(urls):
|
19 |
-
loader = WebBaseLoader(urls, header_template={
|
20 |
-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
|
21 |
-
})
|
22 |
-
docs = loader.load()
|
23 |
-
return docs
|
24 |
-
|
25 |
-
def get_pdf_text(pdf_docs):
|
26 |
-
text = ""
|
27 |
-
for pdf in pdf_docs:
|
28 |
-
pdf_reader = PdfReader(pdf)
|
29 |
-
for page in pdf_reader.pages:
|
30 |
-
text += page.extract_text()
|
31 |
-
return text
|
32 |
-
|
33 |
-
def get_text_chunks(text):
|
34 |
-
text_splitter = CharacterTextSplitter(
|
35 |
-
separator="\n",
|
36 |
-
chunk_size=1000, # the character length of the chunck
|
37 |
-
chunk_overlap=200, # the character length of the overlap between chuncks
|
38 |
-
length_function=len # the length function - in this case, character length (aka the python len() fn.)
|
39 |
-
)
|
40 |
-
chunks = text_splitter.split_text(text)
|
41 |
-
return chunks
|
42 |
-
|
43 |
-
def get_doc_chunks(docs):
|
44 |
-
# Split the loaded data
|
45 |
-
text_splitter = CharacterTextSplitter(separator='\n',
|
46 |
-
chunk_size=500,
|
47 |
-
chunk_overlap=40)
|
48 |
-
|
49 |
-
docs = text_splitter.split_documents(docs)
|
50 |
-
return docs
|
51 |
-
|
52 |
-
def get_vectorstore_from_docs(doc_chunks):
|
53 |
-
embedding = OpenAIEmbeddings(model="text-embedding-3-small")
|
54 |
-
vectorstore = FAISS.from_documents(documents=doc_chunks, embedding=embedding)
|
55 |
-
return vectorstore
|
56 |
-
|
57 |
-
def get_vectorstore(text_chunks):
|
58 |
-
embedding = OpenAIEmbeddings(model="text-embedding-3-small")
|
59 |
-
vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embedding)
|
60 |
-
return vectorstore
|
61 |
-
|
62 |
-
def get_conversation_chain(vectorstore):
|
63 |
-
llm = ChatOpenAI(model="gpt-3.5-turbo",temperature=0.5, max_tokens=2048)
|
64 |
-
retriever=vectorstore.as_retriever()
|
65 |
-
prompt = hub.pull("rlm/rag-prompt")
|
66 |
-
|
67 |
-
# Chain
|
68 |
-
rag_chain = (
|
69 |
-
{"context": retriever , "question": RunnablePassthrough()}
|
70 |
-
| prompt
|
71 |
-
| llm
|
72 |
-
)
|
73 |
-
return rag_chain
|
74 |
-
|
75 |
-
def verify_and_complete_urls(urls):
|
76 |
-
for i in range(len(urls)):
|
77 |
-
is_valid, urls[i] = complete_and_verify_url(urls[i])
|
78 |
-
return urls
|
79 |
-
|
80 |
-
def rag_pdf_web():
|
81 |
-
|
82 |
-
load_dotenv()
|
83 |
-
st.header("INDIQUEZ VOS PAGES WEB ET/OU DOCUMENTS D’ENTREPRISE POUR AUDITER LE CONTENU RSE")
|
84 |
-
|
85 |
-
option = st.radio("Source", ("A partir de votre site web", "A partir de vos documents entreprise"))
|
86 |
-
|
87 |
-
vectorstore = None
|
88 |
-
chain = None
|
89 |
-
|
90 |
-
if option == "A partir de votre site web":
|
91 |
-
url1 = st.text_input("URL 1")
|
92 |
-
url2 = st.text_input("URL 2")
|
93 |
-
url3 = st.text_input("URL 3")
|
94 |
-
# Process the URLs
|
95 |
-
sous_options = st.radio("Choisissez votre sous-section", ("Ambition, Vision, Missions, Valeurs", "3 piliers de la démarche RSE"))
|
96 |
-
try:
|
97 |
-
if st.button("Process"):
|
98 |
-
with st.spinner("Processing..."):
|
99 |
-
#get text from the website
|
100 |
-
urls = [url1, url2, url3]
|
101 |
-
filtered_urls = [url for url in urls if url]
|
102 |
-
|
103 |
-
#verify and complete urls
|
104 |
-
filtered_urls = verify_and_complete_urls(filtered_urls)
|
105 |
-
|
106 |
-
#get text from the website
|
107 |
-
docs = get_docs_from_website(filtered_urls)
|
108 |
-
|
109 |
-
#get text chunks
|
110 |
-
text_chunks = get_doc_chunks(docs)
|
111 |
-
|
112 |
-
#create vectorstore
|
113 |
-
vectorstore = get_vectorstore_from_docs(text_chunks)
|
114 |
-
|
115 |
-
chain = get_conversation_chain(vectorstore)
|
116 |
-
|
117 |
-
if sous_options == "Ambition, Vision, Missions, Valeurs":
|
118 |
-
# question = '''voici les 4 points à génerer absolument, pas de reponse comme je ne sais pas; et n'oublie aucun des points , chaque paragraphe doit être de minimum 150 caractères:
|
119 |
-
# \n
|
120 |
-
# ### Ambition : \n
|
121 |
-
# Quelle est l'ambition de l'entreprise ? (répondre avec maximum 250 caractères)
|
122 |
-
# \n
|
123 |
-
# ### Vision : \n
|
124 |
-
# Quelle est la vision de l'entreprise ? (répondre avec maximum 250 caractères)
|
125 |
-
# \n
|
126 |
-
# ### Missions : \n
|
127 |
-
# Quelles sont les missions de l'entreprise ? (répondre avec maximum 250 caractères)
|
128 |
-
# \n
|
129 |
-
# renvoie ta réponse en markdown et bien formatée'''
|
130 |
-
# response = chain.invoke(question)
|
131 |
-
# st.markdown(response.content)
|
132 |
-
|
133 |
-
#ambition
|
134 |
-
ambition = chain.invoke("Quelle est l'ambition de l'entreprise ? (répondre avec maximum 250 caractères)")
|
135 |
-
st.markdown("### Ambition :")
|
136 |
-
st.markdown(ambition.content)
|
137 |
-
|
138 |
-
#vision
|
139 |
-
ambition = chain.invoke(" Quelle est la vision de l'entreprise ? (répondre avec maximum 250 caractères)")
|
140 |
-
st.markdown("### Vision :")
|
141 |
-
st.markdown(ambition.content)
|
142 |
-
|
143 |
-
#Mission
|
144 |
-
ambition = chain.invoke(" Quelle est la vision de l'entreprise ? (répondre avec maximum 250 caractères)")
|
145 |
-
st.markdown("### Mission :")
|
146 |
-
st.markdown(ambition.content)
|
147 |
-
|
148 |
-
#values
|
149 |
-
values = chain.invoke("Quels sont les valeurs de l'entreprise ? (répondre avec 10 mots maximum en bullet points)")
|
150 |
-
st.markdown("### Valeurs :")
|
151 |
-
st.markdown(values.content)
|
152 |
-
|
153 |
-
elif sous_options == "3 piliers de la démarche RSE":
|
154 |
-
question = ''' suggère nous les 3 piliers principaux de la démarche RSE pour cette entreprise. N'oublie aucun pilier RSE , ca doit avoir ce format :
|
155 |
-
\n
|
156 |
-
### le titre du pilier numero 1 \n
|
157 |
-
-la description du pilier (répondre avec maximum 250 caractères)
|
158 |
-
\n
|
159 |
-
- 2 indicateurs cibles pertinents à atteindre avec suggestion de valeur cible min, max
|
160 |
-
\n
|
161 |
-
### le titre du pilier numero 2 \n
|
162 |
-
-la description du pilier (répondre avec maximum 250 caractères)
|
163 |
-
\n
|
164 |
-
- 2 indicateurs cibles pertinents à atteindre avec suggestion de valeur cible min, max
|
165 |
-
\n
|
166 |
-
### le titre du pilier numero 3 \n
|
167 |
-
-la description du pilier (répondre avec maximum 250 caractères)
|
168 |
-
\n
|
169 |
-
- 2 indicateurs cibles pertinents à atteindre avec suggestion de valeur cible min, max
|
170 |
-
\n
|
171 |
-
renvoie ta réponse en markdown et bien formatée
|
172 |
-
'''
|
173 |
-
response = chain.invoke(question)
|
174 |
-
st.markdown(response.content)
|
175 |
-
except Exception as e:
|
176 |
-
st.error(f"Une erreur s'est produite : Url non valide ou problème de connexion à internet. Veuillez réessayer.")
|
177 |
-
|
178 |
-
if option == "A partir de vos documents entreprise":
|
179 |
-
pdf_docs = st.file_uploader("Upload les documents concernant la marque (maximum 3 fichiers de taille max de 5 Mo)", type="pdf", accept_multiple_files=True)
|
180 |
-
# Process the PDF documents
|
181 |
-
sous_options = st.radio("Choisissez votre sous-section", ("Ambition, Vision, Missions, Valeurs", "3 piliers de la démarche RSE"))
|
182 |
-
try:
|
183 |
-
if st.button("Process"):
|
184 |
-
with st.spinner("Processing..."):
|
185 |
-
#get pdf text in raw format
|
186 |
-
raw_text = get_pdf_text(pdf_docs)
|
187 |
-
|
188 |
-
#get text chunks
|
189 |
-
text_chunks = get_text_chunks(raw_text)
|
190 |
-
|
191 |
-
#create vectorstore
|
192 |
-
vectorstore = get_vectorstore(text_chunks)
|
193 |
-
|
194 |
-
chain = get_conversation_chain(vectorstore)
|
195 |
-
|
196 |
-
if sous_options == "Ambition, Vision, Missions, Valeurs":
|
197 |
-
|
198 |
-
#ambition
|
199 |
-
ambition = chain.invoke("Quelle est l'ambition de l'entreprise ? (répondre avec maximum 250 caractères)")
|
200 |
-
st.markdown("### Ambition :")
|
201 |
-
st.markdown(ambition.content)
|
202 |
-
|
203 |
-
#vision
|
204 |
-
ambition = chain.invoke(" Quelle est la vision de l'entreprise ? (répondre avec maximum 250 caractères)")
|
205 |
-
st.markdown("### Vision :")
|
206 |
-
st.markdown(ambition.content)
|
207 |
-
|
208 |
-
#Mission
|
209 |
-
ambition = chain.invoke(" Quelle est la vision de l'entreprise ? (répondre avec maximum 250 caractères)")
|
210 |
-
st.markdown("### Mission :")
|
211 |
-
st.markdown(ambition.content)
|
212 |
-
|
213 |
-
#values
|
214 |
-
values = chain.invoke("Quels sont les valeurs de l'entreprise ? (répondre avec 10 mots maximum en bullet points)")
|
215 |
-
st.markdown("### Valeurs :")
|
216 |
-
st.markdown(values.content)
|
217 |
-
|
218 |
-
elif sous_options == "3 piliers de la démarche RSE":
|
219 |
-
question = ''' suggère nous les 3 piliers principaux de la démarche RSE pour cette entreprise. Pour chaque pilier RSE doit avoir ce format :
|
220 |
-
\n
|
221 |
-
### le titre du ieme pilier \n
|
222 |
-
-la description du pilier (répondre avec maximum 250 caractères)
|
223 |
-
\n
|
224 |
-
- 2 indicateurs cibles pertinents à atteindre avec suggestion de valeur cible min, max
|
225 |
-
\n
|
226 |
-
renvoie ta réponse en markdown et bien formatée
|
227 |
-
'''
|
228 |
-
response = chain.invoke(question)
|
229 |
-
st.markdown(response.content)
|
230 |
-
except Exception as e:
|
231 |
-
st.error(f"Une erreur s'est produite : Pdf non valide ou problème de connexion à internet. Veuillez réessayer.")
|
232 |
-
|
233 |
-
if vectorstore and chain:
|
234 |
-
set_rag(vectorstore, chain)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: streamlit
|
7 |
-
sdk_version: 1.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: OpenData Projet RSE
|
3 |
+
emoji: 📈
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
+
sdk_version: 1.32.2
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
license: mit
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -8,9 +8,6 @@ from statistiques import main as display_statistics
|
|
8 |
from ActionsRSE import display_actions_rse
|
9 |
from AnalyseActionsRSE import display_analyse_actions_rse
|
10 |
from partiesprenantes import display_materiality_partiesprenantes
|
11 |
-
from partie_prenante_carte import display_pp
|
12 |
-
from codecarbon import EmissionsTracker
|
13 |
-
|
14 |
|
15 |
# Import modifiédes fonctions liées aux scripts
|
16 |
from projetRSE import display_rse_projects
|
@@ -19,44 +16,14 @@ from entreprises_labellisees import display_labelled_companies
|
|
19 |
from inspirezvous import *
|
20 |
from collaborons import display_company_selection_for_materiality,display_materiality_matrix
|
21 |
from documentations import display_documentation
|
22 |
-
from RAG_PDF_WEB import rag_pdf_web
|
23 |
-
from prompt import get_prompts_list,prompt_execution,execute_prompt
|
24 |
-
from chat_with_pps import display_chat
|
25 |
-
from high_chart import test_chart
|
26 |
-
from chat_te import display_chat_te
|
27 |
-
from empreinte_carbone import *
|
28 |
-
from comparateur import *
|
29 |
-
import base64
|
30 |
-
import pandas as pd
|
31 |
-
|
32 |
-
|
33 |
-
# Function to read and encode an SVG file to Base64
|
34 |
-
def load_svg_as_base64(file_path):
|
35 |
-
with open(file_path, "rb") as f:
|
36 |
-
svg_data = f.read()
|
37 |
-
return base64.b64encode(svg_data).decode()
|
38 |
|
39 |
def main():
|
40 |
-
|
41 |
-
if "emission" not in st.session_state:
|
42 |
-
tracker = EmissionsTracker()
|
43 |
-
tracker.start()
|
44 |
-
st.session_state["emission"] = tracker
|
45 |
-
|
46 |
-
if "partial_emissions" not in st.session_state:
|
47 |
-
st.session_state["partial_emissions"] = {
|
48 |
-
"Scrapping": {"cc": 0, "el": 0}, #cc for codecarbon , el for ecologits
|
49 |
-
"extraction_pp": {"cc": 0, "el": 0},
|
50 |
-
"cartographie": {"cc": 0, "el": 0},
|
51 |
-
"chatbot": {"cc": 0, "el": 0},
|
52 |
-
"download_rapport": {"cc": 0, "el": 0},
|
53 |
-
}
|
54 |
|
55 |
st.sidebar.title("OPEN DATA & IA au service de la RSE")
|
56 |
section_principale = st.sidebar.radio(
|
57 |
"Choisissez votre section",
|
58 |
-
["Data Bordeaux métropole", "Data bziiit","IA RSE","Documentation"]
|
59 |
-
index=2
|
60 |
)
|
61 |
|
62 |
if section_principale == "Data Bordeaux métropole":
|
@@ -93,62 +60,30 @@ def main():
|
|
93 |
elif section_principale == "IA RSE":
|
94 |
ia_mode = st.sidebar.radio(
|
95 |
"Choisissez votre sous-section",
|
96 |
-
[
|
97 |
-
"Audit flash RSE de vos contenus",
|
98 |
-
"Parties prenantes",
|
99 |
-
"Chatbot Parties Prenantes",
|
100 |
-
"Empreinte carbone détaillée",
|
101 |
-
# "Prompts RSE - TE",
|
102 |
-
# "Chatbot RSE - TE",
|
103 |
-
],
|
104 |
-
index=1
|
105 |
)
|
106 |
-
|
107 |
if ia_mode == "Parties prenantes":
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
# if selected_company:
|
118 |
-
# display_materiality_matrix(selected_company, data, bziiit_data)
|
119 |
-
|
120 |
-
elif ia_mode == "Chatbot Parties Prenantes":
|
121 |
-
display_chat()
|
122 |
-
|
123 |
-
elif ia_mode == "Audit flash RSE de vos contenus":
|
124 |
-
rag_pdf_web()
|
125 |
-
|
126 |
-
elif ia_mode == "Prompts RSE - TE":
|
127 |
-
get_prompts_list()
|
128 |
-
|
129 |
-
# elif ia_mode == "Générations de contenus RSE":
|
130 |
-
# st.header("Exécutez un prompt")
|
131 |
|
132 |
-
# selected_prompt = prompt_execution()
|
133 |
-
# if selected_prompt:
|
134 |
-
# execute_prompt(selected_prompt)
|
135 |
-
elif ia_mode == "Chatbot RSE - TE":
|
136 |
-
display_chat_te()
|
137 |
-
|
138 |
-
elif ia_mode == "Empreinte carbone détaillée":
|
139 |
-
display_carbon_footprint()
|
140 |
|
141 |
elif section_principale == "Documentation":
|
142 |
display_documentation()
|
143 |
|
144 |
-
|
145 |
-
st.sidebar.markdown("---")
|
146 |
-
display_cf_comparison(st.sidebar)
|
147 |
# Instructions communes à toutes les sections
|
148 |
st.sidebar.markdown("---")
|
149 |
st.sidebar.markdown("Powered by **bziiit IA RSE**")
|
150 |
st.sidebar.markdown("2024 : Open source en Licence MIT")
|
151 |
st.sidebar.markdown("[email protected]")
|
152 |
-
|
|
|
153 |
if __name__ == "__main__":
|
154 |
main()
|
|
|
8 |
from ActionsRSE import display_actions_rse
|
9 |
from AnalyseActionsRSE import display_analyse_actions_rse
|
10 |
from partiesprenantes import display_materiality_partiesprenantes
|
|
|
|
|
|
|
11 |
|
12 |
# Import modifiédes fonctions liées aux scripts
|
13 |
from projetRSE import display_rse_projects
|
|
|
16 |
from inspirezvous import *
|
17 |
from collaborons import display_company_selection_for_materiality,display_materiality_matrix
|
18 |
from documentations import display_documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
def main():
|
21 |
+
st.markdown(":point_left: Cliquez pour vous inspirer", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
st.sidebar.title("OPEN DATA & IA au service de la RSE")
|
24 |
section_principale = st.sidebar.radio(
|
25 |
"Choisissez votre section",
|
26 |
+
["Data Bordeaux métropole", "Data bziiit","IA RSE","Documentation"]
|
|
|
27 |
)
|
28 |
|
29 |
if section_principale == "Data Bordeaux métropole":
|
|
|
60 |
elif section_principale == "IA RSE":
|
61 |
ia_mode = st.sidebar.radio(
|
62 |
"Choisissez votre sous-section",
|
63 |
+
["Parties prenantes", "Matrice de matérialité"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
)
|
|
|
65 |
if ia_mode == "Parties prenantes":
|
66 |
+
data, bziiit_data = fetch_data()
|
67 |
+
selected_company = display_company_selection_for_materiality(data)
|
68 |
+
if selected_company:
|
69 |
+
display_materiality_partiesprenantes(selected_company, data, bziiit_data)
|
70 |
+
elif ia_mode == "Matrice de matérialité":
|
71 |
+
data, bziiit_data = fetch_data()
|
72 |
+
selected_company = display_company_selection_for_materiality(data)
|
73 |
+
if selected_company:
|
74 |
+
display_materiality_matrix(selected_company, data, bziiit_data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
elif section_principale == "Documentation":
|
78 |
display_documentation()
|
79 |
|
80 |
+
|
|
|
|
|
81 |
# Instructions communes à toutes les sections
|
82 |
st.sidebar.markdown("---")
|
83 |
st.sidebar.markdown("Powered by **bziiit IA RSE**")
|
84 |
st.sidebar.markdown("2024 : Open source en Licence MIT")
|
85 |
st.sidebar.markdown("[email protected]")
|
86 |
+
st.sidebar.markdown("---")
|
87 |
+
|
88 |
if __name__ == "__main__":
|
89 |
main()
|
chart.png
DELETED
Binary file (22.5 kB)
|
|
chat_te.py
DELETED
@@ -1,127 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from langchain_core.messages import AIMessage, HumanMessage
|
3 |
-
from langchain_community.chat_models import ChatOpenAI
|
4 |
-
from dotenv import load_dotenv
|
5 |
-
from langchain_core.output_parsers import StrOutputParser
|
6 |
-
from langchain_core.prompts import ChatPromptTemplate
|
7 |
-
from download_chart import construct_plot
|
8 |
-
from langchain_core.runnables import RunnablePassthrough
|
9 |
-
from langchain import hub
|
10 |
-
from langchain_core.prompts.prompt import PromptTemplate
|
11 |
-
from langchain_community.vectorstores import FAISS
|
12 |
-
from langchain_community.embeddings import OpenAIEmbeddings
|
13 |
-
from langchain_community.document_loaders import PyPDFLoader
|
14 |
-
from langchain_experimental.text_splitter import SemanticChunker
|
15 |
-
load_dotenv()
|
16 |
-
|
17 |
-
def get_docs_from_pdf(file):
|
18 |
-
loader = PyPDFLoader(file)
|
19 |
-
docs = loader.load_and_split()
|
20 |
-
return docs
|
21 |
-
|
22 |
-
def get_doc_chunks(docs):
|
23 |
-
text_splitter = SemanticChunker(OpenAIEmbeddings(model="text-embedding-3-small"))
|
24 |
-
chunks = text_splitter.split_documents(docs)
|
25 |
-
return chunks
|
26 |
-
|
27 |
-
def get_vectorstore_from_docs(doc_chunks):
|
28 |
-
embedding = OpenAIEmbeddings(model="text-embedding-3-small")
|
29 |
-
vectorstore = FAISS.from_documents(documents=doc_chunks, embedding=embedding)
|
30 |
-
return vectorstore
|
31 |
-
|
32 |
-
def get_conversation_chain(vectorstore):
|
33 |
-
llm = ChatOpenAI(model="gpt-4o",temperature=0.5, max_tokens=2048)
|
34 |
-
retriever=vectorstore.as_retriever()
|
35 |
-
|
36 |
-
prompt = hub.pull("rlm/rag-prompt")
|
37 |
-
# Chain
|
38 |
-
rag_chain = (
|
39 |
-
{"context": retriever , "question": RunnablePassthrough()}
|
40 |
-
| prompt
|
41 |
-
| llm
|
42 |
-
| StrOutputParser()
|
43 |
-
)
|
44 |
-
return rag_chain
|
45 |
-
|
46 |
-
def create_db(file):
|
47 |
-
# docs = get_docs_from_pdf(file)
|
48 |
-
# doc_chunks = get_doc_chunks(docs)
|
49 |
-
# vectorstore = get_vectorstore_from_docs(doc_chunks)
|
50 |
-
vectorstore = FAISS.load_local(file, OpenAIEmbeddings(model="text-embedding-3-small"),allow_dangerous_deserialization= True)
|
51 |
-
return vectorstore
|
52 |
-
|
53 |
-
def get_response(chain,user_query, chat_history):
|
54 |
-
|
55 |
-
template = """
|
56 |
-
Chat history: {chat_history}
|
57 |
-
User question: {user_question}
|
58 |
-
"""
|
59 |
-
|
60 |
-
|
61 |
-
question = ChatPromptTemplate.from_template(template)
|
62 |
-
question = question.format(chat_history=chat_history, user_question=user_query)
|
63 |
-
|
64 |
-
return chain.stream(question)
|
65 |
-
|
66 |
-
|
67 |
-
@st.dialog("Cast your vote")
|
68 |
-
def vote(item):
|
69 |
-
st.write(f"Why is {item} your favorite?")
|
70 |
-
reason = st.text_input("Because...")
|
71 |
-
if st.button("Submit"):
|
72 |
-
st.rerun()
|
73 |
-
|
74 |
-
def display_chat_te():
|
75 |
-
# app config
|
76 |
-
st.title("Chatbot")
|
77 |
-
|
78 |
-
# session state
|
79 |
-
if "chat_history_te" not in st.session_state:
|
80 |
-
st.session_state.chat_history_te = [
|
81 |
-
AIMessage(content="Salut, posez-moi vos question sur la transistion ecologique."),
|
82 |
-
]
|
83 |
-
if "chain" not in st.session_state:
|
84 |
-
db=create_db("./DATA_bziiit/vectorstore_op")
|
85 |
-
chain = get_conversation_chain(db)
|
86 |
-
st.session_state.chain = chain
|
87 |
-
|
88 |
-
# conversation
|
89 |
-
for message in st.session_state.chat_history_te:
|
90 |
-
if isinstance(message, AIMessage):
|
91 |
-
with st.chat_message("AI"):
|
92 |
-
st.write(message.content)
|
93 |
-
elif isinstance(message, HumanMessage):
|
94 |
-
with st.chat_message("Moi"):
|
95 |
-
st.write(message.content)
|
96 |
-
|
97 |
-
style = """
|
98 |
-
<style>
|
99 |
-
.css-ocqkz7 {
|
100 |
-
position: fixed;
|
101 |
-
bottom: 0;
|
102 |
-
width: 50%;
|
103 |
-
justify-content: center;
|
104 |
-
align-items: end;
|
105 |
-
margin-bottom: 0.5rem;
|
106 |
-
}
|
107 |
-
</style>
|
108 |
-
"""
|
109 |
-
# Inject the styling code for both elements
|
110 |
-
# st.markdown(style, unsafe_allow_html=True)
|
111 |
-
|
112 |
-
# # user input
|
113 |
-
# col1 , col2 = st.columns([1,8])
|
114 |
-
# if col1.button("chatbot"):
|
115 |
-
# vote("chatbot")
|
116 |
-
# with col2:
|
117 |
-
user_query = st.chat_input(placeholder="c'est quoi la transition écologique ?")
|
118 |
-
if user_query is not None and user_query != "":
|
119 |
-
st.session_state.chat_history_te.append(HumanMessage(content=user_query))
|
120 |
-
|
121 |
-
with st.chat_message("Moi"):
|
122 |
-
st.markdown(user_query)
|
123 |
-
|
124 |
-
with st.chat_message("AI"):
|
125 |
-
response = st.write_stream(get_response(st.session_state.chain,user_query, st.session_state.chat_history_te))
|
126 |
-
|
127 |
-
st.session_state.chat_history_te.append(AIMessage(content=response))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chat_with_pps.py
DELETED
@@ -1,437 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from langchain_core.messages import AIMessage, HumanMessage
|
3 |
-
from langchain_community.chat_models import ChatOpenAI
|
4 |
-
from dotenv import load_dotenv
|
5 |
-
from langchain_core.output_parsers import StrOutputParser
|
6 |
-
from langchain_core.prompts import ChatPromptTemplate
|
7 |
-
from langchain_mistralai.chat_models import ChatMistralAI
|
8 |
-
from download_chart import construct_plot
|
9 |
-
from prompt import get_prompts_list
|
10 |
-
from high_chart import test_chart
|
11 |
-
from export_doc import export_conversation,convert_pp_to_csv,get_conversation
|
12 |
-
import random
|
13 |
-
import pandas as pd
|
14 |
-
from codecarbon import EmissionsTracker
|
15 |
-
|
16 |
-
from ecologits.tracers.utils import compute_llm_impacts
|
17 |
-
import time
|
18 |
-
import itertools
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
load_dotenv()
|
23 |
-
def generate_random_color():
|
24 |
-
# Generate random RGB values
|
25 |
-
r = random.randint(0, 255)
|
26 |
-
g = random.randint(0, 255)
|
27 |
-
b = random.randint(0, 255)
|
28 |
-
|
29 |
-
# Convert RGB to hexadecimal
|
30 |
-
color_hex = '#{:02x}{:02x}{:02x}'.format(r, g, b)
|
31 |
-
|
32 |
-
return color_hex
|
33 |
-
|
34 |
-
def format_pp_add_viz(pp):
|
35 |
-
y = 50
|
36 |
-
x = 50
|
37 |
-
for i in range(len(st.session_state['pp_grouped'])):
|
38 |
-
if st.session_state['pp_grouped'][i]['y'] == y and st.session_state['pp_grouped'][i]['x'] == x:
|
39 |
-
y += 5
|
40 |
-
if y > 95:
|
41 |
-
y = 50
|
42 |
-
x += 5
|
43 |
-
if st.session_state['pp_grouped'][i]['name'] == pp:
|
44 |
-
return None
|
45 |
-
else:
|
46 |
-
st.session_state['pp_grouped'].append({'name':pp, 'x':x,'y':y, 'color':generate_random_color()})
|
47 |
-
|
48 |
-
|
49 |
-
def format_context(partie_prenante_grouped,marque):
|
50 |
-
context = "la marque est " + marque + ".\n"
|
51 |
-
context += f"Le nombre de parties prenantes est {len(partie_prenante_grouped)} et ils sont les suivantes:\n"
|
52 |
-
for i,partie_prenante in enumerate(partie_prenante_grouped):
|
53 |
-
context += f"{i}.{partie_prenante['name']} est une partie prenante de {marque} et a un pouvoir de {partie_prenante['y']}% et une influence de {partie_prenante['x']}%.\n"
|
54 |
-
|
55 |
-
segmentation = '''
|
56 |
-
Les parties prenantes sont segmentées en 4 catégories:
|
57 |
-
- Rendre satisfait: le pouvoir est entre 50 et 100 et l'influence est entre 0 et 50
|
58 |
-
- Gérer étroitement: le pouvoir est entre 50 et 100 et l'influence est entre 50 et 100
|
59 |
-
- Suivre de près: le pouvoir est entre 0 et 50 et l'influence est entre 0 et 50
|
60 |
-
- Tenir informé: le pouvoir est entre 0 et 50 et l'influence est entre 50 et 100
|
61 |
-
'''
|
62 |
-
|
63 |
-
context += segmentation
|
64 |
-
return context
|
65 |
-
|
66 |
-
|
67 |
-
def get_response(user_query, chat_history, context,llm=None,history_limit=5,stream=True):
|
68 |
-
|
69 |
-
template = """
|
70 |
-
Fournir des réponses, en francais, précises et contextuelles en agissant comme un expert en affaires, en utilisant le contexte des parties prenantes et leur pouvoir en pourcentage et leur influence en pourcentage pour expliquer les implications pour la marque. Le modèle doit connecter les informations du contexte et de l'historique de la conversation pour donner une réponse éclairée à la dernière question posée.
|
71 |
-
|
72 |
-
Contexte: {context}
|
73 |
-
|
74 |
-
Chat history: {chat_history}
|
75 |
-
|
76 |
-
User question: {user_question}
|
77 |
-
"""
|
78 |
-
|
79 |
-
prompt = ChatPromptTemplate.from_template(template)
|
80 |
-
|
81 |
-
#llm = ChatOpenAI(model="gpt-4o")
|
82 |
-
if not llm:
|
83 |
-
llm = ChatOpenAI(model="gpt-4o")
|
84 |
-
elif llm == "GPT-4o":
|
85 |
-
llm = ChatOpenAI(model="gpt-4o")
|
86 |
-
elif llm == "Mistral (FR)":
|
87 |
-
llm = ChatMistralAI(model_name="mistral-large-latest")
|
88 |
-
|
89 |
-
chain = prompt | llm
|
90 |
-
|
91 |
-
if not stream:
|
92 |
-
return chain.invoke({
|
93 |
-
"context": context,
|
94 |
-
"chat_history": chat_history[-history_limit:],
|
95 |
-
"user_question": user_query,
|
96 |
-
})
|
97 |
-
|
98 |
-
chain = chain | StrOutputParser()
|
99 |
-
|
100 |
-
if history_limit:
|
101 |
-
return chain.stream({
|
102 |
-
"context": context,
|
103 |
-
"chat_history": chat_history[-history_limit:],
|
104 |
-
"user_question": user_query,
|
105 |
-
})
|
106 |
-
|
107 |
-
return chain.stream({
|
108 |
-
"context": context,
|
109 |
-
"chat_history": chat_history,
|
110 |
-
"user_question": user_query,
|
111 |
-
})
|
112 |
-
|
113 |
-
|
114 |
-
def get_response_with_impact(user_query, chat_history, context,llm=None,history_limit=5,stream=True):
|
115 |
-
model_vs_provider = {
|
116 |
-
"Mistral (FR)": ["mistral-large-latest","mistralai"],
|
117 |
-
"GPT-4o": ["gpt-4o","openai"]
|
118 |
-
}
|
119 |
-
|
120 |
-
if not stream:
|
121 |
-
|
122 |
-
start = time.perf_counter()
|
123 |
-
response = get_response(user_query, chat_history, context,llm,history_limit,stream)
|
124 |
-
request_latency = time.perf_counter() - start
|
125 |
-
token_count = response.response_metadata["token_usage"]["completion_tokens"]
|
126 |
-
|
127 |
-
nbre_out_tokens = token_count
|
128 |
-
model_name = model_vs_provider[st.session_state.model][0]
|
129 |
-
model_provider = model_vs_provider[st.session_state.model][1]
|
130 |
-
|
131 |
-
impact = compute_llm_impacts(
|
132 |
-
provider=model_provider,
|
133 |
-
model_name=model_name,
|
134 |
-
output_token_count=nbre_out_tokens,
|
135 |
-
request_latency=request_latency,
|
136 |
-
)
|
137 |
-
|
138 |
-
print(f"Request latency: {request_latency:.3f} s")
|
139 |
-
print(f"Output token count: {nbre_out_tokens}")
|
140 |
-
print(f"Impact: {impact.gwp.value} {impact.gwp.unit}")
|
141 |
-
|
142 |
-
st.session_state["partial_emissions"]["chatbot"]["el"] += impact.gwp.value
|
143 |
-
|
144 |
-
return response.content
|
145 |
-
|
146 |
-
else:
|
147 |
-
start = time.perf_counter()
|
148 |
-
response_generator = get_response(user_query, chat_history, context,llm,history_limit,stream)
|
149 |
-
wrapped_response_generator, token_count_generator = itertools.tee(response_generator)
|
150 |
-
token_count = 0
|
151 |
-
|
152 |
-
final_response = st.write_stream(wrapped_response_generator)
|
153 |
-
|
154 |
-
request_latency = time.perf_counter() - start
|
155 |
-
|
156 |
-
for _ in token_count_generator:
|
157 |
-
token_count += 1
|
158 |
-
|
159 |
-
nbre_out_tokens = token_count
|
160 |
-
model_name = model_vs_provider[st.session_state.model][0]
|
161 |
-
model_provider = model_vs_provider[st.session_state.model][1]
|
162 |
-
|
163 |
-
|
164 |
-
impact = compute_llm_impacts(
|
165 |
-
provider=model_provider,
|
166 |
-
model_name=model_name,
|
167 |
-
output_token_count=nbre_out_tokens,
|
168 |
-
request_latency=request_latency,
|
169 |
-
)
|
170 |
-
|
171 |
-
print(f"Request latency: {request_latency:.3f} s")
|
172 |
-
print(f"Output token count: {nbre_out_tokens}")
|
173 |
-
print(f"Impact: {impact.gwp.value} {impact.gwp.unit}")
|
174 |
-
|
175 |
-
st.session_state["partial_emissions"]["chatbot"]["el"] += impact.gwp.value
|
176 |
-
|
177 |
-
return final_response
|
178 |
-
|
179 |
-
|
180 |
-
def display_chart():
|
181 |
-
if "pp_grouped" not in st.session_state or st.session_state['pp_grouped'] is None or len(st.session_state['pp_grouped']) == 0:
|
182 |
-
st.warning("Aucune partie prenante n'a été définie")
|
183 |
-
return None
|
184 |
-
plot = construct_plot()
|
185 |
-
st.plotly_chart(plot)
|
186 |
-
|
187 |
-
@st.dialog("Choisissez un prompt",width="large")
|
188 |
-
def show_prompts():
|
189 |
-
get_prompts_list()
|
190 |
-
if st.button("Fermer"):
|
191 |
-
st.rerun()
|
192 |
-
|
193 |
-
@st.dialog("Choisissez votre IA",width="small")
|
194 |
-
def choose_model(index):
|
195 |
-
|
196 |
-
model = st.radio("Choisissez votre IA", ["(US) ChatGpt 4.o","(FR) Mistral AI - Large (open source)"],index=index)
|
197 |
-
if model == "(FR) Mistral AI - Large (open source)":
|
198 |
-
st.session_state.model = "Mistral (FR)"
|
199 |
-
if model == "(US) ChatGpt 4.o":
|
200 |
-
st.session_state.model = "GPT-4o"
|
201 |
-
if st.button("Valider"):
|
202 |
-
st.rerun()
|
203 |
-
|
204 |
-
@st.dialog("Ma cartographie",width="large")
|
205 |
-
def disp_carto_in_chat():
|
206 |
-
if test_chart() == "saved":
|
207 |
-
st.rerun()
|
208 |
-
|
209 |
-
@st.dialog("Télécharger",width="small")
|
210 |
-
def dowmload_history(used_models=None):
|
211 |
-
brand_name = st.session_state['Nom de la marque']
|
212 |
-
|
213 |
-
format = st.radio("Choisissez le document à télécharger",[f"Rapport des parties prenantes (PDF)",f"Tableau des parties prenantes (CSV)",f"Historique de conversation (Fichier Texte)"],index=None)
|
214 |
-
if format == f"Rapport des parties prenantes (PDF)":
|
215 |
-
with st.spinner("Generation en cours..."):
|
216 |
-
summary = get_response("Donne moi un RESUME de la Conversation", st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model)
|
217 |
-
summary = ''.join(summary)
|
218 |
-
pdf = export_conversation(AIMessage(content=summary).content,used_models=used_models)
|
219 |
-
|
220 |
-
st.session_state["partial_emissions"]["download_rapport"]["cc"] = st.session_state["emission"].stop()
|
221 |
-
|
222 |
-
if pdf:
|
223 |
-
st.download_button("Télécharger le PDF", data=pdf, file_name=f"Cartographie {brand_name}.pdf", mime="application/pdf")
|
224 |
-
|
225 |
-
if format == f"Tableau des parties prenantes (CSV)":
|
226 |
-
csv = convert_pp_to_csv(st.session_state['pp_grouped'])
|
227 |
-
if csv:
|
228 |
-
st.download_button("Télécharger le CSV", data=csv, file_name=f"parties_prenantes -{brand_name}-.csv", mime="application/vnd.ms-excel")
|
229 |
-
|
230 |
-
if format == f"Historique de conversation (Fichier Texte)":
|
231 |
-
conv = get_conversation()
|
232 |
-
if not conv:
|
233 |
-
st.error("Une erreur s'est produite lors de la récupération de l'historique de conversation")
|
234 |
-
return None
|
235 |
-
else:
|
236 |
-
conversation = "\n".join([f"{entry['speaker']}:\n{entry['text']}\n" for entry in conv])
|
237 |
-
st.download_button("Télécharger l'historique de conversation", data=conversation, file_name=f"conversation {brand_name}.txt", mime="text/plain")
|
238 |
-
|
239 |
-
if st.button("Fermer"):
|
240 |
-
st.rerun()
|
241 |
-
|
242 |
-
def add_existing_pps(pp,pouvoir,influence):
|
243 |
-
for i in range(len(st.session_state['pp_grouped'])):
|
244 |
-
if st.session_state['pp_grouped'][i]['name'] == pp:
|
245 |
-
st.session_state['pp_grouped'][i]['x'] = influence
|
246 |
-
st.session_state['pp_grouped'][i]['y'] = pouvoir
|
247 |
-
return None
|
248 |
-
st.session_state['pp_grouped'].append({'name':pp, 'x':influence,'y':pouvoir, 'color':generate_random_color()})
|
249 |
-
|
250 |
-
|
251 |
-
def load_csv(file):
|
252 |
-
df = pd.read_csv(file)
|
253 |
-
for index, row in df.iterrows():
|
254 |
-
add_existing_pps(row['parties prenantes'],row['pouvoir'],row['influence'])
|
255 |
-
|
256 |
-
|
257 |
-
@st.dialog("Importer",width="small")
|
258 |
-
def import_conversation():
|
259 |
-
uploaded_file = st.file_uploader("Télécharger le fichier CSV", type="csv")
|
260 |
-
if uploaded_file is not None:
|
261 |
-
file_name = uploaded_file.name
|
262 |
-
try:
|
263 |
-
load_csv(file_name)
|
264 |
-
brand_name_from_csv = file_name.split("-")[1]
|
265 |
-
st.session_state["Nom de la marque"] = brand_name_from_csv
|
266 |
-
st.rerun()
|
267 |
-
except Exception as e:
|
268 |
-
st.error("Erreur lors de la lecture du fichier")
|
269 |
-
|
270 |
-
def extract_format_prompts_from_response(response):
|
271 |
-
st.markdown("---")
|
272 |
-
st.markdown("**En découvrir plus avec l'IA RSE bziiit**")
|
273 |
-
prompts = response.split("\n")
|
274 |
-
prompts = [prompt.strip() for prompt in prompts if prompt.strip() != ""]
|
275 |
-
prompts_container = st.container()
|
276 |
-
with prompts_container:
|
277 |
-
for i,prompt in enumerate(prompts):
|
278 |
-
|
279 |
-
temp_p = f"{prompt} ➡️"
|
280 |
-
st.button(temp_p,key=f"exec_{i}",on_click=lambda i=i: st.session_state.chat_history.append(HumanMessage(content=prompts[i])))
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
def extract_pp_from_query(query):
|
285 |
-
return " ".join(query.split(" ")[1:])
|
286 |
-
|
287 |
-
def display_prompts(prompts):
|
288 |
-
for i,prompt in enumerate(prompts):
|
289 |
-
col1,col2 = st.columns([9,1])
|
290 |
-
col1.markdown(f"{prompt}")
|
291 |
-
col2.button("➡️",key=f"execf_{i}",on_click=lambda i=i: st.session_state.chat_history.append(HumanMessage(content=prompts[i])))
|
292 |
-
|
293 |
-
|
294 |
-
def display_chat():
|
295 |
-
|
296 |
-
if "emission" not in st.session_state:
|
297 |
-
tracker = EmissionsTracker()
|
298 |
-
tracker.start()
|
299 |
-
st.session_state["emission"] = tracker
|
300 |
-
# app config
|
301 |
-
st.title("CHATBOT")
|
302 |
-
models_name = {
|
303 |
-
"Mistral (FR)":1,
|
304 |
-
"GPT-4o":0
|
305 |
-
}
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
generated_prompt_question = '''En fonction de l'historique, proposez trois prompts pour continuer la conversation. Utilisez les informations fournies et les implications discutées:
|
310 |
-
|
311 |
-
- Prompt 1 : [Premier prompt suggéré]
|
312 |
-
- Prompt 2 : [Deuxième prompt suggéré]
|
313 |
-
- Prompt 3 : [Troisième prompt suggéré]
|
314 |
-
|
315 |
-
LA LISTE DOIT ETRE EN FRANCAIS CHAQUE LIGNE SANS LE NUMERO DE PROMPT SEULEMENT LE TEXTE DE LA QUESTION
|
316 |
-
'''
|
317 |
-
|
318 |
-
# session state
|
319 |
-
if "chat_history" not in st.session_state:
|
320 |
-
st.session_state.chat_history = [
|
321 |
-
AIMessage(content="Salut, voici votre cartographie des parties prenantes. Que puis-je faire pour vous ?"),
|
322 |
-
]
|
323 |
-
|
324 |
-
if "model" not in st.session_state:
|
325 |
-
st.session_state.model = "GPT-4o"
|
326 |
-
|
327 |
-
if "used_models" not in st.session_state:
|
328 |
-
st.session_state.used_models = []
|
329 |
-
|
330 |
-
#sticky bar at the top
|
331 |
-
header = st.container()
|
332 |
-
col1,col2,col3, col4,col5,col6 = header.columns([2,3,2,3,2,1])
|
333 |
-
|
334 |
-
if col1.button("Prompts"):
|
335 |
-
show_prompts()
|
336 |
-
if col2.button(f"Modèle: {st.session_state.model}"):
|
337 |
-
index = models_name[st.session_state.model]
|
338 |
-
choose_model(index)
|
339 |
-
if col3.button("Ma Carto"):
|
340 |
-
disp_carto_in_chat()
|
341 |
-
if col4.button("Télécharger"):
|
342 |
-
dowmload_history(st.session_state.used_models)
|
343 |
-
header.write("""<div class='fixed-header'/>""", unsafe_allow_html=True)
|
344 |
-
|
345 |
-
# Custom CSS for the sticky header
|
346 |
-
st.markdown(
|
347 |
-
"""
|
348 |
-
<style>
|
349 |
-
div[data-testid="stVerticalBlock"] div:has(div.fixed-header) {
|
350 |
-
position: sticky;
|
351 |
-
top: 2.875rem;
|
352 |
-
background-color: white;
|
353 |
-
z-index: 999;
|
354 |
-
}
|
355 |
-
.fixed-header {
|
356 |
-
border-bottom: 0px solid black;
|
357 |
-
}
|
358 |
-
</style>
|
359 |
-
""",
|
360 |
-
unsafe_allow_html=True
|
361 |
-
)
|
362 |
-
|
363 |
-
# conversation
|
364 |
-
for message in st.session_state.chat_history:
|
365 |
-
if isinstance(message, AIMessage):
|
366 |
-
with st.chat_message("AI"):
|
367 |
-
st.write(message.content)
|
368 |
-
if "cartographie" in message.content:
|
369 |
-
st.markdown("\n")
|
370 |
-
display_chart()
|
371 |
-
if message.content == st.session_state.chat_history[0].content:
|
372 |
-
st.markdown("---")
|
373 |
-
st.markdown("**En découvrir plus avec l'IA RSE bziiit**")
|
374 |
-
first_prompts = ["En plus des parties prenantes déjà identifiées que tu peux consulter, quels groupes ou individus, impactés par les activités de mon organisation, devrais-je ajouter dans notre cartographie des parties prenantes ?",
|
375 |
-
"Quels sont les principaux acteurs internes et externes qui influencent ou sont influencés par mon organisation, et comment leurs intérêts ou préoccupations peuvent varier selon les différents domaines d'activité ?",
|
376 |
-
"En tenant compte de ma chaîne de valeur complète, quels sont les différentes parties prenantes stratégiques, incluant les partenaires commerciaux, les régulateurs, les groupes de pression, et la communauté, et comment leurs rôles et influences interagissent pour affecter les objectifs à court et long terme de mon organisation ?"]
|
377 |
-
display_prompts(first_prompts)
|
378 |
-
elif isinstance(message, HumanMessage):
|
379 |
-
with st.chat_message("Moi"):
|
380 |
-
st.write(message.content)
|
381 |
-
|
382 |
-
#check if the last message is from the user , that means execute button has been clicked in the prompts
|
383 |
-
last_message = st.session_state.chat_history[-1]
|
384 |
-
if isinstance(last_message, HumanMessage):
|
385 |
-
with st.chat_message("AI"):
|
386 |
-
if last_message.content.startswith("/rajoute"):
|
387 |
-
response = "Partie prenante ajoutée"
|
388 |
-
st.write(response)
|
389 |
-
st.session_state.chat_history.append(AIMessage(content=response))
|
390 |
-
else:
|
391 |
-
st.markdown(f"**{st.session_state.model}**")
|
392 |
-
if st.session_state.model not in st.session_state.used_models:
|
393 |
-
st.session_state.used_models.append(st.session_state.model)
|
394 |
-
response = get_response_with_impact(last_message.content, st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model)
|
395 |
-
st.session_state.chat_history.append(AIMessage(content=response))
|
396 |
-
with st.spinner("Proposition de prompts..."):
|
397 |
-
propositions_prompts = get_response_with_impact(generated_prompt_question, st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model,history_limit=1,stream=False)
|
398 |
-
extract_format_prompts_from_response(propositions_prompts)
|
399 |
-
st.session_state["partial_emissions"]["chatbot"]["cc"] = st.session_state["emission"].stop()
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
if "pp_grouped" not in st.session_state or st.session_state['pp_grouped'] is None or len(st.session_state['pp_grouped']) == 0:
|
404 |
-
st.session_state['pp_grouped'] = []
|
405 |
-
if "Nom de la marque" not in st.session_state:
|
406 |
-
st.session_state["Nom de la marque"] = ""
|
407 |
-
|
408 |
-
# user input
|
409 |
-
user_query = st.chat_input("Par ici...")
|
410 |
-
if user_query is not None and user_query != "":
|
411 |
-
st.session_state.chat_history.append(HumanMessage(content=user_query))
|
412 |
-
|
413 |
-
with st.chat_message("Moi"):
|
414 |
-
st.markdown(user_query)
|
415 |
-
with st.chat_message("AI"):
|
416 |
-
st.markdown(f"**{st.session_state.model}**")
|
417 |
-
if st.session_state.model not in st.session_state.used_models:
|
418 |
-
st.session_state.used_models.append(st.session_state.model)
|
419 |
-
if user_query.startswith("/rajoute"):
|
420 |
-
partie_prenante = extract_pp_from_query(user_query)
|
421 |
-
format_pp_add_viz(partie_prenante)
|
422 |
-
disp_carto_in_chat()
|
423 |
-
else:
|
424 |
-
#response = st.write_stream(get_response(user_query, st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model))
|
425 |
-
response = get_response_with_impact(user_query, st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model)
|
426 |
-
|
427 |
-
st.session_state.chat_history.append(AIMessage(content=response))
|
428 |
-
|
429 |
-
with st.spinner("Proposition de prompts..."):
|
430 |
-
propositions_prompts = get_response_with_impact(generated_prompt_question, st.session_state.chat_history,format_context(st.session_state['pp_grouped'],st.session_state['Nom de la marque']),st.session_state.model,history_limit=1,stream=False)
|
431 |
-
extract_format_prompts_from_response(propositions_prompts)
|
432 |
-
st.session_state["partial_emissions"]["chatbot"]["cc"] = st.session_state["emission"].stop()
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
collaborons.py
CHANGED
@@ -59,7 +59,6 @@ def perform_chat(messages):
|
|
59 |
client = openai.OpenAI(api_key=YOUR_API_KEY, base_url="https://api.perplexity.ai")
|
60 |
|
61 |
response_stream = client.chat.completions.create(
|
62 |
-
|
63 |
model="sonar-medium-online",
|
64 |
messages=messages,
|
65 |
stream=True
|
|
|
59 |
client = openai.OpenAI(api_key=YOUR_API_KEY, base_url="https://api.perplexity.ai")
|
60 |
|
61 |
response_stream = client.chat.completions.create(
|
|
|
62 |
model="sonar-medium-online",
|
63 |
messages=messages,
|
64 |
stream=True
|
comparateur.py
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
|
2 |
-
import streamlit as st
|
3 |
-
import pandas as pd
|
4 |
-
|
5 |
-
dict_comparaison_1kgCO2 = {
|
6 |
-
"eau en litre":[374/100,"https://impactco2.fr/icons/eauenbouteille.svg"],
|
7 |
-
"smartphones": [1.16/100,"https://impactco2.fr/icons/smartphone.svg"],
|
8 |
-
"voiture en km": [460/100,"https://impactco2.fr/icons/voiturethermique.svg"],
|
9 |
-
"tgv en km":[34130/100,"https://impactco2.fr/icons/tgv.svg"],
|
10 |
-
}
|
11 |
-
|
12 |
-
def compare(value_init, ratio_equivalent):
|
13 |
-
return ratio_equivalent * value_init if ratio_equivalent else None
|
14 |
-
|
15 |
-
def display_comparaison(container,value_init, ratio_equivalent,icon, unit):
|
16 |
-
#value_init must be in kgCO2
|
17 |
-
link_url = f"https://impactco2.fr/outils/comparateur?value={value_init}&comparisons=tgv,eauenbouteille,voiturethermique"
|
18 |
-
container.markdown(f"<div style='text-align: center;'><a href='{link_url}' target='_blank'><img src='{icon}' alt='{unit}' width='50'></div>", unsafe_allow_html=True)
|
19 |
-
container.markdown(f"<div style='text-align: center;'><b>{compare(value_init, ratio_equivalent):.2f}</b> {unit}</div>", unsafe_allow_html=True)
|
20 |
-
|
21 |
-
def custom_cumsum(ecologits_series, codecarbon_series):
|
22 |
-
cumsum = 0
|
23 |
-
result = []
|
24 |
-
for eco, code in zip(ecologits_series, codecarbon_series):
|
25 |
-
if code == 0:
|
26 |
-
result.append(0)
|
27 |
-
else:
|
28 |
-
cumsum += eco
|
29 |
-
result.append(cumsum)
|
30 |
-
return pd.Series(result, index=ecologits_series.index)
|
31 |
-
|
32 |
-
|
33 |
-
def get_table_empreintes_detailed() -> pd.DataFrame:
|
34 |
-
emissions_data = st.session_state["partial_emissions"]
|
35 |
-
emissions_df = pd.DataFrame(emissions_data).T # Transpose to match the desired format
|
36 |
-
|
37 |
-
# Rename columns and index values
|
38 |
-
emissions_df = emissions_df.rename(columns={"cc": "CodeCarbon (Cumulative)", "el": "EcoLogits (par requete)"})
|
39 |
-
emissions_df = emissions_df.applymap(lambda x: x * 1000)
|
40 |
-
emissions_df = emissions_df.round(2)
|
41 |
-
emissions_df = emissions_df.rename(index={
|
42 |
-
"Scrapping": "Collecte de documents et scrapping",
|
43 |
-
"extraction_pp": "Extraction des parties prenantes (serveur et IA)",
|
44 |
-
"cartographie": "Sauvegarde de la cartographie",
|
45 |
-
"chatbot": "Dialogue avec chatBot IA",
|
46 |
-
"download_rapport": "Téléchargement cartographie"
|
47 |
-
})
|
48 |
-
|
49 |
-
# Make Ecologits column cumulative
|
50 |
-
emissions_df["EcoLogits (Cumulative)"] = custom_cumsum(emissions_df["EcoLogits (par requete)"], emissions_df["CodeCarbon (Cumulative)"])
|
51 |
-
|
52 |
-
emissions_df['Consommation Totale'] = emissions_df["CodeCarbon (Cumulative)"] + emissions_df["EcoLogits (Cumulative)"]
|
53 |
-
emissions_df = emissions_df.round(2)
|
54 |
-
return emissions_df
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data_manager_bziiit.py
CHANGED
@@ -34,22 +34,6 @@ def get_engaged_brands():
|
|
34 |
st.error(f"Échec de récupération des marques engagées: {response.text}")
|
35 |
return []
|
36 |
|
37 |
-
# Fonction de récupération des prompts
|
38 |
-
def get_prompts():
|
39 |
-
url = f"{BASE_URL}/opendata/prompts"
|
40 |
-
response = requests.get(url)
|
41 |
-
if response.status_code == 200:
|
42 |
-
return response.json()["response"]
|
43 |
-
else:
|
44 |
-
st.error(f"Échec de récupération des marques engagées: {response.text}")
|
45 |
-
return []
|
46 |
-
|
47 |
-
def get_prompt_by_id(id):
|
48 |
-
prompts = get_prompts()
|
49 |
-
for prompt in prompts:
|
50 |
-
if prompt.get('id') == id:
|
51 |
-
return prompt
|
52 |
-
|
53 |
# Fonction consolidant les données labels + projets RSE + marques
|
54 |
def get_bziiit_data():
|
55 |
labels = get_labels()
|
|
|
34 |
st.error(f"Échec de récupération des marques engagées: {response.text}")
|
35 |
return []
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# Fonction consolidant les données labels + projets RSE + marques
|
38 |
def get_bziiit_data():
|
39 |
labels = get_labels()
|
documentations.py
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
import streamlit as st
|
2 |
-
from comparateur import get_table_empreintes_detailed
|
3 |
|
4 |
def display_documentation():
|
5 |
|
6 |
st.markdown("<hr style='border-color: darkgrey;'>", unsafe_allow_html=True) # Add this line
|
7 |
|
8 |
st.title("OPEN DATA IA RSE Bordeaux Métropole")
|
9 |
-
|
10 |
st.markdown("## La Data et l'IA au service des démarches RSE (Economie, Social, Environnemental)")
|
11 |
|
12 |
st.image("DATA IA RSE Bordeaux Metropole.png", caption="Data IA RSE Bordeaux Metropole")
|
@@ -26,3 +24,5 @@ def display_documentation():
|
|
26 |
</div>
|
27 |
""", unsafe_allow_html=True)
|
28 |
|
|
|
|
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
def display_documentation():
|
4 |
|
5 |
st.markdown("<hr style='border-color: darkgrey;'>", unsafe_allow_html=True) # Add this line
|
6 |
|
7 |
st.title("OPEN DATA IA RSE Bordeaux Métropole")
|
|
|
8 |
st.markdown("## La Data et l'IA au service des démarches RSE (Economie, Social, Environnemental)")
|
9 |
|
10 |
st.image("DATA IA RSE Bordeaux Metropole.png", caption="Data IA RSE Bordeaux Metropole")
|
|
|
24 |
</div>
|
25 |
""", unsafe_allow_html=True)
|
26 |
|
27 |
+
if __name__ == "__main__":
|
28 |
+
main()
|
download_chart.py
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import plotly.graph_objects as go
|
3 |
-
import plotly.express as px
|
4 |
-
|
5 |
-
from PIL import Image
|
6 |
-
import pdfkit
|
7 |
-
import pandas as pd
|
8 |
-
import plotly.io as pio
|
9 |
-
import tempfile
|
10 |
-
|
11 |
-
|
12 |
-
def construct_plot():
|
13 |
-
# Define data
|
14 |
-
stakeholders = st.session_state['pp_grouped']
|
15 |
-
|
16 |
-
if stakeholders is None or len(stakeholders) == 0:
|
17 |
-
st.error("Aucune partie prenante n'a été définie")
|
18 |
-
return None
|
19 |
-
# Create plot
|
20 |
-
fig = go.Figure()
|
21 |
-
|
22 |
-
# Add category areas
|
23 |
-
fig.add_shape(type="rect", x0=0, y0=50, x1=50, y1=100, fillcolor="lightblue", opacity=0.2, line_width=0)
|
24 |
-
fig.add_shape(type="rect", x0=50, y0=50, x1=100, y1=100, fillcolor="lightyellow", opacity=0.2, line_width=0)
|
25 |
-
fig.add_shape(type="rect", x0=0, y0=0, x1=50, y1=50, fillcolor="lightcoral", opacity=0.2, line_width=0)
|
26 |
-
fig.add_shape(type="rect", x0=50, y0=0, x1=100, y1=50, fillcolor="lightcyan", opacity=0.2, line_width=0)
|
27 |
-
|
28 |
-
# Add category titles
|
29 |
-
fig.add_annotation(x=10, y=90, text="Rendre satisfait", showarrow=False)
|
30 |
-
fig.add_annotation(x=60, y=90, text="Gérer étroitement", showarrow=False)
|
31 |
-
fig.add_annotation(x=10, y=40, text="Suivre de près", showarrow=False)
|
32 |
-
fig.add_annotation(x=60, y=40, text="Tenir informé", showarrow=False)
|
33 |
-
|
34 |
-
x_array = [stakeholder['x'] for stakeholder in stakeholders]
|
35 |
-
y_array = [stakeholder['y'] for stakeholder in stakeholders]
|
36 |
-
name_array = [stakeholder['name'] for stakeholder in stakeholders]
|
37 |
-
|
38 |
-
#color_sequence = px.colors.qualitative.Plotly
|
39 |
-
# Add stakeholders to plot
|
40 |
-
for i,stakeholder in enumerate(stakeholders):
|
41 |
-
fig.add_trace(go.Scatter(
|
42 |
-
x=[stakeholder['x']],
|
43 |
-
y=[stakeholder['y']],
|
44 |
-
mode='markers+text',
|
45 |
-
marker=dict(color=stakeholder['color'],size=33),
|
46 |
-
textposition="top center",
|
47 |
-
name=stakeholder['name']
|
48 |
-
))
|
49 |
-
|
50 |
-
# Update layout
|
51 |
-
fig.update_layout(
|
52 |
-
legend=dict( orientation="h", yanchor="bottom",y=1.02,title="Parties prenantes"),
|
53 |
-
height=600,
|
54 |
-
title=dict(text="Cartographie des parties prenantes", x=0.5, y=1, xanchor="center", yanchor="top"),
|
55 |
-
xaxis=dict(title="Influence", range=[0, 100]),
|
56 |
-
yaxis=dict(title="Pouvoir", range=[0, 100]),
|
57 |
-
showlegend=True
|
58 |
-
)
|
59 |
-
|
60 |
-
# Display plot in Streamlit
|
61 |
-
return fig
|
62 |
-
|
63 |
-
def save_plot_as_pdf(fig, logo_path, title):
|
64 |
-
st.write("saving plot as pdf")
|
65 |
-
|
66 |
-
with tempfile.NamedTemporaryFile(delete=False, suffix=".png") as tmpfile:
|
67 |
-
st.write("tmpfile created")
|
68 |
-
image_bytes = pio.to_image(fig, format='png')
|
69 |
-
st.write("image_bytes")
|
70 |
-
|
71 |
-
tmpfile.write(image_bytes)
|
72 |
-
tmpfile.close()
|
73 |
-
plot_image_path = tmpfile.name
|
74 |
-
|
75 |
-
st.write(plot_image_path)
|
76 |
-
|
77 |
-
html_content = f"""
|
78 |
-
<!DOCTYPE html>
|
79 |
-
<html lang="en">
|
80 |
-
<head>
|
81 |
-
<meta charset="UTF-8">
|
82 |
-
<title>{title}</title>
|
83 |
-
<style>
|
84 |
-
body {{ font-family: Arial, sans-serif; text-align: center; }}
|
85 |
-
.logo {{ width: 100px; margin-top: 20px; }}
|
86 |
-
.title {{ font-size: 24px; margin-top: 20px; }}
|
87 |
-
.plot-image {{ width: 80%; margin-top: 20px; }}
|
88 |
-
</style>
|
89 |
-
</head>
|
90 |
-
<body>
|
91 |
-
{"<img src='" + logo_path + "' class='logo'>" if logo_path else ""}
|
92 |
-
<div class="title">{title}</div>
|
93 |
-
<img src="{plot_image_path}" class="plot-image">
|
94 |
-
</body>
|
95 |
-
</html>
|
96 |
-
"""
|
97 |
-
|
98 |
-
with tempfile.NamedTemporaryFile(delete=False, suffix=".html") as tmpfile:
|
99 |
-
tmpfile.write(html_content.encode('utf-8'))
|
100 |
-
tmpfile.close()
|
101 |
-
html_path = tmpfile.name
|
102 |
-
|
103 |
-
pdf_path = html_path.replace('figure.html', '.pdf')
|
104 |
-
st.write(pdf_path)
|
105 |
-
pdfkit.from_file(html_path, pdf_path)
|
106 |
-
return pdf_path
|
107 |
-
|
108 |
-
def download_pdf():
|
109 |
-
# Construct plot
|
110 |
-
fig = construct_plot()
|
111 |
-
|
112 |
-
if fig is None:
|
113 |
-
return None
|
114 |
-
st.write("fig constructed")
|
115 |
-
|
116 |
-
logo_path = "https://static.wixstatic.com/media/d7d3da_b69e03ae99224f7d8b6e358918e60071~mv2.png/v1/crop/x_173,y_0,w_1906,h_938/fill/w_242,h_119,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/BZIIIT_LOGO-HORIZ-COULEUR.png"
|
117 |
-
pdf_title = "Cartographie des parties prenantes"
|
118 |
-
# Button to download PDF
|
119 |
-
pdf_path = save_plot_as_pdf(fig, logo_path, pdf_title)
|
120 |
-
|
121 |
-
st.write("pdf saved")
|
122 |
-
with open(pdf_path, "rb") as pdf_file:
|
123 |
-
st.download_button(label="Download PDF", data=pdf_file, file_name="stakeholder_analysis.pdf")
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
emissions.csv
DELETED
The diff for this file is too large to render.
See raw diff
|
|
empreinte_carbone.py
DELETED
@@ -1,120 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from comparateur import get_table_empreintes_detailed
|
3 |
-
from comparateur import *
|
4 |
-
import base64
|
5 |
-
import pandas as pd
|
6 |
-
import altair as alt
|
7 |
-
|
8 |
-
# Function to read and encode an SVG file to Base64
|
9 |
-
def load_svg_as_base64(file_path):
|
10 |
-
with open(file_path, "rb") as f:
|
11 |
-
svg_data = f.read()
|
12 |
-
return base64.b64encode(svg_data).decode()
|
13 |
-
|
14 |
-
def color_scale(val):
|
15 |
-
if val == '-':
|
16 |
-
return 'background-color: {color}'
|
17 |
-
elif val <= 1:
|
18 |
-
color = '#008571' #'rgba(0,238,0,0.5)' # green with opacity
|
19 |
-
elif val <= 10:
|
20 |
-
color = '#83c2b8' # light green with opacity
|
21 |
-
elif val <= 50:
|
22 |
-
color = '#efcd82' # light yellow with opacity
|
23 |
-
elif val <= 100:
|
24 |
-
color = '#f2aa56' # light orange with opacity
|
25 |
-
else:
|
26 |
-
color = '#e87a58' # light red with opacity
|
27 |
-
return f'background-color: {color};color:white'
|
28 |
-
|
29 |
-
def display_cf_comparison(stm: st):
|
30 |
-
svg_file_path = "feuille.svg"
|
31 |
-
svg_base64 = load_svg_as_base64(svg_file_path)
|
32 |
-
stm.markdown(
|
33 |
-
f"""
|
34 |
-
**Votre consommation carbone**
|
35 |
-
<img src='data:image/svg+xml;base64,{svg_base64}' alt='svg' width='15' height='15' style='margin-left: 10px;'>
|
36 |
-
""",
|
37 |
-
unsafe_allow_html=True
|
38 |
-
)
|
39 |
-
|
40 |
-
serveur_emission = st.session_state['emission'].stop()
|
41 |
-
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
42 |
-
|
43 |
-
if serveur_emission is None :
|
44 |
-
serveur_emission = 0
|
45 |
-
if emission_api is None :
|
46 |
-
emission_api = 0
|
47 |
-
total_emission = serveur_emission + emission_api
|
48 |
-
|
49 |
-
pourcentage_api = emission_api / total_emission
|
50 |
-
|
51 |
-
pourcentage_serveur = serveur_emission / total_emission
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
stm.markdown(f"<div style='text-align: center; margin-bottom: 10px;'><b>{total_emission*1000:.2f}</b> g eq. CO2</div>", unsafe_allow_html=True)
|
56 |
-
stm.markdown("Dont :")
|
57 |
-
stm.markdown(f"- Empreinte serveur (via CodeCarbon) : **{serveur_emission*1000:.2f}** g eq. CO2 ({pourcentage_serveur:.2%})")
|
58 |
-
stm.write(f"- Empreinte IA (via EcoLogits) : **{emission_api*1000:.2f}** g eq. CO2 ({pourcentage_api:.2%})")
|
59 |
-
# stm.markdown("(avec l'outil CodeCarbon)")
|
60 |
-
c1,c2,c3 = stm.columns([1,1,1])
|
61 |
-
|
62 |
-
c2.write("---")
|
63 |
-
|
64 |
-
stm.markdown("**Votre équivalence**")
|
65 |
-
col1,col2,col3 = stm.columns([1,1,1])
|
66 |
-
display_comparaison(col1,total_emission,dict_comparaison_1kgCO2["eau en litre"][0]*1000,dict_comparaison_1kgCO2["eau en litre"][1],"ml")
|
67 |
-
display_comparaison(col2,total_emission,dict_comparaison_1kgCO2["tgv en km"][0],dict_comparaison_1kgCO2["tgv en km"][1],"km")
|
68 |
-
display_comparaison(col3,total_emission,dict_comparaison_1kgCO2["voiture en km"][0]*1000,dict_comparaison_1kgCO2["voiture en km"][1],"m")
|
69 |
-
stm.markdown("\n")
|
70 |
-
stm.markdown(
|
71 |
-
f"""
|
72 |
-
Powered by **ADEME**
|
73 |
-
<a href='https://www.ademe.fr' target='_blank'><img src='https://www.ademe.fr/wp-content/uploads/2022/11/ademe-logo-2022-1.svg' alt='svg' width='30' height='30' style='margin-left: 10px;'>
|
74 |
-
""",
|
75 |
-
unsafe_allow_html=True
|
76 |
-
)
|
77 |
-
|
78 |
-
def display_carbon_footprint():
|
79 |
-
st.title("EMPREINTE ÉNERGÉTIQUE DE L'APPLICATION IA CARTO RSE")
|
80 |
-
display_cf_comparison(st)
|
81 |
-
table = get_table_empreintes_detailed()
|
82 |
-
# table[['Consommation Totale']] = table[['Consommation Totale']].map('${:,.2f}'.format)
|
83 |
-
|
84 |
-
table.replace({0.00: '-'}, inplace=True)
|
85 |
-
#just 2 digits after the comma
|
86 |
-
styled_df = table[['Consommation Totale']].rename(columns={'Consommation Totale': 'Consommation totale (g eqCo2)'})
|
87 |
-
styled_df = styled_df.round(2)
|
88 |
-
|
89 |
-
styled_df = styled_df.style.applymap(color_scale, subset=['Consommation totale (g eqCo2)'])
|
90 |
-
st.markdown("---")
|
91 |
-
st.markdown("### DÉTAIL PAR TÂCHE")
|
92 |
-
st.table(styled_df)
|
93 |
-
with st.expander("Plus de détails"):
|
94 |
-
st.table(table)
|
95 |
-
|
96 |
-
st.markdown("### SYNTHESE (Dialogue IA et non IA)")
|
97 |
-
|
98 |
-
serveur_emission = st.session_state['emission'].stop()
|
99 |
-
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
100 |
-
print(serveur_emission, emission_api)
|
101 |
-
total_emission = serveur_emission + emission_api
|
102 |
-
|
103 |
-
pourcentage_api = emission_api / total_emission
|
104 |
-
pourcentage_serveur = serveur_emission / total_emission
|
105 |
-
|
106 |
-
df = pd.DataFrame({"Catégorie": ["Identification + dessin","IA (extraction pp + dialogue)"], "valeur": [pourcentage_serveur, pourcentage_api]})
|
107 |
-
color_scale_alt = alt.Scale(domain=['Identification + dessin', 'IA (extraction pp + dialogue)'], range=['#011166', '#63abdf'])
|
108 |
-
|
109 |
-
base=alt.Chart(df).encode(
|
110 |
-
theta=alt.Theta(field="valeur", type="quantitative", stack=True),
|
111 |
-
color=alt.Color(field="Catégorie", type="nominal", scale=color_scale_alt),
|
112 |
-
)
|
113 |
-
|
114 |
-
|
115 |
-
pie = base.mark_arc(outerRadius=100)
|
116 |
-
text = base.mark_text(radius=150,fill= "black",align='center', baseline='middle',fontSize=20).encode(alt.Text(field="valeur", type="quantitative", format=".2%"))
|
117 |
-
|
118 |
-
chart = alt.layer(pie, text, data=df).resolve_scale(theta="independent")
|
119 |
-
st.altair_chart(chart, use_container_width=True)
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
empreinte_export.py
DELETED
@@ -1,172 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import pandas as pd
|
3 |
-
import altair as alt
|
4 |
-
import base64
|
5 |
-
import pdfkit
|
6 |
-
import io
|
7 |
-
from comparateur import *
|
8 |
-
|
9 |
-
def load_svg_as_base64(svg_file_path):
|
10 |
-
with open(svg_file_path, "rb") as svg_file:
|
11 |
-
return base64.b64encode(svg_file.read()).decode()
|
12 |
-
|
13 |
-
def save_pdf(html_content):
|
14 |
-
pdf = pdfkit.from_string(html_content, False)
|
15 |
-
return pdf
|
16 |
-
|
17 |
-
def display_comparaison_html(value_init, ratio_equivalent, icon, unit):
|
18 |
-
link_url = f"https://impactco2.fr/outils/comparateur?value={value_init}&comparisons=tgv,eauenbouteille,voiturethermique"
|
19 |
-
html = f"""
|
20 |
-
<div style='text-align: center;'>
|
21 |
-
<a href='{link_url}' target='_blank'><img src='{icon}' alt='{unit}' width='50'></a>
|
22 |
-
</div>
|
23 |
-
<div style='text-align: center;'>
|
24 |
-
<b>{compare(value_init, ratio_equivalent):.2f}</b> {unit}
|
25 |
-
</div>
|
26 |
-
"""
|
27 |
-
return html
|
28 |
-
|
29 |
-
def display_cf_comparison():
|
30 |
-
svg_file_path = "feuille.svg"
|
31 |
-
svg_base64 = load_svg_as_base64(svg_file_path)
|
32 |
-
|
33 |
-
html_content = f"""
|
34 |
-
<div style='display: flex; align-items: center;'>
|
35 |
-
<h4 style='margin: 0;'>Votre consommation Carbone</h4>
|
36 |
-
<img src='data:image/svg+xml;base64,{svg_base64}' alt='svg' width='15' height='15' style='margin-left: 10px;'>
|
37 |
-
</div>
|
38 |
-
<br>
|
39 |
-
"""
|
40 |
-
|
41 |
-
serveur_emission = st.session_state['emission'].stop()
|
42 |
-
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
43 |
-
|
44 |
-
total_emission = serveur_emission + emission_api
|
45 |
-
|
46 |
-
pourcentage_api = emission_api / total_emission
|
47 |
-
pourcentage_serveur = serveur_emission / total_emission
|
48 |
-
|
49 |
-
html_content += f"<div style='text-align: center; margin-bottom: 10px;'><b>{total_emission*1000:.3f}</b> g eq. CO2</div>"
|
50 |
-
html_content += f"<p>Dont :</p>"
|
51 |
-
html_content += f"<p>- Empreinte serveur (via CodeCarbon) : <b>{serveur_emission*1000:.3f}</b> g eq. CO2 ({pourcentage_serveur:.2%})</p>"
|
52 |
-
html_content += f"<p>- Empreinte IA (via EcoLogits) : <b>{emission_api*1000:.3f}</b> g eq. CO2 ({pourcentage_api:.2%})</p>"
|
53 |
-
|
54 |
-
html_content += "<h4>Votre équivalence</h4>"
|
55 |
-
html_content += """
|
56 |
-
<div style='display: flex; justify-content: space-around;'>
|
57 |
-
"""
|
58 |
-
|
59 |
-
html_content += f"""
|
60 |
-
<div>
|
61 |
-
{display_comparaison_html(total_emission, dict_comparaison_1kgCO2["eau en litre"][0]*1000, dict_comparaison_1kgCO2["eau en litre"][1], "ml")}
|
62 |
-
</div>
|
63 |
-
<div>
|
64 |
-
{display_comparaison_html(total_emission, dict_comparaison_1kgCO2["tgv en km"][0], dict_comparaison_1kgCO2["tgv en km"][1], "km")}
|
65 |
-
</div>
|
66 |
-
<div>
|
67 |
-
{display_comparaison_html(total_emission, dict_comparaison_1kgCO2["voiture en km"][0]*1000, dict_comparaison_1kgCO2["voiture en km"][1], "m")}
|
68 |
-
</div>
|
69 |
-
"""
|
70 |
-
|
71 |
-
html_content += "</div><br>"
|
72 |
-
|
73 |
-
|
74 |
-
html_content += f"""
|
75 |
-
<br>
|
76 |
-
<div style='display: flex; align-items: center;'>
|
77 |
-
<p>Powered by <b>ADEME</b></p>
|
78 |
-
<a href='https://www.ademe.fr' target='_blank'><img src='https://www.ademe.fr/wp-content/uploads/2022/11/ademe-logo-2022-1.svg' alt='svg' width='30' height='30' style='margin-left: 10px;'></a>
|
79 |
-
</div>
|
80 |
-
<br>
|
81 |
-
"""
|
82 |
-
|
83 |
-
#st.markdown(html_content, unsafe_allow_html=True)
|
84 |
-
return html_content
|
85 |
-
|
86 |
-
def color_scale(val):
|
87 |
-
if val == '-':
|
88 |
-
return 'background-color: white'
|
89 |
-
elif val <= 1:
|
90 |
-
return 'background-color: rgba(0,100,0,0.5)' # dark green with opacity
|
91 |
-
elif val <= 10:
|
92 |
-
return 'background-color: rgba(0,128,0,0.5)' # green with opacity
|
93 |
-
elif val <= 50:
|
94 |
-
return 'background-color: rgba(255,255,0,0.5)' # yellow with opacity
|
95 |
-
elif val <= 100:
|
96 |
-
return 'background-color: rgba(255,165,0,0.5)' # orange with opacity
|
97 |
-
else:
|
98 |
-
return 'background-color: rgba(255,0,0,0.5)' # red with opacity
|
99 |
-
|
100 |
-
|
101 |
-
def get_carbon_footprint_html():
|
102 |
-
|
103 |
-
html_content = "<h2>EMPREINTE ÉNERGÉTIQUE DE L'APPLICATION IA CARTO RSE</h2>"
|
104 |
-
html_content += display_cf_comparison()
|
105 |
-
|
106 |
-
table = get_table_empreintes_detailed()
|
107 |
-
table.replace({0.00: '-'}, inplace=True)
|
108 |
-
styled_df = table[['Consommation Totale']].rename(columns={'Consommation Totale': 'Consommation totale (g eqCo2)'})
|
109 |
-
styled_df = styled_df.style.applymap(color_scale, subset=['Consommation totale (g eqCo2)'])
|
110 |
-
|
111 |
-
html_content += """
|
112 |
-
<style>
|
113 |
-
.centered-table {
|
114 |
-
margin-left: auto;
|
115 |
-
margin-right: auto;
|
116 |
-
border-collapse: collapse;
|
117 |
-
width: 80%;
|
118 |
-
}
|
119 |
-
.centered-table th, .centered-table td {
|
120 |
-
border: 1px solid #ddd;
|
121 |
-
padding: 8px;
|
122 |
-
text-align: left;
|
123 |
-
}
|
124 |
-
.centered-table th {
|
125 |
-
background-color: #f2f2f2;
|
126 |
-
}
|
127 |
-
</style>
|
128 |
-
"""
|
129 |
-
|
130 |
-
html_content += """
|
131 |
-
<h2>DÉTAIL PAR TÂCHE</h2>
|
132 |
-
<div style="overflow-x:auto;">
|
133 |
-
"""
|
134 |
-
|
135 |
-
html_content += styled_df.set_table_attributes('class="centered-table"').to_html()
|
136 |
-
|
137 |
-
html_content += """
|
138 |
-
</div>
|
139 |
-
"""
|
140 |
-
|
141 |
-
serveur_emission = st.session_state['emission'].stop()
|
142 |
-
emission_api = sum([value["el"] for value in st.session_state["partial_emissions"].values()])
|
143 |
-
|
144 |
-
total_emission = serveur_emission + emission_api
|
145 |
-
|
146 |
-
pourcentage_api = emission_api / total_emission
|
147 |
-
pourcentage_serveur = serveur_emission / total_emission
|
148 |
-
|
149 |
-
df = pd.DataFrame({"Catégorie": ["Identification + dessin", "IA (extraction pp + dialogue)"], "valeur": [pourcentage_serveur, pourcentage_api]})
|
150 |
-
color_scale_alt = alt.Scale(domain=['Identification + dessin', 'IA (extraction pp + dialogue)'], range=['#011166', '#63abdf'])
|
151 |
-
|
152 |
-
base = alt.Chart(df).encode(
|
153 |
-
theta=alt.Theta(field="valeur", type="quantitative", stack=True),
|
154 |
-
color=alt.Color(field="Catégorie", type="nominal",scale=color_scale_alt)
|
155 |
-
)
|
156 |
-
|
157 |
-
pie = base.mark_arc(outerRadius=100)
|
158 |
-
text = base.mark_text(radius=150, fill="black",align='center', baseline='middle',fontSize=14).encode(alt.Text(field="valeur", type="quantitative", format=".2%"))
|
159 |
-
|
160 |
-
chart = alt.layer(pie, text, data=df).resolve_scale(theta="independent")
|
161 |
-
|
162 |
-
html_content += """
|
163 |
-
<h2>SYNTHESE (Dialogue IA et non IA)</h2>
|
164 |
-
"""
|
165 |
-
chart.save("chart.png")
|
166 |
-
with open("chart.png", "rb") as image_file:
|
167 |
-
encoded_image = base64.b64encode(image_file.read()).decode()
|
168 |
-
|
169 |
-
html_content += f'<div style="text-align:center;"><img src="data:image/png;base64,{encoded_image}" alt="Pie chart"></div>'
|
170 |
-
|
171 |
-
return html_content
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export_doc.py
DELETED
@@ -1,242 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import markdown2
|
3 |
-
import pdfkit
|
4 |
-
from io import BytesIO
|
5 |
-
from IPython.display import display, FileLink
|
6 |
-
import base64
|
7 |
-
from langchain_core.messages import AIMessage, HumanMessage
|
8 |
-
from datetime import datetime
|
9 |
-
from download_chart import construct_plot
|
10 |
-
from kaleido.scopes.plotly import PlotlyScope
|
11 |
-
import pandas as pd
|
12 |
-
import markdown
|
13 |
-
from comparateur import get_table_empreintes_detailed
|
14 |
-
from empreinte_export import get_carbon_footprint_html
|
15 |
-
|
16 |
-
def colored_circle(color):
|
17 |
-
return f'<span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: {color};"></span>'
|
18 |
-
|
19 |
-
def list_to_markdown(lst):
|
20 |
-
return "\n".join([f'<p>{colored_circle(item["color"])} <b>{item["name"]}</b>: Pouvoir:{item["y"]}% Influence:{item["x"]}%</p>' for item in lst[:20]])
|
21 |
-
|
22 |
-
def categorize(row):
|
23 |
-
if 50 <= row['pouvoir'] <= 100 and 0 <= row['influence'] < 50:
|
24 |
-
return 'Rendre satisfait'
|
25 |
-
elif 50 <= row['pouvoir'] <= 100 and 50 <= row['influence'] <= 100:
|
26 |
-
return 'Gérer étroitement'
|
27 |
-
elif 0 <= row['pouvoir'] < 50 and 0 <= row['influence'] < 50:
|
28 |
-
return 'Suivre de près'
|
29 |
-
elif 0 <= row['pouvoir'] < 50 and 50 <= row['influence'] <= 100:
|
30 |
-
return 'Tenir informé'
|
31 |
-
else:
|
32 |
-
return 'Non catégorisé'
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
@st.cache_data
|
37 |
-
def convert_pp_to_csv(pp_grouped):
|
38 |
-
if pp_grouped is None or len(pp_grouped) == 0:
|
39 |
-
st.error("Aucune partie prenante n'a été définie")
|
40 |
-
return None
|
41 |
-
pp_df = pd.DataFrame(pp_grouped)
|
42 |
-
pp_df.index.name = 'N°'
|
43 |
-
pp_df.rename(columns={"name": "parties prenantes", "x": "influence", "y": "pouvoir"}, inplace=True)
|
44 |
-
pp_df.drop(columns=['color'], inplace=True)
|
45 |
-
# Apply the function to the DataFrame to create a new column 'categorie'
|
46 |
-
pp_df['categorie'] = pp_df.apply(categorize, axis=1)
|
47 |
-
pp_df = pp_df[["parties prenantes","categorie", "pouvoir", "influence"]]
|
48 |
-
pp_df.rename_axis('N°', axis=1)
|
49 |
-
return pp_df.to_csv(index=True,encoding="utf-8")
|
50 |
-
|
51 |
-
@st.cache_data
|
52 |
-
def create_pdf_from_markdown(logo_path, conversation,summary,brand_name,graph_html,app_url,list_pps,used_models=None):
|
53 |
-
# Convertir la conversation en markdown
|
54 |
-
markdown_text = "\n".join([f"### {entry['speaker']}:\n {entry['text']}\n ---" for entry in conversation])
|
55 |
-
|
56 |
-
if not used_models:
|
57 |
-
used_models = ["Aucun modèle IA n'a été utilisé"]
|
58 |
-
html_used_models = "".join([f"<p>{model}</p>" for model in used_models])
|
59 |
-
|
60 |
-
markdown_summary = f"{summary}\n --- \n ---"
|
61 |
-
markdown_list_pps = list_to_markdown(list_pps)
|
62 |
-
# Convertir le markdown en HTML
|
63 |
-
html_content = markdown.markdown(markdown_text,extensions=['markdown.extensions.tables'])
|
64 |
-
html_summary = markdown2.markdown(markdown_summary)
|
65 |
-
html_list_pps = markdown2.markdown(markdown_list_pps)
|
66 |
-
|
67 |
-
analysis_date = datetime.now().strftime("%Y-%m-%d")
|
68 |
-
# image_base64 = base64.b64encode(image_path).decode('utf-8')
|
69 |
-
graph_html.update_layout(showlegend=False)
|
70 |
-
img_bytes = PlotlyScope().transform(
|
71 |
-
figure=graph_html,
|
72 |
-
format="png",
|
73 |
-
)
|
74 |
-
fig1 = f"data:image/png;base64,{base64.b64encode(img_bytes).decode('utf8')}"
|
75 |
-
# Créer le HTML complet avec les images et le texte
|
76 |
-
|
77 |
-
html_template = f"""
|
78 |
-
<!DOCTYPE html>
|
79 |
-
<html lang="en">
|
80 |
-
<head>
|
81 |
-
<meta charset="UTF-8">
|
82 |
-
<title>Cartographie des parties prenantes {brand_name}</title>
|
83 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
84 |
-
<style>
|
85 |
-
body {{
|
86 |
-
font-family: 'Roboto', sans-serif;
|
87 |
-
margin: 20px;
|
88 |
-
}}
|
89 |
-
h1, h2, h3, h4, h5, h6 {{
|
90 |
-
font-weight: bold;
|
91 |
-
}}
|
92 |
-
.page-break {{
|
93 |
-
page-break-before: always;
|
94 |
-
margin: 50px;
|
95 |
-
height: 50px;
|
96 |
-
}}
|
97 |
-
</style>
|
98 |
-
</head>
|
99 |
-
<body>
|
100 |
-
<div style="text-align: center;">
|
101 |
-
<h1>Cartographie des parties prenantes "{brand_name}"</h1>
|
102 |
-
<p>Date de l'analyse IA RSE : {analysis_date}</p>
|
103 |
-
<p>IA utilisées :</p>
|
104 |
-
{html_used_models}
|
105 |
-
<img src="{logo_path}" alt="Logo" style="width: 150px;"/>
|
106 |
-
</div>
|
107 |
-
<div class="page-break"></div>
|
108 |
-
<div style="text-align: center; margin-top: 20px;">
|
109 |
-
<img src="{fig1}">
|
110 |
-
</div>
|
111 |
-
{html_list_pps}
|
112 |
-
<div class="page-break"></div>
|
113 |
-
<h2>RESUME</h2>
|
114 |
-
{html_summary}
|
115 |
-
<div class="page-break"></div>
|
116 |
-
<h2>Historique de la Conversation</h2>
|
117 |
-
{html_content}
|
118 |
-
<div class="page-break"></div>
|
119 |
-
{get_carbon_footprint_html()}
|
120 |
-
</body>
|
121 |
-
</html>
|
122 |
-
"""
|
123 |
-
|
124 |
-
with open("temp.html", "w",encoding="utf-8") as f:
|
125 |
-
f.write(html_template)
|
126 |
-
|
127 |
-
# Create the footer HTML with the logo and app_url
|
128 |
-
footer_html = f"""
|
129 |
-
<!DOCTYPE html>
|
130 |
-
<html lang="en">
|
131 |
-
<head>
|
132 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
133 |
-
<meta charset="UTF-8">
|
134 |
-
<style>
|
135 |
-
body {{
|
136 |
-
font-family: 'Roboto', sans-serif;
|
137 |
-
margin-top: 20px;
|
138 |
-
}}
|
139 |
-
.footer {{
|
140 |
-
width: 100%;
|
141 |
-
font-size: 16px;
|
142 |
-
display: flex;
|
143 |
-
align-items: center;
|
144 |
-
justify-content: space-between;
|
145 |
-
padding: 10px 20px;
|
146 |
-
}}
|
147 |
-
.footer img {{
|
148 |
-
width: 100px;
|
149 |
-
vertical-align: middle;
|
150 |
-
margin-bottom: 0px;
|
151 |
-
padding-bottom: 0px;
|
152 |
-
|
153 |
-
}}
|
154 |
-
.footer .center-text {{
|
155 |
-
text-align: center;
|
156 |
-
|
157 |
-
}}
|
158 |
-
.footer .page-number {{
|
159 |
-
text-align: right;
|
160 |
-
}}
|
161 |
-
.footer a {{
|
162 |
-
color: #0000EE;
|
163 |
-
text-decoration: none;
|
164 |
-
}}
|
165 |
-
.page {{
|
166 |
-
font-weight: bold;
|
167 |
-
font-size: 10px;
|
168 |
-
margin-bottom: 0px;
|
169 |
-
padding-bottom: 0px;
|
170 |
-
}}
|
171 |
-
|
172 |
-
</style>
|
173 |
-
</head>
|
174 |
-
<body>
|
175 |
-
<div class="footer">
|
176 |
-
<img src="{logo_path}" alt="Logo" />
|
177 |
-
<div class="center-text">
|
178 |
-
bziiit | Open data & IA RSE | <a href="{app_url}">{app_url}</a>
|
179 |
-
</div>
|
180 |
-
<div class="page-number">
|
181 |
-
<span class="page"></span>
|
182 |
-
</div>
|
183 |
-
</div>
|
184 |
-
</body>
|
185 |
-
</html>
|
186 |
-
"""
|
187 |
-
|
188 |
-
|
189 |
-
# Save the footer HTML to a temporary file
|
190 |
-
with open("footer.html", "w",encoding="utf-8") as f:
|
191 |
-
f.write(footer_html)
|
192 |
-
|
193 |
-
|
194 |
-
# Convert HTML to PDF with header and footer
|
195 |
-
pdf = pdfkit.from_file("temp.html", options={
|
196 |
-
'footer-html': 'footer.html',
|
197 |
-
'footer-right': '[page]/[toPage]',
|
198 |
-
'footer-font-size': '10',
|
199 |
-
'footer-spacing': '5',
|
200 |
-
'footer-line': True,
|
201 |
-
'margin-top': '5',
|
202 |
-
})
|
203 |
-
return pdf
|
204 |
-
|
205 |
-
def get_conversation():
|
206 |
-
conversation = []
|
207 |
-
for message in st.session_state.chat_history:
|
208 |
-
if isinstance(message, AIMessage):
|
209 |
-
conversation.append({"speaker": "AI", "text": message.content})
|
210 |
-
elif isinstance(message, HumanMessage):
|
211 |
-
conversation.append({"speaker": "Moi", "text": message.content})
|
212 |
-
return conversation
|
213 |
-
|
214 |
-
|
215 |
-
def export_conversation(summary,used_models=None):
|
216 |
-
brand_name = st.session_state["Nom de la marque"]
|
217 |
-
app_url = "https://huggingface.co/spaces/bziiit/OpenData-Bordeaux-RSE"
|
218 |
-
logo_path = "https://static.wixstatic.com/media/d7d3da_b69e03ae99224f7d8b6e358918e60071~mv2.png/v1/crop/x_173,y_0,w_1906,h_938/fill/w_242,h_119,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/BZIIIT_LOGO-HORIZ-COULEUR.png" # Replace with your image path
|
219 |
-
list_pps = st.session_state['pp_grouped']
|
220 |
-
|
221 |
-
with st.spinner("Génération du PDF..."):
|
222 |
-
conversation = get_conversation()
|
223 |
-
image_path = "newplot.png"
|
224 |
-
try:
|
225 |
-
graph = construct_plot()
|
226 |
-
# graph = graph.to_html(full_html=False, include_plotlyjs='cdn')
|
227 |
-
except Exception as e:
|
228 |
-
st.error("Erreur lors de la génération de la cartographie")
|
229 |
-
graph = ""
|
230 |
-
try:
|
231 |
-
pdf = create_pdf_from_markdown(logo_path=logo_path, conversation=conversation,summary=summary,brand_name=brand_name,graph_html=graph,app_url=app_url,list_pps=list_pps,used_models=used_models)
|
232 |
-
except Exception as e:
|
233 |
-
pdf = None
|
234 |
-
|
235 |
-
if pdf:
|
236 |
-
st.success("PDF généré avec succès!}")
|
237 |
-
else:
|
238 |
-
st.error("Erreur lors de la génération du PDF")
|
239 |
-
|
240 |
-
return pdf
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
feuille.svg
DELETED
footer.html
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
|
2 |
-
<!DOCTYPE html>
|
3 |
-
<html lang="en">
|
4 |
-
<head>
|
5 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
6 |
-
<meta charset="UTF-8">
|
7 |
-
<style>
|
8 |
-
body {
|
9 |
-
font-family: 'Roboto', sans-serif;
|
10 |
-
margin-top: 20px;
|
11 |
-
}
|
12 |
-
.footer {
|
13 |
-
width: 100%;
|
14 |
-
font-size: 16px;
|
15 |
-
display: flex;
|
16 |
-
align-items: center;
|
17 |
-
justify-content: space-between;
|
18 |
-
padding: 10px 20px;
|
19 |
-
}
|
20 |
-
.footer img {
|
21 |
-
width: 100px;
|
22 |
-
vertical-align: middle;
|
23 |
-
margin-bottom: 0px;
|
24 |
-
padding-bottom: 0px;
|
25 |
-
|
26 |
-
}
|
27 |
-
.footer .center-text {
|
28 |
-
text-align: center;
|
29 |
-
|
30 |
-
}
|
31 |
-
.footer .page-number {
|
32 |
-
text-align: right;
|
33 |
-
}
|
34 |
-
.footer a {
|
35 |
-
color: #0000EE;
|
36 |
-
text-decoration: none;
|
37 |
-
}
|
38 |
-
.page {
|
39 |
-
font-weight: bold;
|
40 |
-
font-size: 10px;
|
41 |
-
margin-bottom: 0px;
|
42 |
-
padding-bottom: 0px;
|
43 |
-
}
|
44 |
-
|
45 |
-
</style>
|
46 |
-
</head>
|
47 |
-
<body>
|
48 |
-
<div class="footer">
|
49 |
-
<img src="https://static.wixstatic.com/media/d7d3da_b69e03ae99224f7d8b6e358918e60071~mv2.png/v1/crop/x_173,y_0,w_1906,h_938/fill/w_242,h_119,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/BZIIIT_LOGO-HORIZ-COULEUR.png" alt="Logo" />
|
50 |
-
<div class="center-text">
|
51 |
-
bziiit | Open data & IA RSE | <a href="https://huggingface.co/spaces/bziiit/OpenData-Bordeaux-RSE">https://huggingface.co/spaces/bziiit/OpenData-Bordeaux-RSE</a>
|
52 |
-
</div>
|
53 |
-
<div class="page-number">
|
54 |
-
<span class="page"></span>
|
55 |
-
</div>
|
56 |
-
</div>
|
57 |
-
</body>
|
58 |
-
</html>
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
high_chart.py
DELETED
@@ -1,201 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import st_hc as hct
|
3 |
-
import download_chart as dc
|
4 |
-
from export_doc import convert_pp_to_csv
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
# Define the highchart definition
|
9 |
-
cd2 = {
|
10 |
-
"chart":{
|
11 |
-
"animation":False
|
12 |
-
},
|
13 |
-
"title":{
|
14 |
-
"text":"Cartographie des parties prenantes"
|
15 |
-
},
|
16 |
-
"tooltip":{
|
17 |
-
"valueDecimals":0
|
18 |
-
},
|
19 |
-
"xAxis":{
|
20 |
-
"title":{
|
21 |
-
"text":"Influence"
|
22 |
-
},
|
23 |
-
"min":0,
|
24 |
-
"max":100,
|
25 |
-
"plotLines":[
|
26 |
-
{
|
27 |
-
"color":"gray",
|
28 |
-
"dashStyle":"LongDash",
|
29 |
-
"width":1,
|
30 |
-
"value":50,
|
31 |
-
"label":{
|
32 |
-
"rotation":0,
|
33 |
-
"y":290,
|
34 |
-
"style":{
|
35 |
-
"color":"blue",
|
36 |
-
"font-size": "20px"
|
37 |
-
},
|
38 |
-
"text":"Tenir informé",
|
39 |
-
},
|
40 |
-
"zIndex":3
|
41 |
-
},
|
42 |
-
{
|
43 |
-
"color":"gray",
|
44 |
-
"dashStyle":"LongDash",
|
45 |
-
"width":1,
|
46 |
-
"value":50,
|
47 |
-
"label":{
|
48 |
-
"rotation":0,
|
49 |
-
"y":25,
|
50 |
-
"style":{
|
51 |
-
"color":"orange",
|
52 |
-
"font-size": "20px"
|
53 |
-
},
|
54 |
-
"text":"Gérer étroitement",
|
55 |
-
},
|
56 |
-
"zIndex":3
|
57 |
-
},
|
58 |
-
{
|
59 |
-
"color":"gray",
|
60 |
-
"dashStyle":"LongDash",
|
61 |
-
"width":1,
|
62 |
-
"value":0,
|
63 |
-
"label":{
|
64 |
-
"rotation":0,
|
65 |
-
"y":25,
|
66 |
-
"style":{
|
67 |
-
"color":"green",
|
68 |
-
"font-size": "20px"
|
69 |
-
},
|
70 |
-
"text":"Rendre satisfait",
|
71 |
-
},
|
72 |
-
"zIndex":3
|
73 |
-
},
|
74 |
-
{
|
75 |
-
"color":"gray",
|
76 |
-
"dashStyle":"LongDash",
|
77 |
-
"width":1,
|
78 |
-
"value":0,
|
79 |
-
"label":{
|
80 |
-
"rotation":0,
|
81 |
-
"y":290,
|
82 |
-
"style":{
|
83 |
-
"color":"red",
|
84 |
-
"font-size": "20px"
|
85 |
-
},
|
86 |
-
"text":"Suivre de près",
|
87 |
-
},
|
88 |
-
"zIndex":3
|
89 |
-
},
|
90 |
-
{
|
91 |
-
"color":"gray",
|
92 |
-
"dashStyle":"LongDash",
|
93 |
-
"width":1,
|
94 |
-
"value":100,
|
95 |
-
"zIndex":3
|
96 |
-
|
97 |
-
}
|
98 |
-
]
|
99 |
-
},
|
100 |
-
"yAxis":{
|
101 |
-
"title":{
|
102 |
-
"text":"Pouvoir"
|
103 |
-
},
|
104 |
-
"min":0,
|
105 |
-
"max":100,
|
106 |
-
"plotLines":[
|
107 |
-
{
|
108 |
-
"color":"gray",
|
109 |
-
"dashStyle":"LongDash",
|
110 |
-
"width":1,
|
111 |
-
"value":50,
|
112 |
-
"zIndex":3
|
113 |
-
|
114 |
-
},
|
115 |
-
{
|
116 |
-
"color":"gray",
|
117 |
-
"dashStyle":"LongDash",
|
118 |
-
"width":1,
|
119 |
-
"value":100,
|
120 |
-
"zIndex":3
|
121 |
-
},
|
122 |
-
{
|
123 |
-
"color":"gray",
|
124 |
-
"dashStyle":"LongDash",
|
125 |
-
"width":1,
|
126 |
-
"value":0,
|
127 |
-
"zIndex":3
|
128 |
-
}
|
129 |
-
],
|
130 |
-
},
|
131 |
-
"tooltip":{
|
132 |
-
"headerFormat":"",
|
133 |
-
"pointFormat":"{point.name}",
|
134 |
-
"valueDecimals":0
|
135 |
-
},
|
136 |
-
"series":[
|
137 |
-
{
|
138 |
-
"type":"bubble",
|
139 |
-
"maxSize":50,
|
140 |
-
"cursor":"move",
|
141 |
-
"name":"Influence",
|
142 |
-
"pointformat":"{point.name}",
|
143 |
-
"dragDrop":{
|
144 |
-
"draggableX":True,
|
145 |
-
"draggableY":True,
|
146 |
-
"dragMinY":0,
|
147 |
-
"dragMaxY":100,
|
148 |
-
"dragMinX":0,
|
149 |
-
"dragMaxX":100,
|
150 |
-
"dragPrecisionX":1,
|
151 |
-
"dragPrecisionY":1,
|
152 |
-
"dragSensitivity":0
|
153 |
-
},
|
154 |
-
"data":[],
|
155 |
-
"colorByPoint":True,
|
156 |
-
|
157 |
-
}
|
158 |
-
],
|
159 |
-
"exporting": {
|
160 |
-
"enabled": True
|
161 |
-
|
162 |
-
},
|
163 |
-
"legend":{
|
164 |
-
"enabled":False
|
165 |
-
}
|
166 |
-
}
|
167 |
-
|
168 |
-
|
169 |
-
def construct_data():
|
170 |
-
data = []
|
171 |
-
for i in range(10):
|
172 |
-
object = {
|
173 |
-
"x": 50+i*5,
|
174 |
-
"y": 50,
|
175 |
-
"name": f"Point{i}",
|
176 |
-
|
177 |
-
}
|
178 |
-
data.append(object)
|
179 |
-
|
180 |
-
return data
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
def test_chart():
|
186 |
-
#The component can render any highchart definition
|
187 |
-
if "pp_grouped" not in st.session_state or len(st.session_state['pp_grouped']) == 0:
|
188 |
-
return None
|
189 |
-
|
190 |
-
points = st.session_state['pp_grouped']
|
191 |
-
cd2["series"][0]["data"] = points
|
192 |
-
chart = hct.streamlit_highcharts(cd2,640) #640 is the chart height
|
193 |
-
# if chart:
|
194 |
-
# st.session_state['pp_grouped'] = chart
|
195 |
-
|
196 |
-
col0,col1,col2 = st.columns([1,1,1])
|
197 |
-
|
198 |
-
if col1.button("Sauvegarder",key="save"):
|
199 |
-
st.session_state['pp_grouped'] = chart.copy()
|
200 |
-
st.session_state["partial_emissions"]["cartographie"]["cc"] = st.session_state["emission"].stop()
|
201 |
-
return "saved"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
htmlTemplates.py
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
css = '''
|
2 |
-
<style>
|
3 |
-
.chat-message {
|
4 |
-
padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; display: flex
|
5 |
-
}
|
6 |
-
.chat-message.user {
|
7 |
-
background-color: #2b313e
|
8 |
-
}
|
9 |
-
.chat-message.bot {
|
10 |
-
background-color: #475063
|
11 |
-
}
|
12 |
-
.chat-message .avatar {
|
13 |
-
width: 20%;
|
14 |
-
}
|
15 |
-
.chat-message .avatar img {
|
16 |
-
max-width: 78px;
|
17 |
-
max-height: 78px;
|
18 |
-
border-radius: 50%;
|
19 |
-
object-fit: cover;
|
20 |
-
}
|
21 |
-
.chat-message .message {
|
22 |
-
width: 80%;
|
23 |
-
padding: 0 1.5rem;
|
24 |
-
color: #fff;
|
25 |
-
}
|
26 |
-
'''
|
27 |
-
|
28 |
-
bot_template = '''
|
29 |
-
<div class="chat-message bot">
|
30 |
-
<div class="avatar">
|
31 |
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAADoCAMAAAC+cQpPAAAAjVBMVEX///8eHh4AAAAbGxsZGRkXFxcTExMODg4NDQ0ICAgGBgYUFBT8/PzW1tbNzc309PTs7Ozl5eW/v7/f39+4uLgpKSmfn5+srKyEhISOjo7CwsLp6emVlZVjY2M0NDR4eHhTU1NCQkIvLy+vr69iYmJsbGw7OztERERLS0udnZ19fX1RUVGR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gEmGvrUsjh/pwAAAABJRU5ErkJggg==" style="max-height: 78px; max-width: 78px; border-radius: 50%; object-fit: cover;">
|
32 |
-
</div>
|
33 |
-
<div class="message">{{MSG}}</div>
|
34 |
-
</div>
|
35 |
-
'''
|
36 |
-
|
37 |
-
user_template = '''
|
38 |
-
<div class="chat-message user">
|
39 |
-
<div class="avatar">
|
40 |
-
<img src="https://media.licdn.com/dms/image/C4E03AQGvvkYN1sbUbA/profile-displayphoto-shrink_400_400/0/1588147295529?e=1714003200&v=beta&t=pAlX20zTPhqbi7ipYCkj_oUOhOgtvsy5TuJFikbH-f4">
|
41 |
-
</div>
|
42 |
-
<div class="message">{{MSG}}</div>
|
43 |
-
</div>
|
44 |
-
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
packages.txt
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
wkhtmltopdf
|
2 |
-
xfonts-75dpi
|
|
|
|
|
|
partie_prenante_carte.py
DELETED
@@ -1,490 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import pandas as pd
|
3 |
-
import numpy as np
|
4 |
-
import re
|
5 |
-
import random
|
6 |
-
import time
|
7 |
-
|
8 |
-
import streamlit as st
|
9 |
-
from dotenv import load_dotenv
|
10 |
-
from langchain_experimental.text_splitter import SemanticChunker
|
11 |
-
from langchain_community.embeddings import OpenAIEmbeddings
|
12 |
-
from langchain_community.vectorstores import FAISS
|
13 |
-
from langchain_community.chat_models import ChatOpenAI
|
14 |
-
from langchain import hub
|
15 |
-
from langchain_core.runnables import RunnablePassthrough
|
16 |
-
from langchain_community.document_loaders import WebBaseLoader,FireCrawlLoader,PyPDFLoader
|
17 |
-
from langchain_core.prompts.prompt import PromptTemplate
|
18 |
-
import os
|
19 |
-
from high_chart import test_chart
|
20 |
-
from chat_with_pps import get_response
|
21 |
-
from ecologits.tracers.utils import compute_llm_impacts
|
22 |
-
from codecarbon import EmissionsTracker
|
23 |
-
|
24 |
-
load_dotenv()
|
25 |
-
|
26 |
-
def get_docs_from_website(urls):
|
27 |
-
loader = WebBaseLoader(urls, header_template={
|
28 |
-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
|
29 |
-
})
|
30 |
-
try:
|
31 |
-
docs = loader.load()
|
32 |
-
return docs
|
33 |
-
except Exception as e:
|
34 |
-
return None
|
35 |
-
|
36 |
-
|
37 |
-
def get_docs_from_website_fc(urls,firecrawl_api_key):
|
38 |
-
docs = []
|
39 |
-
try:
|
40 |
-
for url in urls:
|
41 |
-
loader = FireCrawlLoader(api_key=firecrawl_api_key, url = url,mode="scrape")
|
42 |
-
docs+=loader.load()
|
43 |
-
return docs
|
44 |
-
except Exception as e:
|
45 |
-
return None
|
46 |
-
|
47 |
-
|
48 |
-
def get_doc_chunks(docs):
|
49 |
-
# Split the loaded data
|
50 |
-
# text_splitter = RecursiveCharacterTextSplitter(
|
51 |
-
# chunk_size=500,
|
52 |
-
# chunk_overlap=100)
|
53 |
-
|
54 |
-
text_splitter = SemanticChunker(OpenAIEmbeddings(model="text-embedding-3-small"))
|
55 |
-
|
56 |
-
docs = text_splitter.split_documents(docs)
|
57 |
-
return docs
|
58 |
-
|
59 |
-
def get_doc_chunks_fc(docs):
|
60 |
-
# Split the loaded data
|
61 |
-
# text_splitter = RecursiveCharacterTextSplitter(
|
62 |
-
# chunk_size=500,
|
63 |
-
# chunk_overlap=100)
|
64 |
-
|
65 |
-
text_splitter = SemanticChunker(OpenAIEmbeddings(model="text-embedding-3-small"))
|
66 |
-
docs_splitted = []
|
67 |
-
for text in docs:
|
68 |
-
text_splitted = text_splitter.split_text(text)
|
69 |
-
docs_splitted+=text_splitted
|
70 |
-
return docs_splitted
|
71 |
-
|
72 |
-
|
73 |
-
def get_vectorstore_from_docs(doc_chunks):
|
74 |
-
embedding = OpenAIEmbeddings(model="text-embedding-3-small")
|
75 |
-
vectorstore = FAISS.from_documents(documents=doc_chunks, embedding=embedding)
|
76 |
-
return vectorstore
|
77 |
-
|
78 |
-
def get_vectorstore_from_text(texts):
|
79 |
-
embedding = OpenAIEmbeddings(model="text-embedding-3-small")
|
80 |
-
vectorstore = FAISS.from_texts(texts=texts, embedding=embedding)
|
81 |
-
return vectorstore
|
82 |
-
|
83 |
-
def get_conversation_chain(vectorstore):
|
84 |
-
llm = ChatOpenAI(model="gpt-4o",temperature=0.5, max_tokens=2048)
|
85 |
-
|
86 |
-
retriever=vectorstore.as_retriever()
|
87 |
-
|
88 |
-
prompt = hub.pull("rlm/rag-prompt")
|
89 |
-
# Chain
|
90 |
-
rag_chain = (
|
91 |
-
{"context": retriever , "question": RunnablePassthrough()}
|
92 |
-
| prompt
|
93 |
-
| llm
|
94 |
-
)
|
95 |
-
return rag_chain
|
96 |
-
|
97 |
-
# FILL THE PROMPT FOR THE QUESTION VARIABLE THAT WILL BE USED IN THE RAG PROMPT, ATTENTION NOT CONFUSE WITH THE RAG PROMPT
|
98 |
-
def fill_promptQ_template(input_variables, template):
|
99 |
-
prompt = PromptTemplate(input_variables=["BRAND_NAME","BRAND_DESCRIPTION"], template=template)
|
100 |
-
return prompt.format(BRAND_NAME=input_variables["BRAND_NAME"], BRAND_DESCRIPTION=input_variables["BRAND_DESCRIPTION"])
|
101 |
-
|
102 |
-
def text_to_list(text):
|
103 |
-
lines = text.replace("- ","").split('\n')
|
104 |
-
|
105 |
-
lines = [line.split() for line in lines]
|
106 |
-
items = [[' '.join(line[:-1]),line[-1]] for line in lines]
|
107 |
-
|
108 |
-
# Assuming `items` is the list of items
|
109 |
-
for item in items:
|
110 |
-
item[1] = re.sub(r'\D', '', item[1])
|
111 |
-
return items
|
112 |
-
|
113 |
-
def delete_pp(pps):
|
114 |
-
for pp in pps:
|
115 |
-
for i in range(len(st.session_state['pp_grouped'])):
|
116 |
-
if st.session_state['pp_grouped'][i]['name'] == pp:
|
117 |
-
del st.session_state['pp_grouped'][i]
|
118 |
-
break
|
119 |
-
|
120 |
-
def display_list_urls():
|
121 |
-
for index, item in enumerate(st.session_state["urls"]):
|
122 |
-
emp = st.empty() # Create an empty placeholder
|
123 |
-
col1, col2 = emp.columns([7, 3]) # Divide the space into two columns
|
124 |
-
|
125 |
-
# Button to delete the entry, placed in the second column
|
126 |
-
if col2.button("❌", key=f"but{index}"):
|
127 |
-
temp = st.session_state['parties_prenantes'][index]
|
128 |
-
delete_pp(temp)
|
129 |
-
del st.session_state.urls[index]
|
130 |
-
del st.session_state["parties_prenantes"][index]
|
131 |
-
st.rerun() # Rerun the app to update the display
|
132 |
-
|
133 |
-
if len(st.session_state.urls) > index:
|
134 |
-
# Instead of using markdown, use an expander in the first column
|
135 |
-
with col1.expander(f"Source {index+1}: {item}"):
|
136 |
-
pp = st.session_state["parties_prenantes"][index]
|
137 |
-
st.write(pd.DataFrame(pp, columns=["Partie prenante"]))
|
138 |
-
else:
|
139 |
-
emp.empty() # Clear the placeholder if the index exceeds the list
|
140 |
-
|
141 |
-
def colored_circle(color):
|
142 |
-
return f'<span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: {color};"></span>'
|
143 |
-
|
144 |
-
def display_list_pps():
|
145 |
-
for index, item in enumerate(st.session_state["pp_grouped"]):
|
146 |
-
emp = st.empty()
|
147 |
-
col1, col2 = emp.columns([7, 3])
|
148 |
-
|
149 |
-
if col2.button("❌", key=f"butp{index}"):
|
150 |
-
|
151 |
-
del st.session_state["pp_grouped"][index]
|
152 |
-
st.rerun()
|
153 |
-
|
154 |
-
if len(st.session_state["pp_grouped"]) > index:
|
155 |
-
name = st.session_state["pp_grouped"][index]["name"]
|
156 |
-
col1.markdown(f'<p>{colored_circle(st.session_state["pp_grouped"][index]["color"])} {st.session_state["pp_grouped"][index]["name"]}</p>',
|
157 |
-
unsafe_allow_html=True
|
158 |
-
)
|
159 |
-
else:
|
160 |
-
emp.empty()
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
def extract_pp(docs,input_variables):
|
165 |
-
template_extraction_PP = """
|
166 |
-
Objectif : Identifiez toutes les parties prenantes de la marque suivante :
|
167 |
-
|
168 |
-
Le nom de la marque de référence est le suivant : {BRAND_NAME}
|
169 |
-
|
170 |
-
TA RÉPONSE DOIT ÊTRE SOUS FORME DE LISTE DE NOMS DE MARQUES, CHAQUE NOM SUR UNE LIGNE SÉPARÉE.
|
171 |
-
|
172 |
-
"""
|
173 |
-
#don't forget to add the input variables from the maim function
|
174 |
-
|
175 |
-
if docs == None:
|
176 |
-
return "445"
|
177 |
-
|
178 |
-
#get text chunks
|
179 |
-
text_chunks = get_doc_chunks(docs)
|
180 |
-
|
181 |
-
#create vectorstore
|
182 |
-
vectorstore = get_vectorstore_from_docs(text_chunks)
|
183 |
-
|
184 |
-
chain = get_conversation_chain(vectorstore)
|
185 |
-
|
186 |
-
question = fill_promptQ_template(input_variables, template_extraction_PP)
|
187 |
-
|
188 |
-
start = time.perf_counter()
|
189 |
-
response = chain.invoke(question)
|
190 |
-
|
191 |
-
response_latency = time.perf_counter() - start
|
192 |
-
# version plus poussée a considérer
|
193 |
-
# each item in the list is a list with the name of the brand and the similarity percentage
|
194 |
-
# partie_prenante = text_to_list(response.content)
|
195 |
-
if "ne sais pas" in response.content:
|
196 |
-
return "444"
|
197 |
-
|
198 |
-
#calculate impact
|
199 |
-
nbre_out_tokens = response.response_metadata["token_usage"]["completion_tokens"]
|
200 |
-
provider = "openai"
|
201 |
-
model = "gpt-4o"
|
202 |
-
impact = compute_llm_impacts(
|
203 |
-
provider=provider,
|
204 |
-
model_name=model,
|
205 |
-
output_token_count=nbre_out_tokens,
|
206 |
-
request_latency=response_latency,
|
207 |
-
)
|
208 |
-
|
209 |
-
st.session_state["partial_emissions"]["extraction_pp"]["el"] += impact.gwp.value
|
210 |
-
#version simple
|
211 |
-
partie_prenante = response.content.replace("- ","").split('\n')
|
212 |
-
partie_prenante = [item.strip() for item in partie_prenante]
|
213 |
-
|
214 |
-
return partie_prenante
|
215 |
-
|
216 |
-
def generate_random_color():
|
217 |
-
# Generate random RGB values
|
218 |
-
r = random.randint(0, 255)
|
219 |
-
g = random.randint(0, 255)
|
220 |
-
b = random.randint(0, 255)
|
221 |
-
|
222 |
-
# Convert RGB to hexadecimal
|
223 |
-
color_hex = '#{:02x}{:02x}{:02x}'.format(r, g, b)
|
224 |
-
|
225 |
-
return color_hex
|
226 |
-
|
227 |
-
|
228 |
-
def format_pp_add_viz(pp):
|
229 |
-
y = 50
|
230 |
-
x = 50
|
231 |
-
for i in range(len(st.session_state['pp_grouped'])):
|
232 |
-
if st.session_state['pp_grouped'][i]['y'] == y and st.session_state['pp_grouped'][i]['x'] == x:
|
233 |
-
y += 5
|
234 |
-
if y > 95:
|
235 |
-
y = 50
|
236 |
-
x += 5
|
237 |
-
if st.session_state['pp_grouped'][i]['name'] == pp:
|
238 |
-
return None
|
239 |
-
else:
|
240 |
-
st.session_state['pp_grouped'].append({'name':pp, 'x':x,'y':y, 'color':generate_random_color()})
|
241 |
-
|
242 |
-
def add_pp(new_pp, default_value=50):
|
243 |
-
new_pp = sorted(new_pp)
|
244 |
-
new_pp = [item.lower().capitalize().strip() for item in new_pp]
|
245 |
-
st.session_state['parties_prenantes'].append(new_pp)
|
246 |
-
for pp in new_pp:
|
247 |
-
format_pp_add_viz(pp)
|
248 |
-
|
249 |
-
def add_existing_pps(pp,pouvoir,influence):
|
250 |
-
for i in range(len(st.session_state['pp_grouped'])):
|
251 |
-
if st.session_state['pp_grouped'][i]['name'] == pp:
|
252 |
-
st.session_state['pp_grouped'][i]['x'] = influence
|
253 |
-
st.session_state['pp_grouped'][i]['y'] = pouvoir
|
254 |
-
return None
|
255 |
-
st.session_state['pp_grouped'].append({'name':pp, 'x':influence,'y':pouvoir, 'color':generate_random_color()})
|
256 |
-
|
257 |
-
def load_csv(file):
|
258 |
-
df = pd.read_csv(file)
|
259 |
-
for index, row in df.iterrows():
|
260 |
-
add_existing_pps(row['parties prenantes'],row['pouvoir'],row['influence'])
|
261 |
-
|
262 |
-
|
263 |
-
def add_pp_input_text():
|
264 |
-
new_pp = st.text_input("Ajouter une partie prenante")
|
265 |
-
if st.button("Ajouter",key="add_single_pp"):
|
266 |
-
format_pp_add_viz(new_pp)
|
267 |
-
|
268 |
-
|
269 |
-
def complete_and_verify_url(partial_url):
|
270 |
-
# Regex pattern for validating a URL
|
271 |
-
regex = re.compile(
|
272 |
-
r'^(?:http|ftp)s?://' # http:// or https://
|
273 |
-
r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,8}\.?|' # domain
|
274 |
-
r'localhost|' # localhost...
|
275 |
-
r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip
|
276 |
-
r'(?::\d+)?' # optional port
|
277 |
-
r'(?:/?|[/?]\S+)$', re.IGNORECASE)
|
278 |
-
|
279 |
-
regex = re.compile(
|
280 |
-
r'^(?:http|ftp)s?://' # http:// or https://
|
281 |
-
r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,8}\.?|' # domain name
|
282 |
-
r'localhost|' # or localhost
|
283 |
-
r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # or IPv4 address
|
284 |
-
r'(?::\d+)?' # optional port
|
285 |
-
r'(?:[/?#][^\s]*)?$', # optional path, query, or fragment
|
286 |
-
re.IGNORECASE)
|
287 |
-
|
288 |
-
# Complete the URL if it doesn't have http:// or https://
|
289 |
-
if not partial_url.startswith(('http://', 'https://', 'www.')):
|
290 |
-
if not partial_url.startswith('www.'):
|
291 |
-
complete_url = 'https://www.' + partial_url
|
292 |
-
else:
|
293 |
-
complete_url = 'https://' + partial_url
|
294 |
-
|
295 |
-
elif partial_url.startswith('www.'):
|
296 |
-
complete_url = 'https://' + partial_url
|
297 |
-
|
298 |
-
else:
|
299 |
-
complete_url = partial_url
|
300 |
-
|
301 |
-
# Check if the URL is valid
|
302 |
-
if re.match(regex, complete_url):
|
303 |
-
return (True, complete_url)
|
304 |
-
else:
|
305 |
-
return (False, complete_url)
|
306 |
-
|
307 |
-
@st.dialog("Conseil IA",width="large")
|
308 |
-
def show_conseil_ia():
|
309 |
-
prompt = "Prenant compte les données de l'entreprise (activité, produits, services ...), quelles sont les principales parties prenantes à animer pour une démarche RSE réussie ?"
|
310 |
-
st.markdown(f"**{prompt}**")
|
311 |
-
response = st.write_stream(get_response(prompt, "",st.session_state["latest_doc"][0].page_content))
|
312 |
-
st.warning("Quittez et saisissez une autre URL")
|
313 |
-
|
314 |
-
def display_pp():
|
315 |
-
if "emission" not in st.session_state:
|
316 |
-
tracker = EmissionsTracker()
|
317 |
-
tracker.start()
|
318 |
-
st.session_state["emission"] = tracker
|
319 |
-
|
320 |
-
load_dotenv()
|
321 |
-
fire_crawl_api_key = os.getenv("FIRECRAWL_API_KEY")
|
322 |
-
|
323 |
-
#check if brand name and description are already set
|
324 |
-
if "Nom de la marque" not in st.session_state:
|
325 |
-
st.session_state["Nom de la marque"] = ""
|
326 |
-
|
327 |
-
#check if urls and partie prenante are already set
|
328 |
-
if "urls" not in st.session_state:
|
329 |
-
st.session_state["urls"] = []
|
330 |
-
if "parties_prenantes" not in st.session_state:
|
331 |
-
st.session_state['parties_prenantes'] = []
|
332 |
-
if "pp_grouped" not in st.session_state: #servira pour le plot et la cartographie des parties prenantes, regroupe sans doublons
|
333 |
-
st.session_state['pp_grouped'] = []
|
334 |
-
if "latest_doc" not in st.session_state:
|
335 |
-
st.session_state['latest_doc'] = ""
|
336 |
-
if "not_pp" not in st.session_state:
|
337 |
-
st.session_state["not_pp"] = ""
|
338 |
-
|
339 |
-
|
340 |
-
st.title("IDENTIFIER ET ANIMER VOS PARTIES PRENANTES")
|
341 |
-
#set brand name and description
|
342 |
-
brand_name = st.text_input("Nom de la marque", st.session_state["Nom de la marque"])
|
343 |
-
st.session_state["Nom de la marque"] = brand_name
|
344 |
-
|
345 |
-
option = st.radio("Source", ("A partir de votre site web", "A partir de vos documents entreprise","A partir de cartographie existante"))
|
346 |
-
|
347 |
-
#if the user chooses to extract from website
|
348 |
-
if option == "A partir de votre site web":
|
349 |
-
|
350 |
-
url = st.text_input("Ajouter une URL")
|
351 |
-
|
352 |
-
captions = ["L’IA prend en compte uniquement les textes contenus dans les pages web analysées","L’IA prend en compte les textes, les images et les liens URL contenus dans les pages web analysées"]
|
353 |
-
scraping_option = st.radio("Mode", ("Analyse rapide", "Analyse profonde"),horizontal=True,captions = captions)
|
354 |
-
#if the user clicks on the button
|
355 |
-
if st.button("ajouter",key="add_pp"):
|
356 |
-
st.session_state["not_pp"] = ""
|
357 |
-
#complete and verify the url
|
358 |
-
is_valid,url = complete_and_verify_url(url)
|
359 |
-
if not is_valid:
|
360 |
-
st.error("URL invalide")
|
361 |
-
elif url in st.session_state["urls"] :
|
362 |
-
st.error("URL déjà ajoutée")
|
363 |
-
|
364 |
-
else:
|
365 |
-
if scraping_option == "Analyse profonde":
|
366 |
-
with st.spinner("Collecte des données..."):
|
367 |
-
docs = get_docs_from_website_fc([url],fire_crawl_api_key)
|
368 |
-
if docs is None:
|
369 |
-
st.warning("Erreur lors de la collecte des données, 2eme essai avec collecte rapide...")
|
370 |
-
with st.spinner("2eme essai, collecte rapide..."):
|
371 |
-
docs = get_docs_from_website([url])
|
372 |
-
|
373 |
-
if scraping_option == "Analyse rapide":
|
374 |
-
with st.spinner("Collecte des données..."):
|
375 |
-
docs = get_docs_from_website([url])
|
376 |
-
|
377 |
-
if docs is None:
|
378 |
-
st.error("Erreur lors de la collecte des données, URL unvalide")
|
379 |
-
st.session_state["latest_doc"] = ""
|
380 |
-
else:
|
381 |
-
# Création de l'expander
|
382 |
-
st.session_state["partial_emissions"]["Scrapping"]["cc"] = st.session_state["emission"].stop()
|
383 |
-
st.session_state["latest_doc"] = docs
|
384 |
-
|
385 |
-
with st.spinner("Processing..."):
|
386 |
-
|
387 |
-
#handle the extraction
|
388 |
-
input_variables = {"BRAND_NAME": brand_name, "BRAND_DESCRIPTION": ""}
|
389 |
-
partie_prenante = extract_pp(docs, input_variables)
|
390 |
-
|
391 |
-
if "444" in partie_prenante: #444 is the code for no brand found , chosen
|
392 |
-
st.session_state["not_pp"] = "444"
|
393 |
-
|
394 |
-
elif "445" in partie_prenante: #445 is the code for no website found with the given url
|
395 |
-
st.error("Aucun site web trouvé avec l'url donnée")
|
396 |
-
st.session_state["not_pp"] = ""
|
397 |
-
else:
|
398 |
-
st.session_state["not_pp"] = ""
|
399 |
-
partie_prenante = sorted(partie_prenante)
|
400 |
-
st.session_state["urls"].append(url)
|
401 |
-
add_pp(partie_prenante)
|
402 |
-
st.session_state["partial_emissions"]["extraction_pp"]["cc"] = st.session_state["emission"].stop()
|
403 |
-
|
404 |
-
|
405 |
-
# alphabet = [ pp[0] for pp in partie_prenante]
|
406 |
-
# pouvoir = [ 50 for _ in range(len(partie_prenante))]
|
407 |
-
# df = pd.DataFrame({'partie_prenante': partie_prenante, 'pouvoir': pouvoir, 'code couleur': partie_prenante})
|
408 |
-
# st.write(df)
|
409 |
-
|
410 |
-
# c = (
|
411 |
-
# alt.Chart(df)
|
412 |
-
# .mark_circle(size=300)
|
413 |
-
# .encode(x="partie_prenante", y=alt.Y("pouvoir",scale=alt.Scale(domain=[0,100])), color="code couleur")
|
414 |
-
# )
|
415 |
-
# st.subheader("Vertical Slider")
|
416 |
-
# age = st.slider("How old are you?", 0, 130, 25)
|
417 |
-
# st.write("I'm ", age, "years old")
|
418 |
-
|
419 |
-
# disp_vertical_slider(partie_prenante)
|
420 |
-
# st.altair_chart(c, use_container_width=True)
|
421 |
-
if option =="A partir de vos documents entreprise":
|
422 |
-
|
423 |
-
uploaded_file = st.file_uploader("Télécharger le fichier PDF", type="pdf")
|
424 |
-
if uploaded_file is not None:
|
425 |
-
|
426 |
-
if st.button("ajouter",key="add_pp_pdf"):
|
427 |
-
st.session_state["not_pp"] = ""
|
428 |
-
|
429 |
-
with st.spinner("Processing..."):
|
430 |
-
file_name = uploaded_file.name
|
431 |
-
with open(file_name, mode='wb') as w:
|
432 |
-
w.write(uploaded_file.getvalue())
|
433 |
-
pdf = PyPDFLoader(file_name)
|
434 |
-
text = pdf.load()
|
435 |
-
st.session_state["latest_doc"] = text
|
436 |
-
input_variables = {"BRAND_NAME": brand_name, "BRAND_DESCRIPTION": ""}
|
437 |
-
partie_prenante = extract_pp(text, input_variables)
|
438 |
-
|
439 |
-
if "444" in partie_prenante: #444 is the code for no brand found , chosen
|
440 |
-
st.session_state["not_pp"] = "444"
|
441 |
-
|
442 |
-
elif "445" in partie_prenante: #445 is the code for no website found with the given url
|
443 |
-
st.error("Aucun site web trouvé avec l'url donnée")
|
444 |
-
st.session_state["not_pp"] = ""
|
445 |
-
|
446 |
-
else:
|
447 |
-
st.session_state["not_pp"] = ""
|
448 |
-
partie_prenante = sorted(partie_prenante)
|
449 |
-
st.session_state["urls"].append(file_name)
|
450 |
-
add_pp(partie_prenante)
|
451 |
-
|
452 |
-
if option == "A partir de cartographie existante":
|
453 |
-
uploaded_file = st.file_uploader("Télécharger le fichier CSV", type="csv")
|
454 |
-
if uploaded_file is not None:
|
455 |
-
if st.button("ajouter",key="add_pp_csv"):
|
456 |
-
file_name = uploaded_file.name
|
457 |
-
with open(file_name, mode='wb') as w:
|
458 |
-
w.write(uploaded_file.getvalue())
|
459 |
-
|
460 |
-
try:
|
461 |
-
load_csv(file_name)
|
462 |
-
brand_name_from_csv = file_name.split("-")[1]
|
463 |
-
st.session_state["Nom de la marque"] = brand_name_from_csv
|
464 |
-
except Exception as e:
|
465 |
-
st.error("Erreur lors de la lecture du fichier")
|
466 |
-
|
467 |
-
|
468 |
-
if st.session_state["not_pp"] == "444":
|
469 |
-
st.warning("Aucune parties prenantes n'est identifiable sur l'URL fournie. Fournissez une autre URL ou bien cliquez sur le boutton ci-dessous pour un Conseils IA")
|
470 |
-
|
471 |
-
if st.button("Conseil IA"):
|
472 |
-
show_conseil_ia()
|
473 |
-
#display docs
|
474 |
-
if st.session_state["latest_doc"] != "":
|
475 |
-
with st.expander("Cliquez ici pour éditer et voir le document"):
|
476 |
-
docs = st.session_state["latest_doc"]
|
477 |
-
cleaned_text = re.sub(r'\n\n+', '\n\n', docs[0].page_content.strip())
|
478 |
-
text_value = st.text_area("Modifier le texte ci-dessous:", value=cleaned_text, height=300)
|
479 |
-
if st.button('Sauvegarder',key="save_doc_fake"):
|
480 |
-
st.success("Texte sauvegardé avec succès!")
|
481 |
-
|
482 |
-
display_list_urls()
|
483 |
-
with st.expander("Liste des parties prenantes"):
|
484 |
-
add_pp_input_text()
|
485 |
-
display_list_pps()
|
486 |
-
test_chart()
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
partiesprenantes.py
CHANGED
@@ -30,7 +30,6 @@ def display_company_selection_for_materiality(data):
|
|
30 |
|
31 |
selected_company = st.selectbox('Sélectionnez une entreprise', companies, index=0)
|
32 |
|
33 |
-
|
34 |
# If the default selection is still selected, return None
|
35 |
if selected_company == "Sélectionner l'entreprise engagée à découvrir":
|
36 |
return None
|
|
|
30 |
|
31 |
selected_company = st.selectbox('Sélectionnez une entreprise', companies, index=0)
|
32 |
|
|
|
33 |
# If the default selection is still selected, return None
|
34 |
if selected_company == "Sélectionner l'entreprise engagée à découvrir":
|
35 |
return None
|
prompt.py
DELETED
@@ -1,135 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from st_copy_to_clipboard import st_copy_to_clipboard
|
3 |
-
import pandas as pd
|
4 |
-
from data_manager_bziiit import get_prompts
|
5 |
-
from langchain_core.messages import AIMessage, HumanMessage
|
6 |
-
from session import get_rag
|
7 |
-
|
8 |
-
prompts = []
|
9 |
-
def get_prompts_list():
|
10 |
-
st.header("Prompts")
|
11 |
-
prompts = get_prompts()
|
12 |
-
|
13 |
-
# Check if prompts is a list of dictionaries
|
14 |
-
if isinstance(prompts, list) and all(isinstance(i, dict) for i in prompts):
|
15 |
-
# Create a DataFrame
|
16 |
-
df = pd.DataFrame(prompts)
|
17 |
-
# Check if 'name', 'context', and 'text' are in df columns
|
18 |
-
if 'name' in df.columns and 'context' in df.columns and 'text' in df.columns:
|
19 |
-
# Filter prompts with id_context as 'rse' or 'transition'
|
20 |
-
df = df[df['id_context'].isin([
|
21 |
-
'identifier-parties-prenantes-organisation',
|
22 |
-
'animer-parties-prenantes-organisation',
|
23 |
-
'pour-accelerer-la-demarche-rse',
|
24 |
-
'pour-accelerer-la-demarche-transition-ecologique',
|
25 |
-
'ressources-humaines'
|
26 |
-
])]
|
27 |
-
|
28 |
-
# Extract 'name' from 'context' dictionary
|
29 |
-
df['context'] = df['context'].apply(lambda x: x.get('name') if isinstance(x, dict) else x)
|
30 |
-
|
31 |
-
# Get first 50 characters from 'text' and add "..." at the end
|
32 |
-
df['text'] = df['text'].apply(lambda x: x[:50] + "..." if isinstance(x, str) else x)
|
33 |
-
|
34 |
-
# Group by 'context'
|
35 |
-
grouped = df.groupby('context')
|
36 |
-
|
37 |
-
|
38 |
-
for name, group in grouped:
|
39 |
-
num = 1
|
40 |
-
|
41 |
-
with st.expander(name):
|
42 |
-
for i, row in group.iterrows():
|
43 |
-
col1, col3, col4 = st.columns((0.4, 4, 2))
|
44 |
-
col1.write(num) # index
|
45 |
-
# col2.write(row['name']) # name
|
46 |
-
col3.write(row['text']) # text
|
47 |
-
num += 1
|
48 |
-
|
49 |
-
button_phold = col4.empty() # create a placeholder
|
50 |
-
but1, but2 = button_phold.columns(2)
|
51 |
-
|
52 |
-
do_action = but1.button('Voir plus', key=f"v{i}")
|
53 |
-
execute = but2.button('Executer', key=f"e{i}")
|
54 |
-
|
55 |
-
if execute:
|
56 |
-
st.session_state.chat_history.append(HumanMessage(content=prompts[i]['text']))
|
57 |
-
st.rerun()
|
58 |
-
if do_action:
|
59 |
-
prompt_html = prompts[i]['text'].replace('\n', '<br>')
|
60 |
-
prompt_metadata = extract_metadata(prompts[i])
|
61 |
-
|
62 |
-
for text in prompt_metadata:
|
63 |
-
prompt_html = prompt_html.replace(f"{text}", f"<span style='font-weight:bold'>{text}</span>")
|
64 |
-
|
65 |
-
st.html(prompt_html)
|
66 |
-
|
67 |
-
else:
|
68 |
-
st.write("Data does not contain 'name', 'context', and 'text' fields.")
|
69 |
-
else:
|
70 |
-
st.write("Data is not in the expected format (list of dictionaries).")
|
71 |
-
|
72 |
-
|
73 |
-
def prompt_execution():
|
74 |
-
prompts = get_prompts()
|
75 |
-
|
76 |
-
selected_prompt = st.selectbox("Choisissez un prompt", prompts, index=None, format_func=lambda prompt: prompt['name'])
|
77 |
-
if selected_prompt:
|
78 |
-
return selected_prompt
|
79 |
-
|
80 |
-
return None
|
81 |
-
|
82 |
-
|
83 |
-
def execute_prompt(prompt):
|
84 |
-
# Initialiser les composants
|
85 |
-
vectorstore, chain = get_rag()
|
86 |
-
|
87 |
-
prompt_metadata = extract_metadata(prompt)
|
88 |
-
|
89 |
-
prompt['metadata'] = prompt['text']
|
90 |
-
prompt['html'] = prompt['text'].replace('\n', '<br>')
|
91 |
-
|
92 |
-
if prompt_metadata:
|
93 |
-
st.info("Données à compléter")
|
94 |
-
|
95 |
-
# Demander à l'utilisateur de fournir des valeurs pour chaque métadonnée extraite
|
96 |
-
user_inputs = {}
|
97 |
-
for text in prompt_metadata:
|
98 |
-
prompt['html'] = prompt['html'].replace(f"{text}", f"<span style='font-weight:bold'>{text}</span>")
|
99 |
-
|
100 |
-
user_input = st.text_input(f"{text}")
|
101 |
-
user_inputs[text] = user_input # Stocker la valeur de l'entrée utilisateur
|
102 |
-
|
103 |
-
# Remplacer les valeurs par le texte correspondant dans prompt['text']
|
104 |
-
for key, value in user_inputs.items():
|
105 |
-
if value:
|
106 |
-
prompt['html'] = prompt['html'].replace(f"{key}", f"<span style='color:#63ABDF;font-weight:bold' title='{key}'>{value}</span>")
|
107 |
-
prompt['metadata'] = prompt['metadata'].replace(f"{key}", f"{value}")
|
108 |
-
|
109 |
-
# Afficher les informations du prompt
|
110 |
-
if prompt_metadata:
|
111 |
-
st.markdown("---")
|
112 |
-
|
113 |
-
st.html(prompt.get('html', 'No Text Provided'))
|
114 |
-
|
115 |
-
if vectorstore and chain:
|
116 |
-
|
117 |
-
if st.button("Exécuter le prompt"):
|
118 |
-
with st.spinner("Processing..."):
|
119 |
-
ambition = chain.invoke(prompt['metadata'])
|
120 |
-
st.markdown("### Réponse :")
|
121 |
-
st.markdown(ambition.content)
|
122 |
-
else:
|
123 |
-
st.error("RAG non configuré. Veuillez configurer votre RAG pour exécuter le prompt.")
|
124 |
-
|
125 |
-
# Extraire le texte entre crochets dans le prompt
|
126 |
-
def extract_metadata(prompt):
|
127 |
-
extracted_text = []
|
128 |
-
if 'text' in prompt:
|
129 |
-
extracted_text = [word for word in prompt['text'].split() if word.startswith("[") and word.endswith("]")]
|
130 |
-
|
131 |
-
# Supprimer les doublons et trier les métadonnées extraites
|
132 |
-
prompt_metadata = list(set(extracted_text))
|
133 |
-
prompt_metadata.sort(key=extracted_text.index) # Conserver l'ordre d'apparition initial
|
134 |
-
|
135 |
-
return prompt_metadata
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rag.py
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import PyPDF2
|
2 |
+
import spacy
|
3 |
+
from impactscoreTest import classify_actions_rse_impact_score
|
4 |
+
from ODD import classify_actions_rse_ODD
|
5 |
+
|
6 |
+
# Chargement du modèle spaCy
|
7 |
+
nlp = spacy.load("fr_core_news_sm")
|
8 |
+
|
9 |
+
# Étape 1 : Prétraitement des documents PDF
|
10 |
+
def extract_text_from_pdf(pdf_path):
|
11 |
+
text = ""
|
12 |
+
with open(pdf_path, "rb") as f:
|
13 |
+
pdf_reader = PyPDF2.PdfReader(f)
|
14 |
+
for page in pdf_reader.pages:
|
15 |
+
text += page.extract_text()
|
16 |
+
return text
|
17 |
+
|
18 |
+
# Étape 2 : Traitement du langage naturel (NLP)
|
19 |
+
def process_text(text):
|
20 |
+
doc = nlp(text)
|
21 |
+
return doc
|
22 |
+
|
23 |
+
# Étape 3 : Extraction d'informations clés
|
24 |
+
def extract_key_information(doc):
|
25 |
+
key_information = []
|
26 |
+
for entity in doc.ents:
|
27 |
+
if entity.label_ == "ORG":
|
28 |
+
name = entity.text
|
29 |
+
if name[0].lower() in ['a', 'e', 'i', 'o', 'u', 'y']: # Vérification si le nom commence par une voyelle
|
30 |
+
key_information.append(f"l'{name}")
|
31 |
+
else:
|
32 |
+
key_information.append(f"le {name}")
|
33 |
+
return key_information
|
34 |
+
|
35 |
+
# Étape 4 : Modélisation
|
36 |
+
def generate_transition_plan(key_information, impact_score_criteria, odd_criteria):
|
37 |
+
transition_plan = "Voici votre plan de transition : \n\n"
|
38 |
+
|
39 |
+
transition_plan += "Informations clés :\n"
|
40 |
+
for info in key_information:
|
41 |
+
transition_plan += f"- {info}\n"
|
42 |
+
|
43 |
+
transition_plan += "\nCritères d'impact score :\n"
|
44 |
+
for criterion, companies in impact_score_criteria.items():
|
45 |
+
transition_plan += f"- {criterion}:\n"
|
46 |
+
for company in companies:
|
47 |
+
transition_plan += f" * {company['name']} ({company['activity']}, {company['city']})\n"
|
48 |
+
|
49 |
+
transition_plan += "\nCritères ODD :\n"
|
50 |
+
for criterion, companies in odd_criteria.items():
|
51 |
+
transition_plan += f"- {criterion}:\n"
|
52 |
+
for company in companies:
|
53 |
+
transition_plan += f" * {company['name']} ({company['activity']}, {company['city']})\n"
|
54 |
+
|
55 |
+
return transition_plan
|
56 |
+
|
57 |
+
|
58 |
+
# Étape 5 : Intégration avec le RAG de Hugging Face
|
59 |
+
def generate_plan_from_pdf(pdf_path):
|
60 |
+
text = extract_text_from_pdf(pdf_path)
|
61 |
+
doc = process_text(text)
|
62 |
+
key_information = extract_key_information(doc)
|
63 |
+
impact_score_criteria = classify_actions_rse_impact_score(doc)
|
64 |
+
odd_criteria = classify_actions_rse_ODD(doc) # Utiliser la fonction ODD
|
65 |
+
transition_plan = generate_transition_plan(key_information, impact_score_criteria, odd_criteria)
|
66 |
+
return transition_plan
|
67 |
+
|
68 |
+
# Étape 6 : Test et validation
|
69 |
+
pdf_path = "trans1.pdf"
|
70 |
+
transition_plan = generate_plan_from_pdf(pdf_path)
|
71 |
+
print(transition_plan)
|
rag_funcs.py
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
from firecrawl import FireCrawl
|
2 |
-
|
3 |
-
|
4 |
-
def get_docs_from_website_fc(urls):
|
5 |
-
app = FireCrawl()
|
6 |
-
docs = []
|
7 |
-
try:
|
8 |
-
for url in urls:
|
9 |
-
content = app.scrape_url(url)
|
10 |
-
docs.append(content["markdown"])
|
11 |
-
return docs
|
12 |
-
except Exception as e:
|
13 |
-
return None
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
streamlit
|
2 |
pandas
|
3 |
requests
|
4 |
folium
|
@@ -12,33 +12,3 @@ plotly
|
|
12 |
matplotlib
|
13 |
openai
|
14 |
beautifulsoup4
|
15 |
-
python-dotenv
|
16 |
-
faiss-cpu
|
17 |
-
langchain
|
18 |
-
huggingface-hub
|
19 |
-
PyPDF2
|
20 |
-
pypdf
|
21 |
-
tiktoken
|
22 |
-
openai
|
23 |
-
InstructorEmbedding
|
24 |
-
sentence-transformers==2.2.2
|
25 |
-
langchainhub
|
26 |
-
plotly==5.22.0
|
27 |
-
altair
|
28 |
-
altair[all]
|
29 |
-
streamlit-vertical-slider
|
30 |
-
streamlit_toggle
|
31 |
-
langchain_experimental
|
32 |
-
streamlit_draggable_list
|
33 |
-
streamlit-highcharts
|
34 |
-
pdfkit
|
35 |
-
kaleido
|
36 |
-
langchain-core
|
37 |
-
langchain-mistralai
|
38 |
-
firecrawl-py
|
39 |
-
st_copy_to_clipboard
|
40 |
-
fpdf2
|
41 |
-
markdown2
|
42 |
-
markdown
|
43 |
-
codecarbon
|
44 |
-
ecologits==0.1.7
|
|
|
1 |
+
streamlit
|
2 |
pandas
|
3 |
requests
|
4 |
folium
|
|
|
12 |
matplotlib
|
13 |
openai
|
14 |
beautifulsoup4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
session.py
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
def get_rag():
|
4 |
-
if 'vectorstore' in st.session_state and 'chain' in st.session_state:
|
5 |
-
vectorstore = st.session_state['vectorstore']
|
6 |
-
chain = st.session_state['chain']
|
7 |
-
|
8 |
-
return vectorstore, chain
|
9 |
-
else:
|
10 |
-
return None, None
|
11 |
-
|
12 |
-
def set_rag(vectorstore, chain):
|
13 |
-
st.session_state['vectorstore'] = vectorstore
|
14 |
-
st.session_state['chain'] = chain
|
15 |
-
|
16 |
-
def set_partie_prenante(partie_prenante):
|
17 |
-
if "partie_prenante" not in st.session_state:
|
18 |
-
st.session_state['partie_prenante'] = []
|
19 |
-
st.session_state['partie_prenante'] = partie_prenante
|
20 |
-
|
21 |
-
def get_partie_prenante():
|
22 |
-
if 'parties_prenante' in st.session_state:
|
23 |
-
return st.session_state['partie_prenante']
|
24 |
-
else:
|
25 |
-
return None
|
26 |
-
|
27 |
-
def get_parties_prenantes():
|
28 |
-
if 'parties_prenantes' in st.session_state:
|
29 |
-
return st.session_state['parties_prenantes']
|
30 |
-
else:
|
31 |
-
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
st_hc/__init__.py
DELETED
@@ -1,2562 +0,0 @@
|
|
1 |
-
from pathlib import Path
|
2 |
-
from typing import Optional
|
3 |
-
|
4 |
-
import streamlit as st
|
5 |
-
import streamlit.components.v1 as components
|
6 |
-
|
7 |
-
SAMPLE={
|
8 |
-
|
9 |
-
"title": {
|
10 |
-
"text": 'U.S Solar Employment Growth by Job Category, 2010-2020'
|
11 |
-
},
|
12 |
-
|
13 |
-
"subtitle": {
|
14 |
-
"text": 'Source: <a href="https://irecusa.org/programs/solar-jobs-census/" target="_blank">IREC</a>'
|
15 |
-
},
|
16 |
-
|
17 |
-
"yAxis": {
|
18 |
-
"title": {
|
19 |
-
"text": 'Number of Employees'
|
20 |
-
}
|
21 |
-
},
|
22 |
-
|
23 |
-
"xAxis": {
|
24 |
-
"accessibility": {
|
25 |
-
"rangeDescription": 'Range: 2010 to 2020'
|
26 |
-
}
|
27 |
-
},
|
28 |
-
|
29 |
-
"legend": {
|
30 |
-
"layout": 'vertical',
|
31 |
-
"align": 'right',
|
32 |
-
"verticalAlign": 'middle'
|
33 |
-
},
|
34 |
-
|
35 |
-
"plotOptions": {
|
36 |
-
"series": {
|
37 |
-
"label": {
|
38 |
-
"connectorAllowed": False
|
39 |
-
},
|
40 |
-
"pointStart": 2010
|
41 |
-
}
|
42 |
-
},
|
43 |
-
|
44 |
-
"series": [{
|
45 |
-
"name": 'Installation & Developers',
|
46 |
-
"data": [43934, 48656, 65165, 81827, 112143, 142383,
|
47 |
-
171533, 165174, 155157, 161454, 154610]
|
48 |
-
}, {
|
49 |
-
"name": 'Manufacturing',
|
50 |
-
"data": [24916, 37941, 29742, 29851, 32490, 30282,
|
51 |
-
38121, 36885, 33726, 34243, 31050]
|
52 |
-
}, {
|
53 |
-
"name": 'Sales & Distribution',
|
54 |
-
"data": [11744, 30000, 16005, 19771, 20185, 24377,
|
55 |
-
32147, 30912, 29243, 29213, 25663]
|
56 |
-
}, {
|
57 |
-
"name": 'Operations & Maintenance',
|
58 |
-
"data": ["null", "null", "null", "null", "null", "null", "null",
|
59 |
-
"null", 11164, 11218, 10077]
|
60 |
-
}, {
|
61 |
-
"name": 'Other',
|
62 |
-
"data": [21908, 5548, 8105, 11248, 8989, 11816, 18274,
|
63 |
-
17300, 13053, 11906, 10073]
|
64 |
-
}],
|
65 |
-
|
66 |
-
"responsive": {
|
67 |
-
"rules": [{
|
68 |
-
"condition": {
|
69 |
-
"maxWidth": 500
|
70 |
-
},
|
71 |
-
"chartOptions": {
|
72 |
-
"legend": {
|
73 |
-
"layout": 'horizontal',
|
74 |
-
"align": 'center',
|
75 |
-
"verticalAlign": 'bottom'
|
76 |
-
}
|
77 |
-
}
|
78 |
-
}]
|
79 |
-
}
|
80 |
-
|
81 |
-
}
|
82 |
-
SAMPLE2={
|
83 |
-
|
84 |
-
"chart": {
|
85 |
-
"type": 'streamgraph',
|
86 |
-
"marginBottom": 30,
|
87 |
-
"zoomType": 'x'
|
88 |
-
},
|
89 |
-
|
90 |
-
"title": {
|
91 |
-
"floating": True,
|
92 |
-
"align": 'left',
|
93 |
-
"text": 'Winter Olympic Medal Wins'
|
94 |
-
},
|
95 |
-
"subtitle": {
|
96 |
-
"floating": True,
|
97 |
-
"align": 'left',
|
98 |
-
"y": 30,
|
99 |
-
"text": 'Source: <a href="https://www.sports-reference.com/olympics/winter/1924/">sports-reference.com</a>'
|
100 |
-
},
|
101 |
-
|
102 |
-
"xAxis": {
|
103 |
-
"maxPadding": 0,
|
104 |
-
"type": 'category',
|
105 |
-
"crosshair": True,
|
106 |
-
"categories": [
|
107 |
-
'',
|
108 |
-
'1924 Chamonix',
|
109 |
-
'1928 St. Moritz',
|
110 |
-
'1932 Lake Placid',
|
111 |
-
'1936 Garmisch-Partenkirchen',
|
112 |
-
'1940 <i>Cancelled (Sapporo)</i>',
|
113 |
-
'1944 <i>Cancelled (Cortina d\'Ampezzo)</i>',
|
114 |
-
'1948 St. Moritz',
|
115 |
-
'1952 Oslo',
|
116 |
-
'1956 Cortina d\'Ampezzo',
|
117 |
-
'1960 Squaw Valley',
|
118 |
-
'1964 Innsbruck',
|
119 |
-
'1968 Grenoble',
|
120 |
-
'1972 Sapporo',
|
121 |
-
'1976 Innsbruck',
|
122 |
-
'1980 Lake Placid',
|
123 |
-
'1984 Sarajevo',
|
124 |
-
'1988 Calgary',
|
125 |
-
'1992 Albertville',
|
126 |
-
'1994 Lillehammer',
|
127 |
-
'1998 Nagano',
|
128 |
-
'2002 Salt Lake City',
|
129 |
-
'2006 Turin',
|
130 |
-
'2010 Vancouver',
|
131 |
-
'2014 Sochi'
|
132 |
-
],
|
133 |
-
"labels": {
|
134 |
-
"align": 'left',
|
135 |
-
"reserveSpace": False,
|
136 |
-
"rotation": 270
|
137 |
-
},
|
138 |
-
"lineWidth": 0,
|
139 |
-
"margin": 20,
|
140 |
-
"tickWidth": 0
|
141 |
-
},
|
142 |
-
|
143 |
-
"yAxis": {
|
144 |
-
"visible": False,
|
145 |
-
"startOnTick": False,
|
146 |
-
"endOnTick": False
|
147 |
-
},
|
148 |
-
|
149 |
-
"legend": {
|
150 |
-
"enabled": False
|
151 |
-
},
|
152 |
-
|
153 |
-
"annotations": [{
|
154 |
-
"labels": [{
|
155 |
-
"point": {
|
156 |
-
"x": 5.5,
|
157 |
-
"xAxis": 0,
|
158 |
-
"y": 30,
|
159 |
-
"yAxis": 0
|
160 |
-
},
|
161 |
-
"text": 'Cancelled<br>during<br>World War II'
|
162 |
-
}, {
|
163 |
-
"point": {
|
164 |
-
"x": 18,
|
165 |
-
"xAxis": 0,
|
166 |
-
"y": 90,
|
167 |
-
"yAxis": 0
|
168 |
-
},
|
169 |
-
"text": 'Soviet Union fell,<br>Germany united'
|
170 |
-
}],
|
171 |
-
"labelOptions": {
|
172 |
-
"backgroundColor": 'rgba(255,255,255,0.5)',
|
173 |
-
"borderColor": 'silver'
|
174 |
-
}
|
175 |
-
}],
|
176 |
-
|
177 |
-
"plotOptions": {
|
178 |
-
"series": {
|
179 |
-
"label": {
|
180 |
-
"minFontSize": 5,
|
181 |
-
"maxFontSize": 15,
|
182 |
-
"style": {
|
183 |
-
"color": 'rgba(255,255,255,0.75)'
|
184 |
-
}
|
185 |
-
},
|
186 |
-
"accessibility": {
|
187 |
-
"exposeAsGroupOnly": True
|
188 |
-
}
|
189 |
-
}
|
190 |
-
},
|
191 |
-
"series": [{
|
192 |
-
"name": "Finland",
|
193 |
-
"data": [
|
194 |
-
0, 11, 4, 3, 6, 0, 0, 6, 9, 7, 8, 10, 5, 5, 7, 9, 13, 7,
|
195 |
-
7, 6, 12, 7, 9, 5, 5
|
196 |
-
]
|
197 |
-
}, {
|
198 |
-
"name": "Austria",
|
199 |
-
"data": [
|
200 |
-
0, 3, 4, 2, 4, 0, 0, 8, 8, 11, 6, 12, 11, 5, 6, 7, 1, 10,
|
201 |
-
21, 9, 17, 17, 23, 16, 17
|
202 |
-
]
|
203 |
-
}, {
|
204 |
-
"name": "Sweden",
|
205 |
-
"data": [
|
206 |
-
0, 2, 5, 3, 7, 0, 0, 10, 4, 10, 7, 7, 8, 4, 2, 4, 8, 6, 4,
|
207 |
-
3, 3, 7, 14, 11, 15
|
208 |
-
]
|
209 |
-
}, {
|
210 |
-
"name": "Norway",
|
211 |
-
"data": [
|
212 |
-
0, 17, 15, 10, 15, 0, 0, 10, 16, 4, 6, 15, 14, 12, 7, 10,
|
213 |
-
9, 5, 20, 26, 25, 25, 19, 23, 26
|
214 |
-
]
|
215 |
-
}, {
|
216 |
-
"name": "U.S.",
|
217 |
-
"data": [
|
218 |
-
0, 4, 6, 12, 4, 0, 0, 9, 11, 7, 10, 7, 7, 8, 10, 12, 8, 6,
|
219 |
-
11, 13, 13, 34, 25, 37, 28
|
220 |
-
]
|
221 |
-
}, {
|
222 |
-
"name": "East Germany",
|
223 |
-
"data": [
|
224 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 14, 19, 23, 24, 25,
|
225 |
-
0, 0, 0, 0, 0, 0, 0
|
226 |
-
]
|
227 |
-
}, {
|
228 |
-
"name": "West Germany",
|
229 |
-
"data": [
|
230 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 5, 10, 5, 4, 8, 0,
|
231 |
-
0, 0, 0, 0, 0, 0
|
232 |
-
]
|
233 |
-
}, {
|
234 |
-
"name": "Germany",
|
235 |
-
"data": [
|
236 |
-
0, 0, 1, 2, 6, 0, 0, 0, 7, 2, 8, 9, 0, 0, 0, 0, 0, 0, 26,
|
237 |
-
24, 29, 36, 29, 30, 19
|
238 |
-
]
|
239 |
-
}, {
|
240 |
-
"name": "Netherlands",
|
241 |
-
"data": [
|
242 |
-
0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 2, 9, 9, 6, 4, 0, 7, 4,
|
243 |
-
4, 11, 8, 9, 8, 24
|
244 |
-
]
|
245 |
-
}, {
|
246 |
-
"name": "Italy",
|
247 |
-
"data": [
|
248 |
-
0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 1, 4, 4, 5, 4, 2, 2, 5, 14,
|
249 |
-
20, 10, 13, 11, 5, 8
|
250 |
-
]
|
251 |
-
}, {
|
252 |
-
"name": "Canada",
|
253 |
-
"data": [
|
254 |
-
0, 1, 1, 7, 1, 0, 0, 3, 2, 3, 4, 3, 3, 1, 3, 2, 4, 5, 7,
|
255 |
-
13, 15, 17, 24, 26, 25
|
256 |
-
]
|
257 |
-
}, {
|
258 |
-
"name": "Switzerland",
|
259 |
-
"data": [
|
260 |
-
0, 3, 1, 1, 3, 0, 0, 10, 2, 6, 2, 0, 6, 10, 5, 5, 5, 15,
|
261 |
-
3, 9, 7, 11, 14, 9, 11
|
262 |
-
]
|
263 |
-
}, {
|
264 |
-
"name": "Great Britain",
|
265 |
-
"data": [
|
266 |
-
0, 4, 1, 0, 3, 0, 0, 2, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0,
|
267 |
-
2, 1, 2, 1, 1, 4
|
268 |
-
]
|
269 |
-
}, {
|
270 |
-
"name": "France",
|
271 |
-
"data": [
|
272 |
-
0, 3, 1, 1, 1, 0, 0, 5, 1, 0, 3, 7, 9, 3, 1, 1, 3, 2, 9,
|
273 |
-
5, 8, 11, 9, 11, 15
|
274 |
-
]
|
275 |
-
}, {
|
276 |
-
"name": "Hungary",
|
277 |
-
"data": [
|
278 |
-
0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0,
|
279 |
-
0, 0, 0, 0, 0, 0
|
280 |
-
]
|
281 |
-
}, {
|
282 |
-
"name": "Unified Team",
|
283 |
-
"data": [
|
284 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23,
|
285 |
-
0, 0, 0, 0, 0, 0
|
286 |
-
]
|
287 |
-
}, {
|
288 |
-
"name": "Soviet Union",
|
289 |
-
"data": [
|
290 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 21, 25, 13, 16, 27, 22, 25,
|
291 |
-
29, 0, 0, 0, 0, 0, 0, 0
|
292 |
-
]
|
293 |
-
}, {
|
294 |
-
"name": "Russia",
|
295 |
-
"data": [
|
296 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
297 |
-
23, 18, 13, 22, 15, 33
|
298 |
-
]
|
299 |
-
}, {
|
300 |
-
"name": "Japan",
|
301 |
-
"data": [
|
302 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3, 0, 1, 1, 1, 7,
|
303 |
-
5, 10, 2, 1, 5, 8
|
304 |
-
]
|
305 |
-
}, {
|
306 |
-
"name": "Czechoslovakia",
|
307 |
-
"data": [
|
308 |
-
0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 4, 3, 1, 1, 6, 3, 3,
|
309 |
-
0, 0, 0, 0, 0, 0
|
310 |
-
]
|
311 |
-
}, {
|
312 |
-
"name": "Poland",
|
313 |
-
"data": [
|
314 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 0, 0, 0,
|
315 |
-
0, 0, 2, 2, 6, 6
|
316 |
-
]
|
317 |
-
}, {
|
318 |
-
"name": "Spain",
|
319 |
-
"data": [
|
320 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
|
321 |
-
0, 0, 0, 0, 0, 0
|
322 |
-
]
|
323 |
-
}, {
|
324 |
-
"name": "China",
|
325 |
-
"data": [
|
326 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
|
327 |
-
3, 8, 8, 11, 11, 9
|
328 |
-
]
|
329 |
-
}, {
|
330 |
-
"name": "South Korea",
|
331 |
-
"data": [
|
332 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4,
|
333 |
-
6, 6, 4, 11, 14, 8
|
334 |
-
]
|
335 |
-
}, {
|
336 |
-
"name": "Czech Republic",
|
337 |
-
"data": [
|
338 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
339 |
-
0, 3, 3, 4, 6, 8
|
340 |
-
]
|
341 |
-
}, {
|
342 |
-
"name": "Belarus",
|
343 |
-
"data": [
|
344 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
345 |
-
2, 2, 1, 1, 3, 6
|
346 |
-
]
|
347 |
-
}, {
|
348 |
-
"name": "Kazakhstan",
|
349 |
-
"data": [
|
350 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
351 |
-
3, 2, 0, 0, 1, 1
|
352 |
-
]
|
353 |
-
}, {
|
354 |
-
"name": "Bulgaria",
|
355 |
-
"data": [
|
356 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
|
357 |
-
0, 1, 3, 1, 0, 0
|
358 |
-
]
|
359 |
-
}, {
|
360 |
-
"name": "Denmark",
|
361 |
-
"data": [
|
362 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
363 |
-
0, 1, 0, 0, 0, 0
|
364 |
-
]
|
365 |
-
}, {
|
366 |
-
"name": "Ukraine",
|
367 |
-
"data": [
|
368 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
369 |
-
2, 1, 0, 2, 0, 2
|
370 |
-
]
|
371 |
-
}, {
|
372 |
-
"name": "Australia",
|
373 |
-
"data": [
|
374 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
375 |
-
1, 1, 2, 2, 3, 3
|
376 |
-
]
|
377 |
-
}, {
|
378 |
-
"name": "Belgium",
|
379 |
-
"data": [
|
380 |
-
0, 1, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
381 |
-
0, 1, 0, 0, 0, 0
|
382 |
-
]
|
383 |
-
}, {
|
384 |
-
"name": "Romania",
|
385 |
-
"data": [
|
386 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
|
387 |
-
0, 0, 0, 0, 0, 0
|
388 |
-
]
|
389 |
-
}, {
|
390 |
-
"name": "Liechtenstein",
|
391 |
-
"data": [
|
392 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 2, 1, 0,
|
393 |
-
0, 0, 0, 0, 0, 0
|
394 |
-
]
|
395 |
-
}, {
|
396 |
-
"name": "Yugoslavia",
|
397 |
-
"data": [
|
398 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 0,
|
399 |
-
0, 0, 0, 0, 0, 0
|
400 |
-
]
|
401 |
-
}, {
|
402 |
-
"name": "Luxembourg",
|
403 |
-
"data": [
|
404 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2,
|
405 |
-
0, 0, 0, 0, 0, 0
|
406 |
-
]
|
407 |
-
}, {
|
408 |
-
"name": "New Zealand",
|
409 |
-
"data": [
|
410 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
|
411 |
-
0, 0, 0, 0, 0, 0
|
412 |
-
]
|
413 |
-
}, {
|
414 |
-
"name": "North Korea",
|
415 |
-
"data": [
|
416 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1,
|
417 |
-
0, 0, 0, 0, 0, 0
|
418 |
-
]
|
419 |
-
}, {
|
420 |
-
"name": "Slovakia",
|
421 |
-
"data": [
|
422 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
423 |
-
0, 0, 0, 1, 3, 1
|
424 |
-
]
|
425 |
-
}, {
|
426 |
-
"name": "Croatia",
|
427 |
-
"data": [
|
428 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
429 |
-
0, 0, 4, 3, 3, 1
|
430 |
-
]
|
431 |
-
}, {
|
432 |
-
"name": "Slovenia",
|
433 |
-
"data": [
|
434 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
435 |
-
3, 0, 1, 0, 3, 8
|
436 |
-
]
|
437 |
-
}, {
|
438 |
-
"name": "Latvia",
|
439 |
-
"data": [
|
440 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
441 |
-
0, 0, 0, 1, 2, 4
|
442 |
-
]
|
443 |
-
}, {
|
444 |
-
"name": "Estonia",
|
445 |
-
"data": [
|
446 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
447 |
-
0, 0, 3, 3, 1, 0
|
448 |
-
]
|
449 |
-
}, {
|
450 |
-
"name": "Uzbekistan",
|
451 |
-
"data": [
|
452 |
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
453 |
-
1, 0, 0, 0, 0, 0
|
454 |
-
]
|
455 |
-
}],
|
456 |
-
|
457 |
-
"exporting": {
|
458 |
-
"sourceWidth": 800,
|
459 |
-
"sourceHeight": 600
|
460 |
-
}
|
461 |
-
|
462 |
-
}
|
463 |
-
SAMPLE3={
|
464 |
-
|
465 |
-
"chart": {
|
466 |
-
"type": 'bubble',
|
467 |
-
"plotBorderWidth": 1,
|
468 |
-
"zoomType": 'xy'
|
469 |
-
},
|
470 |
-
|
471 |
-
"title": {
|
472 |
-
"text": 'Highcharts bubbles with radial gradient fill'
|
473 |
-
},
|
474 |
-
|
475 |
-
"xAxis": {
|
476 |
-
"gridLineWidth": 1,
|
477 |
-
"accessibility": {
|
478 |
-
"rangeDescription": 'Range: 0 to 100.'
|
479 |
-
}
|
480 |
-
},
|
481 |
-
|
482 |
-
"yAxis": {
|
483 |
-
"startOnTick": False,
|
484 |
-
"endOnTick": False,
|
485 |
-
"accessibility": {
|
486 |
-
"rangeDescription": 'Range: 0 to 100.'
|
487 |
-
}
|
488 |
-
},
|
489 |
-
|
490 |
-
"series": [{
|
491 |
-
"data": [
|
492 |
-
[9, 81, 63],
|
493 |
-
[98, 5, 89],
|
494 |
-
[51, 50, 73],
|
495 |
-
[41, 22, 14],
|
496 |
-
[58, 24, 20],
|
497 |
-
[78, 37, 34],
|
498 |
-
[55, 56, 53],
|
499 |
-
[18, 45, 70],
|
500 |
-
[42, 44, 28],
|
501 |
-
[3, 52, 59],
|
502 |
-
[31, 18, 97],
|
503 |
-
[79, 91, 63],
|
504 |
-
[93, 23, 23],
|
505 |
-
[44, 83, 22]
|
506 |
-
],
|
507 |
-
"marker": {
|
508 |
-
"fillColor": {
|
509 |
-
"radialGradient": { "cx": 0.4, "cy": 0.3, "r": 0.7 },
|
510 |
-
"stops": [
|
511 |
-
[0, 'rgba(255,255,255,0.5)'],
|
512 |
-
[1, 'rgba(124,181,236,0.5)']
|
513 |
-
]
|
514 |
-
}
|
515 |
-
}
|
516 |
-
}, {
|
517 |
-
"data": [
|
518 |
-
[42, 38, 20],
|
519 |
-
[6, 18, 1],
|
520 |
-
[1, 93, 55],
|
521 |
-
[57, 2, 90],
|
522 |
-
[80, 76, 22],
|
523 |
-
[11, 74, 96],
|
524 |
-
[88, 56, 10],
|
525 |
-
[30, 47, 49],
|
526 |
-
[57, 62, 98],
|
527 |
-
[4, 16, 16],
|
528 |
-
[46, 10, 11],
|
529 |
-
[22, 87, 89],
|
530 |
-
[57, 91, 82],
|
531 |
-
[45, 15, 98]
|
532 |
-
],
|
533 |
-
"marker": {
|
534 |
-
"fillColor": {
|
535 |
-
"radialGradient": { "cx": 0.4, "cy": 0.3, "r": 0.7 },
|
536 |
-
"stops": [
|
537 |
-
[0, 'rgba(255,255,255,0.5)'],
|
538 |
-
[1, 'rgba(67,67,72,0.5)']
|
539 |
-
]
|
540 |
-
}
|
541 |
-
}
|
542 |
-
}]
|
543 |
-
|
544 |
-
}
|
545 |
-
SAMPLE4={
|
546 |
-
|
547 |
-
"chart":{
|
548 |
-
"type":"packedbubble",
|
549 |
-
"height":"100%"
|
550 |
-
},
|
551 |
-
"title":{
|
552 |
-
"text":"Carbon emissions around the world (2014)"
|
553 |
-
},
|
554 |
-
"tooltip":{
|
555 |
-
"useHTML":True,
|
556 |
-
"pointFormat":"<b>{point.name}:</b> {point.value}m CO<sub>2</sub>"
|
557 |
-
},
|
558 |
-
"plotOptions":{
|
559 |
-
"packedbubble":{
|
560 |
-
"minSize":"20%",
|
561 |
-
"maxSize":"100%",
|
562 |
-
"zMin":0,
|
563 |
-
"zMax":1000,
|
564 |
-
"layoutAlgorithm":{
|
565 |
-
"gravitationalConstant":0.05,
|
566 |
-
"splitSeries":True,
|
567 |
-
"seriesInteraction":False,
|
568 |
-
"dragBetweenSeries":True,
|
569 |
-
"parentNodeLimit":True
|
570 |
-
},
|
571 |
-
"dataLabels":{
|
572 |
-
"enabled":True,
|
573 |
-
"format":"{point.name}",
|
574 |
-
"filter":{
|
575 |
-
"property":"y",
|
576 |
-
"operator":">",
|
577 |
-
"value":250
|
578 |
-
},
|
579 |
-
"style":{
|
580 |
-
"color":"black",
|
581 |
-
"textOutline":"none",
|
582 |
-
"fontWeight":"normal"
|
583 |
-
}
|
584 |
-
}
|
585 |
-
}
|
586 |
-
},
|
587 |
-
"series":[
|
588 |
-
{
|
589 |
-
"name":"Europe",
|
590 |
-
"data":[
|
591 |
-
{
|
592 |
-
"name":"Germany",
|
593 |
-
"value":767.1
|
594 |
-
},
|
595 |
-
{
|
596 |
-
"name":"Croatia",
|
597 |
-
"value":20.7
|
598 |
-
},
|
599 |
-
{
|
600 |
-
"name":"Belgium",
|
601 |
-
"value":97.2
|
602 |
-
},
|
603 |
-
{
|
604 |
-
"name":"Czech Republic",
|
605 |
-
"value":111.7
|
606 |
-
},
|
607 |
-
{
|
608 |
-
"name":"Netherlands",
|
609 |
-
"value":158.1
|
610 |
-
},
|
611 |
-
{
|
612 |
-
"name":"Spain",
|
613 |
-
"value":241.6
|
614 |
-
},
|
615 |
-
{
|
616 |
-
"name":"Ukraine",
|
617 |
-
"value":249.1
|
618 |
-
},
|
619 |
-
{
|
620 |
-
"name":"Poland",
|
621 |
-
"value":298.1
|
622 |
-
},
|
623 |
-
{
|
624 |
-
"name":"France",
|
625 |
-
"value":323.7
|
626 |
-
},
|
627 |
-
{
|
628 |
-
"name":"Romania",
|
629 |
-
"value":78.3
|
630 |
-
},
|
631 |
-
{
|
632 |
-
"name":"United Kingdom",
|
633 |
-
"value":415.4
|
634 |
-
},
|
635 |
-
{
|
636 |
-
"name":"Turkey",
|
637 |
-
"value":353.2
|
638 |
-
},
|
639 |
-
{
|
640 |
-
"name":"Italy",
|
641 |
-
"value":337.6
|
642 |
-
},
|
643 |
-
{
|
644 |
-
"name":"Greece",
|
645 |
-
"value":71.1
|
646 |
-
},
|
647 |
-
{
|
648 |
-
"name":"Austria",
|
649 |
-
"value":69.8
|
650 |
-
},
|
651 |
-
{
|
652 |
-
"name":"Belarus",
|
653 |
-
"value":67.7
|
654 |
-
},
|
655 |
-
{
|
656 |
-
"name":"Serbia",
|
657 |
-
"value":59.3
|
658 |
-
},
|
659 |
-
{
|
660 |
-
"name":"Finland",
|
661 |
-
"value":54.8
|
662 |
-
},
|
663 |
-
{
|
664 |
-
"name":"Bulgaria",
|
665 |
-
"value":51.2
|
666 |
-
},
|
667 |
-
{
|
668 |
-
"name":"Portugal",
|
669 |
-
"value":48.3
|
670 |
-
},
|
671 |
-
{
|
672 |
-
"name":"Norway",
|
673 |
-
"value":44.4
|
674 |
-
},
|
675 |
-
{
|
676 |
-
"name":"Sweden",
|
677 |
-
"value":44.3
|
678 |
-
},
|
679 |
-
{
|
680 |
-
"name":"Hungary",
|
681 |
-
"value":43.7
|
682 |
-
},
|
683 |
-
{
|
684 |
-
"name":"Switzerland",
|
685 |
-
"value":40.2
|
686 |
-
},
|
687 |
-
{
|
688 |
-
"name":"Denmark",
|
689 |
-
"value":40
|
690 |
-
},
|
691 |
-
{
|
692 |
-
"name":"Slovakia",
|
693 |
-
"value":34.7
|
694 |
-
},
|
695 |
-
{
|
696 |
-
"name":"Ireland",
|
697 |
-
"value":34.6
|
698 |
-
},
|
699 |
-
{
|
700 |
-
"name":"Croatia",
|
701 |
-
"value":20.7
|
702 |
-
},
|
703 |
-
{
|
704 |
-
"name":"Estonia",
|
705 |
-
"value":19.4
|
706 |
-
},
|
707 |
-
{
|
708 |
-
"name":"Slovenia",
|
709 |
-
"value":16.7
|
710 |
-
},
|
711 |
-
{
|
712 |
-
"name":"Lithuania",
|
713 |
-
"value":12.3
|
714 |
-
},
|
715 |
-
{
|
716 |
-
"name":"Luxembourg",
|
717 |
-
"value":10.4
|
718 |
-
},
|
719 |
-
{
|
720 |
-
"name":"Macedonia",
|
721 |
-
"value":9.5
|
722 |
-
},
|
723 |
-
{
|
724 |
-
"name":"Moldova",
|
725 |
-
"value":7.8
|
726 |
-
},
|
727 |
-
{
|
728 |
-
"name":"Latvia",
|
729 |
-
"value":7.5
|
730 |
-
},
|
731 |
-
{
|
732 |
-
"name":"Cyprus",
|
733 |
-
"value":7.2
|
734 |
-
}
|
735 |
-
]
|
736 |
-
},
|
737 |
-
{
|
738 |
-
"name":"Africa",
|
739 |
-
"data":[
|
740 |
-
{
|
741 |
-
"name":"Senegal",
|
742 |
-
"value":8.2
|
743 |
-
},
|
744 |
-
{
|
745 |
-
"name":"Cameroon",
|
746 |
-
"value":9.2
|
747 |
-
},
|
748 |
-
{
|
749 |
-
"name":"Zimbabwe",
|
750 |
-
"value":13.1
|
751 |
-
},
|
752 |
-
{
|
753 |
-
"name":"Ghana",
|
754 |
-
"value":14.1
|
755 |
-
},
|
756 |
-
{
|
757 |
-
"name":"Kenya",
|
758 |
-
"value":14.1
|
759 |
-
},
|
760 |
-
{
|
761 |
-
"name":"Sudan",
|
762 |
-
"value":17.3
|
763 |
-
},
|
764 |
-
{
|
765 |
-
"name":"Tunisia",
|
766 |
-
"value":24.3
|
767 |
-
},
|
768 |
-
{
|
769 |
-
"name":"Angola",
|
770 |
-
"value":25
|
771 |
-
},
|
772 |
-
{
|
773 |
-
"name":"Libya",
|
774 |
-
"value":50.6
|
775 |
-
},
|
776 |
-
{
|
777 |
-
"name":"Ivory Coast",
|
778 |
-
"value":7.3
|
779 |
-
},
|
780 |
-
{
|
781 |
-
"name":"Morocco",
|
782 |
-
"value":60.7
|
783 |
-
},
|
784 |
-
{
|
785 |
-
"name":"Ethiopia",
|
786 |
-
"value":8.9
|
787 |
-
},
|
788 |
-
{
|
789 |
-
"name":"United Republic of Tanzania",
|
790 |
-
"value":9.1
|
791 |
-
},
|
792 |
-
{
|
793 |
-
"name":"Nigeria",
|
794 |
-
"value":93.9
|
795 |
-
},
|
796 |
-
{
|
797 |
-
"name":"South Africa",
|
798 |
-
"value":392.7
|
799 |
-
},
|
800 |
-
{
|
801 |
-
"name":"Egypt",
|
802 |
-
"value":225.1
|
803 |
-
},
|
804 |
-
{
|
805 |
-
"name":"Algeria",
|
806 |
-
"value":141.5
|
807 |
-
}
|
808 |
-
]
|
809 |
-
},
|
810 |
-
{
|
811 |
-
"name":"Oceania",
|
812 |
-
"data":[
|
813 |
-
{
|
814 |
-
"name":"Australia",
|
815 |
-
"value":409.4
|
816 |
-
},
|
817 |
-
{
|
818 |
-
"name":"New Zealand",
|
819 |
-
"value":34.1
|
820 |
-
},
|
821 |
-
{
|
822 |
-
"name":"Papua New Guinea",
|
823 |
-
"value":7.1
|
824 |
-
}
|
825 |
-
]
|
826 |
-
},
|
827 |
-
{
|
828 |
-
"name":"North America",
|
829 |
-
"data":[
|
830 |
-
{
|
831 |
-
"name":"Costa Rica",
|
832 |
-
"value":7.6
|
833 |
-
},
|
834 |
-
{
|
835 |
-
"name":"Honduras",
|
836 |
-
"value":8.4
|
837 |
-
},
|
838 |
-
{
|
839 |
-
"name":"Jamaica",
|
840 |
-
"value":8.3
|
841 |
-
},
|
842 |
-
{
|
843 |
-
"name":"Panama",
|
844 |
-
"value":10.2
|
845 |
-
},
|
846 |
-
{
|
847 |
-
"name":"Guatemala",
|
848 |
-
"value":12
|
849 |
-
},
|
850 |
-
{
|
851 |
-
"name":"Dominican Republic",
|
852 |
-
"value":23.4
|
853 |
-
},
|
854 |
-
{
|
855 |
-
"name":"Cuba",
|
856 |
-
"value":30.2
|
857 |
-
},
|
858 |
-
{
|
859 |
-
"name":"USA",
|
860 |
-
"value":5334.5
|
861 |
-
},
|
862 |
-
{
|
863 |
-
"name":"Canada",
|
864 |
-
"value":566
|
865 |
-
},
|
866 |
-
{
|
867 |
-
"name":"Mexico",
|
868 |
-
"value":456.3
|
869 |
-
}
|
870 |
-
]
|
871 |
-
},
|
872 |
-
{
|
873 |
-
"name":"South America",
|
874 |
-
"data":[
|
875 |
-
{
|
876 |
-
"name":"El Salvador",
|
877 |
-
"value":7.2
|
878 |
-
},
|
879 |
-
{
|
880 |
-
"name":"Uruguay",
|
881 |
-
"value":8.1
|
882 |
-
},
|
883 |
-
{
|
884 |
-
"name":"Bolivia",
|
885 |
-
"value":17.8
|
886 |
-
},
|
887 |
-
{
|
888 |
-
"name":"Trinidad and Tobago",
|
889 |
-
"value":34
|
890 |
-
},
|
891 |
-
{
|
892 |
-
"name":"Ecuador",
|
893 |
-
"value":43
|
894 |
-
},
|
895 |
-
{
|
896 |
-
"name":"Chile",
|
897 |
-
"value":78.6
|
898 |
-
},
|
899 |
-
{
|
900 |
-
"name":"Peru",
|
901 |
-
"value":52
|
902 |
-
},
|
903 |
-
{
|
904 |
-
"name":"Colombia",
|
905 |
-
"value":74.1
|
906 |
-
},
|
907 |
-
{
|
908 |
-
"name":"Brazil",
|
909 |
-
"value":501.1
|
910 |
-
},
|
911 |
-
{
|
912 |
-
"name":"Argentina",
|
913 |
-
"value":199
|
914 |
-
},
|
915 |
-
{
|
916 |
-
"name":"Venezuela",
|
917 |
-
"value":195.2
|
918 |
-
}
|
919 |
-
]
|
920 |
-
},
|
921 |
-
{
|
922 |
-
"name":"Asia",
|
923 |
-
"data":[
|
924 |
-
{
|
925 |
-
"name":"Nepal",
|
926 |
-
"value":6.5
|
927 |
-
},
|
928 |
-
{
|
929 |
-
"name":"Georgia",
|
930 |
-
"value":6.5
|
931 |
-
},
|
932 |
-
{
|
933 |
-
"name":"Brunei Darussalam",
|
934 |
-
"value":7.4
|
935 |
-
},
|
936 |
-
{
|
937 |
-
"name":"Kyrgyzstan",
|
938 |
-
"value":7.4
|
939 |
-
},
|
940 |
-
{
|
941 |
-
"name":"Afghanistan",
|
942 |
-
"value":7.9
|
943 |
-
},
|
944 |
-
{
|
945 |
-
"name":"Myanmar",
|
946 |
-
"value":9.1
|
947 |
-
},
|
948 |
-
{
|
949 |
-
"name":"Mongolia",
|
950 |
-
"value":14.7
|
951 |
-
},
|
952 |
-
{
|
953 |
-
"name":"Sri Lanka",
|
954 |
-
"value":16.6
|
955 |
-
},
|
956 |
-
{
|
957 |
-
"name":"Bahrain",
|
958 |
-
"value":20.5
|
959 |
-
},
|
960 |
-
{
|
961 |
-
"name":"Yemen",
|
962 |
-
"value":22.6
|
963 |
-
},
|
964 |
-
{
|
965 |
-
"name":"Jordan",
|
966 |
-
"value":22.3
|
967 |
-
},
|
968 |
-
{
|
969 |
-
"name":"Lebanon",
|
970 |
-
"value":21.1
|
971 |
-
},
|
972 |
-
{
|
973 |
-
"name":"Azerbaijan",
|
974 |
-
"value":31.7
|
975 |
-
},
|
976 |
-
{
|
977 |
-
"name":"Singapore",
|
978 |
-
"value":47.8
|
979 |
-
},
|
980 |
-
{
|
981 |
-
"name":"Hong Kong",
|
982 |
-
"value":49.9
|
983 |
-
},
|
984 |
-
{
|
985 |
-
"name":"Syria",
|
986 |
-
"value":52.7
|
987 |
-
},
|
988 |
-
{
|
989 |
-
"name":"DPR Korea",
|
990 |
-
"value":59.9
|
991 |
-
},
|
992 |
-
{
|
993 |
-
"name":"Israel",
|
994 |
-
"value":64.8
|
995 |
-
},
|
996 |
-
{
|
997 |
-
"name":"Turkmenistan",
|
998 |
-
"value":70.6
|
999 |
-
},
|
1000 |
-
{
|
1001 |
-
"name":"Oman",
|
1002 |
-
"value":74.3
|
1003 |
-
},
|
1004 |
-
{
|
1005 |
-
"name":"Qatar",
|
1006 |
-
"value":88.8
|
1007 |
-
},
|
1008 |
-
{
|
1009 |
-
"name":"Philippines",
|
1010 |
-
"value":96.9
|
1011 |
-
},
|
1012 |
-
{
|
1013 |
-
"name":"Kuwait",
|
1014 |
-
"value":98.6
|
1015 |
-
},
|
1016 |
-
{
|
1017 |
-
"name":"Uzbekistan",
|
1018 |
-
"value":122.6
|
1019 |
-
},
|
1020 |
-
{
|
1021 |
-
"name":"Iraq",
|
1022 |
-
"value":139.9
|
1023 |
-
},
|
1024 |
-
{
|
1025 |
-
"name":"Pakistan",
|
1026 |
-
"value":158.1
|
1027 |
-
},
|
1028 |
-
{
|
1029 |
-
"name":"Vietnam",
|
1030 |
-
"value":190.2
|
1031 |
-
},
|
1032 |
-
{
|
1033 |
-
"name":"United Arab Emirates",
|
1034 |
-
"value":201.1
|
1035 |
-
},
|
1036 |
-
{
|
1037 |
-
"name":"Malaysia",
|
1038 |
-
"value":227.5
|
1039 |
-
},
|
1040 |
-
{
|
1041 |
-
"name":"Kazakhstan",
|
1042 |
-
"value":236.2
|
1043 |
-
},
|
1044 |
-
{
|
1045 |
-
"name":"Thailand",
|
1046 |
-
"value":272
|
1047 |
-
},
|
1048 |
-
{
|
1049 |
-
"name":"Taiwan",
|
1050 |
-
"value":276.7
|
1051 |
-
},
|
1052 |
-
{
|
1053 |
-
"name":"Indonesia",
|
1054 |
-
"value":453
|
1055 |
-
},
|
1056 |
-
{
|
1057 |
-
"name":"Saudi Arabia",
|
1058 |
-
"value":494.8
|
1059 |
-
},
|
1060 |
-
{
|
1061 |
-
"name":"Japan",
|
1062 |
-
"value":1278.9
|
1063 |
-
},
|
1064 |
-
{
|
1065 |
-
"name":"China",
|
1066 |
-
"value":10540.8
|
1067 |
-
},
|
1068 |
-
{
|
1069 |
-
"name":"India",
|
1070 |
-
"value":2341.9
|
1071 |
-
},
|
1072 |
-
{
|
1073 |
-
"name":"Russia",
|
1074 |
-
"value":1766.4
|
1075 |
-
},
|
1076 |
-
{
|
1077 |
-
"name":"Iran",
|
1078 |
-
"value":618.2
|
1079 |
-
},
|
1080 |
-
{
|
1081 |
-
"name":"Korea",
|
1082 |
-
"value":610.1
|
1083 |
-
}
|
1084 |
-
]
|
1085 |
-
}
|
1086 |
-
]
|
1087 |
-
}
|
1088 |
-
SAMPLE5={
|
1089 |
-
"chart":{
|
1090 |
-
"type":"column"
|
1091 |
-
},
|
1092 |
-
"title":{
|
1093 |
-
"align":"left",
|
1094 |
-
"text":"Browser market shares. January, 2022"
|
1095 |
-
},
|
1096 |
-
"subtitle":{
|
1097 |
-
"align":"left",
|
1098 |
-
"text":"Click the columns to view versions. Source: <a href=\"http://statcounter.com\" target=\"_blank\">statcounter.com</a>"
|
1099 |
-
},
|
1100 |
-
"accessibility":{
|
1101 |
-
"announceNewData":{
|
1102 |
-
"enabled":True
|
1103 |
-
}
|
1104 |
-
},
|
1105 |
-
"xAxis":{
|
1106 |
-
"type":"category"
|
1107 |
-
},
|
1108 |
-
"yAxis":{
|
1109 |
-
"title":{
|
1110 |
-
"text":"Total percent market share"
|
1111 |
-
}
|
1112 |
-
},
|
1113 |
-
"legend":{
|
1114 |
-
"enabled":False
|
1115 |
-
},
|
1116 |
-
"plotOptions":{
|
1117 |
-
"series":{
|
1118 |
-
"borderWidth":0,
|
1119 |
-
"dataLabels":{
|
1120 |
-
"enabled":True,
|
1121 |
-
"format":"{point.y:.1f}%"
|
1122 |
-
}
|
1123 |
-
}
|
1124 |
-
},
|
1125 |
-
"tooltip":{
|
1126 |
-
"headerFormat":"<span style=\"font-size:11px\">{series.name}</span><br>",
|
1127 |
-
"pointFormat":"<span style=\"color:{point.color}\">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>"
|
1128 |
-
},
|
1129 |
-
"series":[
|
1130 |
-
{
|
1131 |
-
"name":"Browsers",
|
1132 |
-
"colorByPoint":True,
|
1133 |
-
"data":[
|
1134 |
-
{
|
1135 |
-
"name":"Chrome",
|
1136 |
-
"y":63.06,
|
1137 |
-
"drilldown":"Chrome"
|
1138 |
-
},
|
1139 |
-
{
|
1140 |
-
"name":"Safari",
|
1141 |
-
"y":19.84,
|
1142 |
-
"drilldown":"Safari"
|
1143 |
-
},
|
1144 |
-
{
|
1145 |
-
"name":"Firefox",
|
1146 |
-
"y":4.18,
|
1147 |
-
"drilldown":"Firefox"
|
1148 |
-
},
|
1149 |
-
{
|
1150 |
-
"name":"Edge",
|
1151 |
-
"y":4.12,
|
1152 |
-
"drilldown":"Edge"
|
1153 |
-
},
|
1154 |
-
{
|
1155 |
-
"name":"Opera",
|
1156 |
-
"y":2.33,
|
1157 |
-
"drilldown":"Opera"
|
1158 |
-
},
|
1159 |
-
{
|
1160 |
-
"name":"Internet Explorer",
|
1161 |
-
"y":0.45,
|
1162 |
-
"drilldown":"Internet Explorer"
|
1163 |
-
},
|
1164 |
-
{
|
1165 |
-
"name":"Other",
|
1166 |
-
"y":1.582,
|
1167 |
-
"drilldown":"null"
|
1168 |
-
}
|
1169 |
-
]
|
1170 |
-
}
|
1171 |
-
],
|
1172 |
-
"drilldown":{
|
1173 |
-
"breadcrumbs":{
|
1174 |
-
"position":{
|
1175 |
-
"align":"right"
|
1176 |
-
}
|
1177 |
-
},
|
1178 |
-
"series":[
|
1179 |
-
{
|
1180 |
-
"name":"Chrome",
|
1181 |
-
"id":"Chrome",
|
1182 |
-
"data":[
|
1183 |
-
[
|
1184 |
-
"v65.0",
|
1185 |
-
0.1
|
1186 |
-
],
|
1187 |
-
[
|
1188 |
-
"v64.0",
|
1189 |
-
1.3
|
1190 |
-
],
|
1191 |
-
[
|
1192 |
-
"v63.0",
|
1193 |
-
53.02
|
1194 |
-
],
|
1195 |
-
[
|
1196 |
-
"v62.0",
|
1197 |
-
1.4
|
1198 |
-
],
|
1199 |
-
[
|
1200 |
-
"v61.0",
|
1201 |
-
0.88
|
1202 |
-
],
|
1203 |
-
[
|
1204 |
-
"v60.0",
|
1205 |
-
0.56
|
1206 |
-
],
|
1207 |
-
[
|
1208 |
-
"v59.0",
|
1209 |
-
0.45
|
1210 |
-
],
|
1211 |
-
[
|
1212 |
-
"v58.0",
|
1213 |
-
0.49
|
1214 |
-
],
|
1215 |
-
[
|
1216 |
-
"v57.0",
|
1217 |
-
0.32
|
1218 |
-
],
|
1219 |
-
[
|
1220 |
-
"v56.0",
|
1221 |
-
0.29
|
1222 |
-
],
|
1223 |
-
[
|
1224 |
-
"v55.0",
|
1225 |
-
0.79
|
1226 |
-
],
|
1227 |
-
[
|
1228 |
-
"v54.0",
|
1229 |
-
0.18
|
1230 |
-
],
|
1231 |
-
[
|
1232 |
-
"v51.0",
|
1233 |
-
0.13
|
1234 |
-
],
|
1235 |
-
[
|
1236 |
-
"v49.0",
|
1237 |
-
2.16
|
1238 |
-
],
|
1239 |
-
[
|
1240 |
-
"v48.0",
|
1241 |
-
0.13
|
1242 |
-
],
|
1243 |
-
[
|
1244 |
-
"v47.0",
|
1245 |
-
0.11
|
1246 |
-
],
|
1247 |
-
[
|
1248 |
-
"v43.0",
|
1249 |
-
0.17
|
1250 |
-
],
|
1251 |
-
[
|
1252 |
-
"v29.0",
|
1253 |
-
0.26
|
1254 |
-
]
|
1255 |
-
]
|
1256 |
-
},
|
1257 |
-
{
|
1258 |
-
"name":"Firefox",
|
1259 |
-
"id":"Firefox",
|
1260 |
-
"data":[
|
1261 |
-
[
|
1262 |
-
"v58.0",
|
1263 |
-
1.02
|
1264 |
-
],
|
1265 |
-
[
|
1266 |
-
"v57.0",
|
1267 |
-
7.36
|
1268 |
-
],
|
1269 |
-
[
|
1270 |
-
"v56.0",
|
1271 |
-
0.35
|
1272 |
-
],
|
1273 |
-
[
|
1274 |
-
"v55.0",
|
1275 |
-
0.11
|
1276 |
-
],
|
1277 |
-
[
|
1278 |
-
"v54.0",
|
1279 |
-
0.1
|
1280 |
-
],
|
1281 |
-
[
|
1282 |
-
"v52.0",
|
1283 |
-
0.95
|
1284 |
-
],
|
1285 |
-
[
|
1286 |
-
"v51.0",
|
1287 |
-
0.15
|
1288 |
-
],
|
1289 |
-
[
|
1290 |
-
"v50.0",
|
1291 |
-
0.1
|
1292 |
-
],
|
1293 |
-
[
|
1294 |
-
"v48.0",
|
1295 |
-
0.31
|
1296 |
-
],
|
1297 |
-
[
|
1298 |
-
"v47.0",
|
1299 |
-
0.12
|
1300 |
-
]
|
1301 |
-
]
|
1302 |
-
},
|
1303 |
-
{
|
1304 |
-
"name":"Internet Explorer",
|
1305 |
-
"id":"Internet Explorer",
|
1306 |
-
"data":[
|
1307 |
-
[
|
1308 |
-
"v11.0",
|
1309 |
-
6.2
|
1310 |
-
],
|
1311 |
-
[
|
1312 |
-
"v10.0",
|
1313 |
-
0.29
|
1314 |
-
],
|
1315 |
-
[
|
1316 |
-
"v9.0",
|
1317 |
-
0.27
|
1318 |
-
],
|
1319 |
-
[
|
1320 |
-
"v8.0",
|
1321 |
-
0.47
|
1322 |
-
]
|
1323 |
-
]
|
1324 |
-
},
|
1325 |
-
{
|
1326 |
-
"name":"Safari",
|
1327 |
-
"id":"Safari",
|
1328 |
-
"data":[
|
1329 |
-
[
|
1330 |
-
"v11.0",
|
1331 |
-
3.39
|
1332 |
-
],
|
1333 |
-
[
|
1334 |
-
"v10.1",
|
1335 |
-
0.96
|
1336 |
-
],
|
1337 |
-
[
|
1338 |
-
"v10.0",
|
1339 |
-
0.36
|
1340 |
-
],
|
1341 |
-
[
|
1342 |
-
"v9.1",
|
1343 |
-
0.54
|
1344 |
-
],
|
1345 |
-
[
|
1346 |
-
"v9.0",
|
1347 |
-
0.13
|
1348 |
-
],
|
1349 |
-
[
|
1350 |
-
"v5.1",
|
1351 |
-
0.2
|
1352 |
-
]
|
1353 |
-
]
|
1354 |
-
},
|
1355 |
-
{
|
1356 |
-
"name":"Edge",
|
1357 |
-
"id":"Edge",
|
1358 |
-
"data":[
|
1359 |
-
[
|
1360 |
-
"v16",
|
1361 |
-
2.6
|
1362 |
-
],
|
1363 |
-
[
|
1364 |
-
"v15",
|
1365 |
-
0.92
|
1366 |
-
],
|
1367 |
-
[
|
1368 |
-
"v14",
|
1369 |
-
0.4
|
1370 |
-
],
|
1371 |
-
[
|
1372 |
-
"v13",
|
1373 |
-
0.1
|
1374 |
-
]
|
1375 |
-
]
|
1376 |
-
},
|
1377 |
-
{
|
1378 |
-
"name":"Opera",
|
1379 |
-
"id":"Opera",
|
1380 |
-
"data":[
|
1381 |
-
[
|
1382 |
-
"v50.0",
|
1383 |
-
0.96
|
1384 |
-
],
|
1385 |
-
[
|
1386 |
-
"v49.0",
|
1387 |
-
0.82
|
1388 |
-
],
|
1389 |
-
[
|
1390 |
-
"v12.1",
|
1391 |
-
0.14
|
1392 |
-
]
|
1393 |
-
]
|
1394 |
-
}
|
1395 |
-
]
|
1396 |
-
}
|
1397 |
-
}
|
1398 |
-
SAMPLE6={
|
1399 |
-
"chart":{
|
1400 |
-
"type":"tilemap",
|
1401 |
-
"inverted":True,
|
1402 |
-
"height":"80%"
|
1403 |
-
},
|
1404 |
-
"accessibility":{
|
1405 |
-
"description":"A tile map represents the states of the USA by population in 2016. The hexagonal tiles are positioned to geographically echo the map of the USA. A color-coded legend states the population levels as below 1 million (beige), 1 to 5 million (orange), 5 to 20 million (pink) and above 20 million (hot pink). The chart is interactive, and the individual state data points are displayed upon hovering. Three states have a population of above 20 million: California (39.3 million), Texas (27.9 million) and Florida (20.6 million). The northern US region from Massachusetts in the Northwest to Illinois in the Midwest contains the highest concentration of states with a population of 5 to 20 million people. The southern US region from South Carolina in the Southeast to New Mexico in the Southwest contains the highest concentration of states with a population of 1 to 5 million people. 6 states have a population of less than 1 million people; these include Alaska, Delaware, Wyoming, North Dakota, South Dakota and Vermont. The state with the lowest population is Wyoming in the Northwest with 584,153 people.",
|
1406 |
-
"screenReaderSection":{
|
1407 |
-
"beforeChartFormat":"<h5>{chartTitle}</h5>""+""<div>{chartSubtitle}</div>""+""<div>{chartLongdesc}</div>""+""<div>{viewTableButton}</div>"
|
1408 |
-
},
|
1409 |
-
"point":{
|
1410 |
-
"valueDescriptionFormat":"{index}. {xDescription}, {point.value}."
|
1411 |
-
}
|
1412 |
-
},
|
1413 |
-
"title":{
|
1414 |
-
"text":"U.S. states by population in 2016"
|
1415 |
-
},
|
1416 |
-
"subtitle":{
|
1417 |
-
"text":"Source:<a href=\"https://simple.wikipedia.org/wiki/List_of_U.S._states_by_population\">Wikipedia</a>"
|
1418 |
-
},
|
1419 |
-
"xAxis":{
|
1420 |
-
"visible":False
|
1421 |
-
},
|
1422 |
-
"yAxis":{
|
1423 |
-
"visible":False
|
1424 |
-
},
|
1425 |
-
"colorAxis":{
|
1426 |
-
"dataClasses":[
|
1427 |
-
{
|
1428 |
-
"from":0,
|
1429 |
-
"to":1000000,
|
1430 |
-
"color":"#F9EDB3",
|
1431 |
-
"name":"< 1M"
|
1432 |
-
},
|
1433 |
-
{
|
1434 |
-
"from":1000000,
|
1435 |
-
"to":5000000,
|
1436 |
-
"color":"#FFC428",
|
1437 |
-
"name":"1M - 5M"
|
1438 |
-
},
|
1439 |
-
{
|
1440 |
-
"from":5000000,
|
1441 |
-
"to":20000000,
|
1442 |
-
"color":"#FF7987",
|
1443 |
-
"name":"5M - 20M"
|
1444 |
-
},
|
1445 |
-
{
|
1446 |
-
"from":20000000,
|
1447 |
-
"color":"#FF2371",
|
1448 |
-
"name":"> 20M"
|
1449 |
-
}
|
1450 |
-
]
|
1451 |
-
},
|
1452 |
-
"tooltip":{
|
1453 |
-
"headerFormat":"",
|
1454 |
-
"pointFormat":"The population of <b> {point.name}</b> is <b>{point.value}</b>"
|
1455 |
-
},
|
1456 |
-
"plotOptions":{
|
1457 |
-
"series":{
|
1458 |
-
"dataLabels":{
|
1459 |
-
"enabled":True,
|
1460 |
-
"format":"{point.hc-a2}",
|
1461 |
-
"color":"#000000",
|
1462 |
-
"style":{
|
1463 |
-
"textOutline":False
|
1464 |
-
}
|
1465 |
-
}
|
1466 |
-
}
|
1467 |
-
},
|
1468 |
-
"series":[
|
1469 |
-
{
|
1470 |
-
"name":"",
|
1471 |
-
"data":[
|
1472 |
-
{
|
1473 |
-
"hc-a2":"AL",
|
1474 |
-
"name":"Alabama",
|
1475 |
-
"region":"South",
|
1476 |
-
"x":6,
|
1477 |
-
"y":7,
|
1478 |
-
"value":4849377
|
1479 |
-
},
|
1480 |
-
{
|
1481 |
-
"hc-a2":"AK",
|
1482 |
-
"name":"Alaska",
|
1483 |
-
"region":"West",
|
1484 |
-
"x":0,
|
1485 |
-
"y":0,
|
1486 |
-
"value":737732
|
1487 |
-
},
|
1488 |
-
{
|
1489 |
-
"hc-a2":"AZ",
|
1490 |
-
"name":"Arizona",
|
1491 |
-
"region":"West",
|
1492 |
-
"x":5,
|
1493 |
-
"y":3,
|
1494 |
-
"value":6745408
|
1495 |
-
},
|
1496 |
-
{
|
1497 |
-
"hc-a2":"AR",
|
1498 |
-
"name":"Arkansas",
|
1499 |
-
"region":"South",
|
1500 |
-
"x":5,
|
1501 |
-
"y":6,
|
1502 |
-
"value":2994079
|
1503 |
-
},
|
1504 |
-
{
|
1505 |
-
"hc-a2":"CA",
|
1506 |
-
"name":"California",
|
1507 |
-
"region":"West",
|
1508 |
-
"x":5,
|
1509 |
-
"y":2,
|
1510 |
-
"value":39250017
|
1511 |
-
},
|
1512 |
-
{
|
1513 |
-
"hc-a2":"CO",
|
1514 |
-
"name":"Colorado",
|
1515 |
-
"region":"West",
|
1516 |
-
"x":4,
|
1517 |
-
"y":3,
|
1518 |
-
"value":5540545
|
1519 |
-
},
|
1520 |
-
{
|
1521 |
-
"hc-a2":"CT",
|
1522 |
-
"name":"Connecticut",
|
1523 |
-
"region":"Northeast",
|
1524 |
-
"x":3,
|
1525 |
-
"y":11,
|
1526 |
-
"value":3596677
|
1527 |
-
},
|
1528 |
-
{
|
1529 |
-
"hc-a2":"DE",
|
1530 |
-
"name":"Delaware",
|
1531 |
-
"region":"South",
|
1532 |
-
"x":4,
|
1533 |
-
"y":9,
|
1534 |
-
"value":935614
|
1535 |
-
},
|
1536 |
-
{
|
1537 |
-
"hc-a2":"DC",
|
1538 |
-
"name":"District of Columbia",
|
1539 |
-
"region":"South",
|
1540 |
-
"x":4,
|
1541 |
-
"y":10,
|
1542 |
-
"value":7288000
|
1543 |
-
},
|
1544 |
-
{
|
1545 |
-
"hc-a2":"FL",
|
1546 |
-
"name":"Florida",
|
1547 |
-
"region":"South",
|
1548 |
-
"x":8,
|
1549 |
-
"y":8,
|
1550 |
-
"value":20612439
|
1551 |
-
},
|
1552 |
-
{
|
1553 |
-
"hc-a2":"GA",
|
1554 |
-
"name":"Georgia",
|
1555 |
-
"region":"South",
|
1556 |
-
"x":7,
|
1557 |
-
"y":8,
|
1558 |
-
"value":10310371
|
1559 |
-
},
|
1560 |
-
{
|
1561 |
-
"hc-a2":"HI",
|
1562 |
-
"name":"Hawaii",
|
1563 |
-
"region":"West",
|
1564 |
-
"x":8,
|
1565 |
-
"y":0,
|
1566 |
-
"value":1419561
|
1567 |
-
},
|
1568 |
-
{
|
1569 |
-
"hc-a2":"ID",
|
1570 |
-
"name":"Idaho",
|
1571 |
-
"region":"West",
|
1572 |
-
"x":3,
|
1573 |
-
"y":2,
|
1574 |
-
"value":1634464
|
1575 |
-
},
|
1576 |
-
{
|
1577 |
-
"hc-a2":"IL",
|
1578 |
-
"name":"Illinois",
|
1579 |
-
"region":"Midwest",
|
1580 |
-
"x":3,
|
1581 |
-
"y":6,
|
1582 |
-
"value":12801539
|
1583 |
-
},
|
1584 |
-
{
|
1585 |
-
"hc-a2":"IN",
|
1586 |
-
"name":"Indiana",
|
1587 |
-
"region":"Midwest",
|
1588 |
-
"x":3,
|
1589 |
-
"y":7,
|
1590 |
-
"value":6596855
|
1591 |
-
},
|
1592 |
-
{
|
1593 |
-
"hc-a2":"IA",
|
1594 |
-
"name":"Iowa",
|
1595 |
-
"region":"Midwest",
|
1596 |
-
"x":3,
|
1597 |
-
"y":5,
|
1598 |
-
"value":3107126
|
1599 |
-
},
|
1600 |
-
{
|
1601 |
-
"hc-a2":"KS",
|
1602 |
-
"name":"Kansas",
|
1603 |
-
"region":"Midwest",
|
1604 |
-
"x":5,
|
1605 |
-
"y":5,
|
1606 |
-
"value":2904021
|
1607 |
-
},
|
1608 |
-
{
|
1609 |
-
"hc-a2":"KY",
|
1610 |
-
"name":"Kentucky",
|
1611 |
-
"region":"South",
|
1612 |
-
"x":4,
|
1613 |
-
"y":6,
|
1614 |
-
"value":4413457
|
1615 |
-
},
|
1616 |
-
{
|
1617 |
-
"hc-a2":"LA",
|
1618 |
-
"name":"Louisiana",
|
1619 |
-
"region":"South",
|
1620 |
-
"x":6,
|
1621 |
-
"y":5,
|
1622 |
-
"value":4649676
|
1623 |
-
},
|
1624 |
-
{
|
1625 |
-
"hc-a2":"ME",
|
1626 |
-
"name":"Maine",
|
1627 |
-
"region":"Northeast",
|
1628 |
-
"x":0,
|
1629 |
-
"y":11,
|
1630 |
-
"value":1330089
|
1631 |
-
},
|
1632 |
-
{
|
1633 |
-
"hc-a2":"MD",
|
1634 |
-
"name":"Maryland",
|
1635 |
-
"region":"South",
|
1636 |
-
"x":4,
|
1637 |
-
"y":8,
|
1638 |
-
"value":6016447
|
1639 |
-
},
|
1640 |
-
{
|
1641 |
-
"hc-a2":"MA",
|
1642 |
-
"name":"Massachusetts",
|
1643 |
-
"region":"Northeast",
|
1644 |
-
"x":2,
|
1645 |
-
"y":10,
|
1646 |
-
"value":6811779
|
1647 |
-
},
|
1648 |
-
{
|
1649 |
-
"hc-a2":"MI",
|
1650 |
-
"name":"Michigan",
|
1651 |
-
"region":"Midwest",
|
1652 |
-
"x":2,
|
1653 |
-
"y":7,
|
1654 |
-
"value":9928301
|
1655 |
-
},
|
1656 |
-
{
|
1657 |
-
"hc-a2":"MN",
|
1658 |
-
"name":"Minnesota",
|
1659 |
-
"region":"Midwest",
|
1660 |
-
"x":2,
|
1661 |
-
"y":4,
|
1662 |
-
"value":5519952
|
1663 |
-
},
|
1664 |
-
{
|
1665 |
-
"hc-a2":"MS",
|
1666 |
-
"name":"Mississippi",
|
1667 |
-
"region":"South",
|
1668 |
-
"x":6,
|
1669 |
-
"y":6,
|
1670 |
-
"value":2984926
|
1671 |
-
},
|
1672 |
-
{
|
1673 |
-
"hc-a2":"MO",
|
1674 |
-
"name":"Missouri",
|
1675 |
-
"region":"Midwest",
|
1676 |
-
"x":4,
|
1677 |
-
"y":5,
|
1678 |
-
"value":6093000
|
1679 |
-
},
|
1680 |
-
{
|
1681 |
-
"hc-a2":"MT",
|
1682 |
-
"name":"Montana",
|
1683 |
-
"region":"West",
|
1684 |
-
"x":2,
|
1685 |
-
"y":2,
|
1686 |
-
"value":1023579
|
1687 |
-
},
|
1688 |
-
{
|
1689 |
-
"hc-a2":"NE",
|
1690 |
-
"name":"Nebraska",
|
1691 |
-
"region":"Midwest",
|
1692 |
-
"x":4,
|
1693 |
-
"y":4,
|
1694 |
-
"value":1881503
|
1695 |
-
},
|
1696 |
-
{
|
1697 |
-
"hc-a2":"NV",
|
1698 |
-
"name":"Nevada",
|
1699 |
-
"region":"West",
|
1700 |
-
"x":4,
|
1701 |
-
"y":2,
|
1702 |
-
"value":2839099
|
1703 |
-
},
|
1704 |
-
{
|
1705 |
-
"hc-a2":"NH",
|
1706 |
-
"name":"New Hampshire",
|
1707 |
-
"region":"Northeast",
|
1708 |
-
"x":1,
|
1709 |
-
"y":11,
|
1710 |
-
"value":1326813
|
1711 |
-
},
|
1712 |
-
{
|
1713 |
-
"hc-a2":"NJ",
|
1714 |
-
"name":"New Jersey",
|
1715 |
-
"region":"Northeast",
|
1716 |
-
"x":3,
|
1717 |
-
"y":10,
|
1718 |
-
"value":8944469
|
1719 |
-
},
|
1720 |
-
{
|
1721 |
-
"hc-a2":"NM",
|
1722 |
-
"name":"New Mexico",
|
1723 |
-
"region":"West",
|
1724 |
-
"x":6,
|
1725 |
-
"y":3,
|
1726 |
-
"value":2085572
|
1727 |
-
},
|
1728 |
-
{
|
1729 |
-
"hc-a2":"NY",
|
1730 |
-
"name":"New York",
|
1731 |
-
"region":"Northeast",
|
1732 |
-
"x":2,
|
1733 |
-
"y":9,
|
1734 |
-
"value":19745289
|
1735 |
-
},
|
1736 |
-
{
|
1737 |
-
"hc-a2":"NC",
|
1738 |
-
"name":"North Carolina",
|
1739 |
-
"region":"South",
|
1740 |
-
"x":5,
|
1741 |
-
"y":9,
|
1742 |
-
"value":10146788
|
1743 |
-
},
|
1744 |
-
{
|
1745 |
-
"hc-a2":"ND",
|
1746 |
-
"name":"North Dakota",
|
1747 |
-
"region":"Midwest",
|
1748 |
-
"x":2,
|
1749 |
-
"y":3,
|
1750 |
-
"value":739482
|
1751 |
-
},
|
1752 |
-
{
|
1753 |
-
"hc-a2":"OH",
|
1754 |
-
"name":"Ohio",
|
1755 |
-
"region":"Midwest",
|
1756 |
-
"x":3,
|
1757 |
-
"y":8,
|
1758 |
-
"value":11614373
|
1759 |
-
},
|
1760 |
-
{
|
1761 |
-
"hc-a2":"OK",
|
1762 |
-
"name":"Oklahoma",
|
1763 |
-
"region":"South",
|
1764 |
-
"x":6,
|
1765 |
-
"y":4,
|
1766 |
-
"value":3878051
|
1767 |
-
},
|
1768 |
-
{
|
1769 |
-
"hc-a2":"OR",
|
1770 |
-
"name":"Oregon",
|
1771 |
-
"region":"West",
|
1772 |
-
"x":4,
|
1773 |
-
"y":1,
|
1774 |
-
"value":3970239
|
1775 |
-
},
|
1776 |
-
{
|
1777 |
-
"hc-a2":"PA",
|
1778 |
-
"name":"Pennsylvania",
|
1779 |
-
"region":"Northeast",
|
1780 |
-
"x":3,
|
1781 |
-
"y":9,
|
1782 |
-
"value":12784227
|
1783 |
-
},
|
1784 |
-
{
|
1785 |
-
"hc-a2":"RI",
|
1786 |
-
"name":"Rhode Island",
|
1787 |
-
"region":"Northeast",
|
1788 |
-
"x":2,
|
1789 |
-
"y":11,
|
1790 |
-
"value":1055173
|
1791 |
-
},
|
1792 |
-
{
|
1793 |
-
"hc-a2":"SC",
|
1794 |
-
"name":"South Carolina",
|
1795 |
-
"region":"South",
|
1796 |
-
"x":6,
|
1797 |
-
"y":8,
|
1798 |
-
"value":4832482
|
1799 |
-
},
|
1800 |
-
{
|
1801 |
-
"hc-a2":"SD",
|
1802 |
-
"name":"South Dakota",
|
1803 |
-
"region":"Midwest",
|
1804 |
-
"x":3,
|
1805 |
-
"y":4,
|
1806 |
-
"value":853175
|
1807 |
-
},
|
1808 |
-
{
|
1809 |
-
"hc-a2":"TN",
|
1810 |
-
"name":"Tennessee",
|
1811 |
-
"region":"South",
|
1812 |
-
"x":5,
|
1813 |
-
"y":7,
|
1814 |
-
"value":6651194
|
1815 |
-
},
|
1816 |
-
{
|
1817 |
-
"hc-a2":"TX",
|
1818 |
-
"name":"Texas",
|
1819 |
-
"region":"South",
|
1820 |
-
"x":7,
|
1821 |
-
"y":4,
|
1822 |
-
"value":27862596
|
1823 |
-
},
|
1824 |
-
{
|
1825 |
-
"hc-a2":"UT",
|
1826 |
-
"name":"Utah",
|
1827 |
-
"region":"West",
|
1828 |
-
"x":5,
|
1829 |
-
"y":4,
|
1830 |
-
"value":2942902
|
1831 |
-
},
|
1832 |
-
{
|
1833 |
-
"hc-a2":"VT",
|
1834 |
-
"name":"Vermont",
|
1835 |
-
"region":"Northeast",
|
1836 |
-
"x":1,
|
1837 |
-
"y":10,
|
1838 |
-
"value":626011
|
1839 |
-
},
|
1840 |
-
{
|
1841 |
-
"hc-a2":"VA",
|
1842 |
-
"name":"Virginia",
|
1843 |
-
"region":"South",
|
1844 |
-
"x":5,
|
1845 |
-
"y":8,
|
1846 |
-
"value":8411808
|
1847 |
-
},
|
1848 |
-
{
|
1849 |
-
"hc-a2":"WA",
|
1850 |
-
"name":"Washington",
|
1851 |
-
"region":"West",
|
1852 |
-
"x":2,
|
1853 |
-
"y":1,
|
1854 |
-
"value":7288000
|
1855 |
-
},
|
1856 |
-
{
|
1857 |
-
"hc-a2":"WV",
|
1858 |
-
"name":"West Virginia",
|
1859 |
-
"region":"South",
|
1860 |
-
"x":4,
|
1861 |
-
"y":7,
|
1862 |
-
"value":1850326
|
1863 |
-
},
|
1864 |
-
{
|
1865 |
-
"hc-a2":"WI",
|
1866 |
-
"name":"Wisconsin",
|
1867 |
-
"region":"Midwest",
|
1868 |
-
"x":2,
|
1869 |
-
"y":5,
|
1870 |
-
"value":5778708
|
1871 |
-
},
|
1872 |
-
{
|
1873 |
-
"hc-a2":"WY",
|
1874 |
-
"name":"Wyoming",
|
1875 |
-
"region":"West",
|
1876 |
-
"x":3,
|
1877 |
-
"y":3,
|
1878 |
-
"value":584153
|
1879 |
-
}
|
1880 |
-
]
|
1881 |
-
}
|
1882 |
-
]
|
1883 |
-
}
|
1884 |
-
SAMPLE7={
|
1885 |
-
"chart":{
|
1886 |
-
"type":"pie"
|
1887 |
-
},
|
1888 |
-
"title":{
|
1889 |
-
"text":"Browser market shares. January, 2022"
|
1890 |
-
},
|
1891 |
-
"subtitle":{
|
1892 |
-
"text":"Click the slices to view versions. Source: <a href=\"http://statcounter.com\" target=\"_blank\">statcounter.com</a>"
|
1893 |
-
},
|
1894 |
-
"accessibility":{
|
1895 |
-
"announceNewData":{
|
1896 |
-
"enabled":True
|
1897 |
-
},
|
1898 |
-
"point":{
|
1899 |
-
"valueSuffix":"%"
|
1900 |
-
}
|
1901 |
-
},
|
1902 |
-
"plotOptions":{
|
1903 |
-
"series":{
|
1904 |
-
"dataLabels":{
|
1905 |
-
"enabled":True,
|
1906 |
-
"format":"{point.name}: {point.y:.1f}%"
|
1907 |
-
}
|
1908 |
-
}
|
1909 |
-
},
|
1910 |
-
"tooltip":{
|
1911 |
-
"headerFormat":"<span style=\"font-size:11px\">{series.name}</span><br>",
|
1912 |
-
"pointFormat":"<span style=\"color:{point.color}\">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>"
|
1913 |
-
},
|
1914 |
-
"series":[
|
1915 |
-
{
|
1916 |
-
"name":"Browsers",
|
1917 |
-
"colorByPoint":True,
|
1918 |
-
"data":[
|
1919 |
-
{
|
1920 |
-
"name":"Chrome",
|
1921 |
-
"y":61.04,
|
1922 |
-
"drilldown":"Chrome"
|
1923 |
-
},
|
1924 |
-
{
|
1925 |
-
"name":"Safari",
|
1926 |
-
"y":9.47,
|
1927 |
-
"drilldown":"Safari"
|
1928 |
-
},
|
1929 |
-
{
|
1930 |
-
"name":"Edge",
|
1931 |
-
"y":9.32,
|
1932 |
-
"drilldown":"Edge"
|
1933 |
-
},
|
1934 |
-
{
|
1935 |
-
"name":"Firefox",
|
1936 |
-
"y":8.15,
|
1937 |
-
"drilldown":"Firefox"
|
1938 |
-
},
|
1939 |
-
{
|
1940 |
-
"name":"Other",
|
1941 |
-
"y":11.02,
|
1942 |
-
"drilldown":"null"
|
1943 |
-
}
|
1944 |
-
]
|
1945 |
-
}
|
1946 |
-
],
|
1947 |
-
"drilldown":{
|
1948 |
-
"series":[
|
1949 |
-
{
|
1950 |
-
"name":"Chrome",
|
1951 |
-
"id":"Chrome",
|
1952 |
-
"data":[
|
1953 |
-
[
|
1954 |
-
"v97.0",
|
1955 |
-
36.89
|
1956 |
-
],
|
1957 |
-
[
|
1958 |
-
"v96.0",
|
1959 |
-
18.16
|
1960 |
-
],
|
1961 |
-
[
|
1962 |
-
"v95.0",
|
1963 |
-
0.54
|
1964 |
-
],
|
1965 |
-
[
|
1966 |
-
"v94.0",
|
1967 |
-
0.7
|
1968 |
-
],
|
1969 |
-
[
|
1970 |
-
"v93.0",
|
1971 |
-
0.8
|
1972 |
-
],
|
1973 |
-
[
|
1974 |
-
"v92.0",
|
1975 |
-
0.41
|
1976 |
-
],
|
1977 |
-
[
|
1978 |
-
"v91.0",
|
1979 |
-
0.31
|
1980 |
-
],
|
1981 |
-
[
|
1982 |
-
"v90.0",
|
1983 |
-
0.13
|
1984 |
-
],
|
1985 |
-
[
|
1986 |
-
"v89.0",
|
1987 |
-
0.14
|
1988 |
-
],
|
1989 |
-
[
|
1990 |
-
"v88.0",
|
1991 |
-
0.1
|
1992 |
-
],
|
1993 |
-
[
|
1994 |
-
"v87.0",
|
1995 |
-
0.35
|
1996 |
-
],
|
1997 |
-
[
|
1998 |
-
"v86.0",
|
1999 |
-
0.17
|
2000 |
-
],
|
2001 |
-
[
|
2002 |
-
"v85.0",
|
2003 |
-
0.18
|
2004 |
-
],
|
2005 |
-
[
|
2006 |
-
"v84.0",
|
2007 |
-
0.17
|
2008 |
-
],
|
2009 |
-
[
|
2010 |
-
"v83.0",
|
2011 |
-
0.21
|
2012 |
-
],
|
2013 |
-
[
|
2014 |
-
"v81.0",
|
2015 |
-
0.1
|
2016 |
-
],
|
2017 |
-
[
|
2018 |
-
"v80.0",
|
2019 |
-
0.16
|
2020 |
-
],
|
2021 |
-
[
|
2022 |
-
"v79.0",
|
2023 |
-
0.43
|
2024 |
-
],
|
2025 |
-
[
|
2026 |
-
"v78.0",
|
2027 |
-
0.11
|
2028 |
-
],
|
2029 |
-
[
|
2030 |
-
"v76.0",
|
2031 |
-
0.16
|
2032 |
-
],
|
2033 |
-
[
|
2034 |
-
"v75.0",
|
2035 |
-
0.15
|
2036 |
-
],
|
2037 |
-
[
|
2038 |
-
"v72.0",
|
2039 |
-
0.14
|
2040 |
-
],
|
2041 |
-
[
|
2042 |
-
"v70.0",
|
2043 |
-
0.11
|
2044 |
-
],
|
2045 |
-
[
|
2046 |
-
"v69.0",
|
2047 |
-
0.13
|
2048 |
-
],
|
2049 |
-
[
|
2050 |
-
"v56.0",
|
2051 |
-
0.12
|
2052 |
-
],
|
2053 |
-
[
|
2054 |
-
"v49.0",
|
2055 |
-
0.17
|
2056 |
-
]
|
2057 |
-
]
|
2058 |
-
},
|
2059 |
-
{
|
2060 |
-
"name":"Safari",
|
2061 |
-
"id":"Safari",
|
2062 |
-
"data":[
|
2063 |
-
[
|
2064 |
-
"v15.3",
|
2065 |
-
0.1
|
2066 |
-
],
|
2067 |
-
[
|
2068 |
-
"v15.2",
|
2069 |
-
2.01
|
2070 |
-
],
|
2071 |
-
[
|
2072 |
-
"v15.1",
|
2073 |
-
2.29
|
2074 |
-
],
|
2075 |
-
[
|
2076 |
-
"v15.0",
|
2077 |
-
0.49
|
2078 |
-
],
|
2079 |
-
[
|
2080 |
-
"v14.1",
|
2081 |
-
2.48
|
2082 |
-
],
|
2083 |
-
[
|
2084 |
-
"v14.0",
|
2085 |
-
0.64
|
2086 |
-
],
|
2087 |
-
[
|
2088 |
-
"v13.1",
|
2089 |
-
1.17
|
2090 |
-
],
|
2091 |
-
[
|
2092 |
-
"v13.0",
|
2093 |
-
0.13
|
2094 |
-
],
|
2095 |
-
[
|
2096 |
-
"v12.1",
|
2097 |
-
0.16
|
2098 |
-
]
|
2099 |
-
]
|
2100 |
-
},
|
2101 |
-
{
|
2102 |
-
"name":"Edge",
|
2103 |
-
"id":"Edge",
|
2104 |
-
"data":[
|
2105 |
-
[
|
2106 |
-
"v97",
|
2107 |
-
6.62
|
2108 |
-
],
|
2109 |
-
[
|
2110 |
-
"v96",
|
2111 |
-
2.55
|
2112 |
-
],
|
2113 |
-
[
|
2114 |
-
"v95",
|
2115 |
-
0.15
|
2116 |
-
]
|
2117 |
-
]
|
2118 |
-
},
|
2119 |
-
{
|
2120 |
-
"name":"Firefox",
|
2121 |
-
"id":"Firefox",
|
2122 |
-
"data":[
|
2123 |
-
[
|
2124 |
-
"v96.0",
|
2125 |
-
4.17
|
2126 |
-
],
|
2127 |
-
[
|
2128 |
-
"v95.0",
|
2129 |
-
3.33
|
2130 |
-
],
|
2131 |
-
[
|
2132 |
-
"v94.0",
|
2133 |
-
0.11
|
2134 |
-
],
|
2135 |
-
[
|
2136 |
-
"v91.0",
|
2137 |
-
0.23
|
2138 |
-
],
|
2139 |
-
[
|
2140 |
-
"v78.0",
|
2141 |
-
0.16
|
2142 |
-
],
|
2143 |
-
[
|
2144 |
-
"v52.0",
|
2145 |
-
0.15
|
2146 |
-
]
|
2147 |
-
]
|
2148 |
-
}
|
2149 |
-
]
|
2150 |
-
}
|
2151 |
-
}
|
2152 |
-
SAMPLE8={
|
2153 |
-
"title":{
|
2154 |
-
"text":"Sales of petroleum products March, Norway",
|
2155 |
-
"align":"left"
|
2156 |
-
},
|
2157 |
-
"xAxis":{
|
2158 |
-
"categories":[
|
2159 |
-
"Jet fuel",
|
2160 |
-
"Duty-free diesel",
|
2161 |
-
"Petrol",
|
2162 |
-
"Diesel",
|
2163 |
-
"Gas oil"
|
2164 |
-
]
|
2165 |
-
},
|
2166 |
-
"yAxis":{
|
2167 |
-
"title":{
|
2168 |
-
"text":"Million liter"
|
2169 |
-
}
|
2170 |
-
},
|
2171 |
-
"labels":{
|
2172 |
-
"items":[
|
2173 |
-
{
|
2174 |
-
"html":"Total liter",
|
2175 |
-
"style":{
|
2176 |
-
"left":"50px",
|
2177 |
-
"top":"18px",
|
2178 |
-
"color":"black"
|
2179 |
-
}
|
2180 |
-
}
|
2181 |
-
]
|
2182 |
-
},
|
2183 |
-
"series":[
|
2184 |
-
{
|
2185 |
-
"type":"column",
|
2186 |
-
"name":"2020",
|
2187 |
-
"data":[
|
2188 |
-
59,
|
2189 |
-
83,
|
2190 |
-
65,
|
2191 |
-
228,
|
2192 |
-
184
|
2193 |
-
]
|
2194 |
-
},
|
2195 |
-
{
|
2196 |
-
"type":"column",
|
2197 |
-
"name":"2021",
|
2198 |
-
"data":[
|
2199 |
-
24,
|
2200 |
-
79,
|
2201 |
-
72,
|
2202 |
-
240,
|
2203 |
-
167
|
2204 |
-
]
|
2205 |
-
},
|
2206 |
-
{
|
2207 |
-
"type":"column",
|
2208 |
-
"name":"2022",
|
2209 |
-
"data":[
|
2210 |
-
58,
|
2211 |
-
88,
|
2212 |
-
75,
|
2213 |
-
250,
|
2214 |
-
176
|
2215 |
-
]
|
2216 |
-
},
|
2217 |
-
{
|
2218 |
-
"type":"spline",
|
2219 |
-
"name":"Average",
|
2220 |
-
"data":[
|
2221 |
-
47,
|
2222 |
-
83.33,
|
2223 |
-
70.66,
|
2224 |
-
239.33,
|
2225 |
-
175.66
|
2226 |
-
],
|
2227 |
-
"marker":{
|
2228 |
-
"lineWidth":2,
|
2229 |
-
"fillColor":"black",
|
2230 |
-
}
|
2231 |
-
},
|
2232 |
-
{
|
2233 |
-
"type":"pie",
|
2234 |
-
"name":"Liter",
|
2235 |
-
"data":[
|
2236 |
-
{
|
2237 |
-
"name":"2020",
|
2238 |
-
"y":619,
|
2239 |
-
"color": "#7cb4ec"
|
2240 |
-
|
2241 |
-
},
|
2242 |
-
{
|
2243 |
-
"name":"2021",
|
2244 |
-
"y":586,
|
2245 |
-
"color": "#434348"
|
2246 |
-
},
|
2247 |
-
{
|
2248 |
-
"name":"2022",
|
2249 |
-
"y":647,
|
2250 |
-
"color":"#90ed7d"
|
2251 |
-
}
|
2252 |
-
],
|
2253 |
-
"center":[
|
2254 |
-
80,
|
2255 |
-
70
|
2256 |
-
],
|
2257 |
-
"size":100,
|
2258 |
-
"showInLegend":False,
|
2259 |
-
"dataLabels":{
|
2260 |
-
"enabled":False
|
2261 |
-
}
|
2262 |
-
}
|
2263 |
-
]
|
2264 |
-
}
|
2265 |
-
SAMPLE9={
|
2266 |
-
"chart":{
|
2267 |
-
"type":"solidgauge",
|
2268 |
-
"height":"90%"
|
2269 |
-
},
|
2270 |
-
"title":{
|
2271 |
-
"text":"Activity",
|
2272 |
-
"style":{
|
2273 |
-
"fontSize":"24px"
|
2274 |
-
}
|
2275 |
-
},
|
2276 |
-
"tooltip":{
|
2277 |
-
"borderWidth":0,
|
2278 |
-
"backgroundColor":"none",
|
2279 |
-
"shadow":False,
|
2280 |
-
"style":{
|
2281 |
-
"fontSize":"16px"
|
2282 |
-
},
|
2283 |
-
"valueSuffix":"%",
|
2284 |
-
"pointFormat":"{series.name}<br><span style=\"font-size:2em; color: {point.color}; font-weight: bold\">{point.y}</span>",
|
2285 |
-
"positioner":{
|
2286 |
-
"x":"50px",
|
2287 |
-
"y":100
|
2288 |
-
}
|
2289 |
-
},
|
2290 |
-
"pane":{
|
2291 |
-
"startAngle":0,
|
2292 |
-
"endAngle":360,
|
2293 |
-
"background":[
|
2294 |
-
{
|
2295 |
-
"radius":"112%",
|
2296 |
-
"innerRadius":"88%",
|
2297 |
-
"borderWidth":0
|
2298 |
-
},
|
2299 |
-
{
|
2300 |
-
"radius":"87%",
|
2301 |
-
"innerRadius":"63%",
|
2302 |
-
"borderWidth":0
|
2303 |
-
},
|
2304 |
-
{
|
2305 |
-
"radius":"62%",
|
2306 |
-
"innerRadius":"38%",
|
2307 |
-
"borderWidth":0
|
2308 |
-
}
|
2309 |
-
]
|
2310 |
-
},
|
2311 |
-
"yAxis":{
|
2312 |
-
"min":0,
|
2313 |
-
"max":100,
|
2314 |
-
"lineWidth":0,
|
2315 |
-
"tickPositions":[
|
2316 |
-
|
2317 |
-
]
|
2318 |
-
},
|
2319 |
-
"plotOptions":{
|
2320 |
-
"solidgauge":{
|
2321 |
-
"dataLabels":{
|
2322 |
-
"enabled":False
|
2323 |
-
},
|
2324 |
-
"linecap":"round",
|
2325 |
-
"stickyTracking":False,
|
2326 |
-
"rounded":True
|
2327 |
-
}
|
2328 |
-
},
|
2329 |
-
"series":[
|
2330 |
-
{
|
2331 |
-
"name":"Move",
|
2332 |
-
"data":[
|
2333 |
-
{
|
2334 |
-
"color":"lightgreen",
|
2335 |
-
"radius":"112%",
|
2336 |
-
"innerRadius":"88%",
|
2337 |
-
"y":80
|
2338 |
-
}
|
2339 |
-
]
|
2340 |
-
},
|
2341 |
-
{
|
2342 |
-
"name":"Exercise",
|
2343 |
-
"data":[
|
2344 |
-
{
|
2345 |
-
"color":"red",
|
2346 |
-
"radius":"87%",
|
2347 |
-
"innerRadius":"63%",
|
2348 |
-
"y":65
|
2349 |
-
}
|
2350 |
-
]
|
2351 |
-
},
|
2352 |
-
{
|
2353 |
-
"name":"Stand",
|
2354 |
-
"data":[
|
2355 |
-
{
|
2356 |
-
"color":"blue",
|
2357 |
-
"radius":"62%",
|
2358 |
-
"innerRadius":"38%",
|
2359 |
-
"y":50
|
2360 |
-
}
|
2361 |
-
]
|
2362 |
-
}
|
2363 |
-
]
|
2364 |
-
}
|
2365 |
-
SAMPLE10={
|
2366 |
-
|
2367 |
-
"chart": {
|
2368 |
-
"type": 'gauge',
|
2369 |
-
"plotBackgroundColor": "white",
|
2370 |
-
"plotBackgroundImage": "white",
|
2371 |
-
"plotBorderWidth": 0,
|
2372 |
-
"plotShadow": False,
|
2373 |
-
"height": '80%'
|
2374 |
-
},
|
2375 |
-
|
2376 |
-
"title": {
|
2377 |
-
"text": 'Speedometer'
|
2378 |
-
},
|
2379 |
-
|
2380 |
-
"pane": {
|
2381 |
-
"startAngle": -90,
|
2382 |
-
"endAngle": 89.9,
|
2383 |
-
"background": "null",
|
2384 |
-
"center": ['50%', '75%'],
|
2385 |
-
"size": '110%'
|
2386 |
-
},
|
2387 |
-
|
2388 |
-
"yAxis": {
|
2389 |
-
"min": 0,
|
2390 |
-
"max": 200,
|
2391 |
-
"tickPixelInterval": 72,
|
2392 |
-
"tickPosition": 'inside',
|
2393 |
-
"tickColor": '#FFFFFF',
|
2394 |
-
"tickLength": 20,
|
2395 |
-
"tickWidth": 2,
|
2396 |
-
"minorTickInterval": "null",
|
2397 |
-
"labels": {
|
2398 |
-
"distance": 20,
|
2399 |
-
"style": {
|
2400 |
-
"fontSize": '14px'
|
2401 |
-
}
|
2402 |
-
},
|
2403 |
-
"plotBands": [{
|
2404 |
-
"from": 0,
|
2405 |
-
"to": 120,
|
2406 |
-
"color": '#55BF3B',
|
2407 |
-
"thickness": 20
|
2408 |
-
}, {
|
2409 |
-
"from": 120,
|
2410 |
-
"to": 160,
|
2411 |
-
"color": '#DDDF0D',
|
2412 |
-
"thickness": 20
|
2413 |
-
}, {
|
2414 |
-
"from": 160,
|
2415 |
-
"to": 200,
|
2416 |
-
"color": '#DF5353',
|
2417 |
-
"thickness": 20
|
2418 |
-
}]
|
2419 |
-
},
|
2420 |
-
|
2421 |
-
"series": [{
|
2422 |
-
"name": 'Speed',
|
2423 |
-
"data": [80],
|
2424 |
-
"tooltip": {
|
2425 |
-
"valueSuffix": ' km/h'
|
2426 |
-
},
|
2427 |
-
"dataLabels": {
|
2428 |
-
"format": '{y} km/h',
|
2429 |
-
"borderWidth": 0,
|
2430 |
-
"color": '#333333',
|
2431 |
-
"style": {
|
2432 |
-
"fontSize": '16px'
|
2433 |
-
}
|
2434 |
-
},
|
2435 |
-
"dial": {
|
2436 |
-
"radius": '80%',
|
2437 |
-
"backgroundColor": 'gray',
|
2438 |
-
"baseWidth": 12,
|
2439 |
-
"baseLength": '0%',
|
2440 |
-
"rearLength": '0%'
|
2441 |
-
},
|
2442 |
-
"pivot": {
|
2443 |
-
"backgroundColor": 'gray',
|
2444 |
-
"radius": 6
|
2445 |
-
}
|
2446 |
-
}]
|
2447 |
-
|
2448 |
-
}
|
2449 |
-
SAMPLE11={
|
2450 |
-
|
2451 |
-
"title": {
|
2452 |
-
"text": 'Highcharts Dependency Wheel'
|
2453 |
-
},
|
2454 |
-
|
2455 |
-
"accessibility": {
|
2456 |
-
"point": {
|
2457 |
-
"valueDescriptionFormat": '{index}. From {point.from} to {point.to}: {point.weight}.'
|
2458 |
-
}
|
2459 |
-
},
|
2460 |
-
|
2461 |
-
"series": [{
|
2462 |
-
"keys": ['from', 'to', 'weight'],
|
2463 |
-
"data": [
|
2464 |
-
['Brazil', 'Portugal', 5],
|
2465 |
-
['Brazil', 'France', 1],
|
2466 |
-
['Brazil', 'Spain', 1],
|
2467 |
-
['Brazil', 'England', 1],
|
2468 |
-
['Canada', 'Portugal', 1],
|
2469 |
-
['Canada', 'France', 5],
|
2470 |
-
['Canada', 'England', 1],
|
2471 |
-
['Mexico', 'Portugal', 1],
|
2472 |
-
['Mexico', 'France', 1],
|
2473 |
-
['Mexico', 'Spain', 5],
|
2474 |
-
['Mexico', 'England', 1],
|
2475 |
-
['USA', 'Portugal', 1],
|
2476 |
-
['USA', 'France', 1],
|
2477 |
-
['USA', 'Spain', 1],
|
2478 |
-
['USA', 'England', 5],
|
2479 |
-
['Portugal', 'Angola', 2],
|
2480 |
-
['Portugal', 'Senegal', 1],
|
2481 |
-
['Portugal', 'Morocco', 1],
|
2482 |
-
['Portugal', 'South Africa', 3],
|
2483 |
-
['France', 'Angola', 1],
|
2484 |
-
['France', 'Senegal', 3],
|
2485 |
-
['France', 'Mali', 3],
|
2486 |
-
['France', 'Morocco', 3],
|
2487 |
-
['France', 'South Africa', 1],
|
2488 |
-
['Spain', 'Senegal', 1],
|
2489 |
-
['Spain', 'Morocco', 3],
|
2490 |
-
['Spain', 'South Africa', 1],
|
2491 |
-
['England', 'Angola', 1],
|
2492 |
-
['England', 'Senegal', 1],
|
2493 |
-
['England', 'Morocco', 2],
|
2494 |
-
['England', 'South Africa', 7],
|
2495 |
-
['South Africa', 'China', 5],
|
2496 |
-
['South Africa', 'India', 1],
|
2497 |
-
['South Africa', 'Japan', 3],
|
2498 |
-
['Angola', 'China', 5],
|
2499 |
-
['Angola', 'India', 1],
|
2500 |
-
['Angola', 'Japan', 3],
|
2501 |
-
['Senegal', 'China', 5],
|
2502 |
-
['Senegal', 'India', 1],
|
2503 |
-
['Senegal', 'Japan', 3],
|
2504 |
-
['Mali', 'China', 5],
|
2505 |
-
['Mali', 'India', 1],
|
2506 |
-
['Mali', 'Japan', 3],
|
2507 |
-
['Morocco', 'China', 5],
|
2508 |
-
['Morocco', 'India', 1],
|
2509 |
-
['Morocco', 'Japan', 3],
|
2510 |
-
['Japan', 'Brazil', 1]
|
2511 |
-
],
|
2512 |
-
"type": 'dependencywheel',
|
2513 |
-
"name": 'Dependency wheel series',
|
2514 |
-
"dataLabels": {
|
2515 |
-
"color": '#333',
|
2516 |
-
"style": {
|
2517 |
-
"textOutline": 'none'
|
2518 |
-
},
|
2519 |
-
"textPath": {
|
2520 |
-
"enabled": True,
|
2521 |
-
"attributes": {
|
2522 |
-
"dy": 5
|
2523 |
-
}
|
2524 |
-
},
|
2525 |
-
"distance": 10
|
2526 |
-
},
|
2527 |
-
"size": '95%'
|
2528 |
-
}]
|
2529 |
-
|
2530 |
-
}
|
2531 |
-
frontend_dir = (Path(__file__).parent / "frontend").absolute()
|
2532 |
-
_component_func = components.declare_component(
|
2533 |
-
"streamlit_highcharts", path=str(frontend_dir)
|
2534 |
-
)
|
2535 |
-
|
2536 |
-
def streamlit_highcharts(
|
2537 |
-
options=SAMPLE,
|
2538 |
-
height=410,
|
2539 |
-
key: Optional[str] = None,
|
2540 |
-
):
|
2541 |
-
"""
|
2542 |
-
Add a descriptive docstring
|
2543 |
-
"""
|
2544 |
-
component_value = _component_func(
|
2545 |
-
options=options,key=key,height=height
|
2546 |
-
)
|
2547 |
-
|
2548 |
-
return component_value
|
2549 |
-
|
2550 |
-
|
2551 |
-
# def main():
|
2552 |
-
# st.write("## Example")
|
2553 |
-
# selSample=st.selectbox("Choose a sample",[SAMPLE,SAMPLE2,SAMPLE3,SAMPLE4,SAMPLE5,SAMPLE6,SAMPLE7,SAMPLE8,SAMPLE9,SAMPLE10],format_func=lambda x: str(x["title"]["text"])
|
2554 |
-
# )
|
2555 |
-
# value = streamlit_highcharts(selSample,640)
|
2556 |
-
# with st.expander("Show code...",expanded=False):
|
2557 |
-
# st.code(str(selSample).replace("},","},\r\n"),language="python")
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
# if __name__ == "__main__":
|
2562 |
-
# main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
st_hc/frontend/index.html
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8" />
|
5 |
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
-
<title>streamlit-highcharts</title>
|
8 |
-
<script src="https://code.highcharts.com/stock/highstock.js"></script>
|
9 |
-
<script src="https://code.highcharts.com/highcharts-more.js"></script>
|
10 |
-
<script src="https://code.highcharts.com/modules/heatmap.js"></script>
|
11 |
-
<script src="https://code.highcharts.com/modules/tilemap.js"></script>
|
12 |
-
<script src="https://code.highcharts.com/modules/streamgraph.js"></script>
|
13 |
-
<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>
|
14 |
-
<script src="https://code.highcharts.com/modules/series-label.js"></script>
|
15 |
-
<script src="https://code.highcharts.com/modules/data.js"></script>
|
16 |
-
<script src="https://code.highcharts.com/modules/drilldown.js"></script>
|
17 |
-
<script src="https://code.highcharts.com/modules/sankey.js"></script>
|
18 |
-
<script src="https://code.highcharts.com/modules/dependency-wheel.js"></script>
|
19 |
-
<script src="https://code.highcharts.com/modules/annotations.js"></script>
|
20 |
-
<script src="https://code.highcharts.com/modules/exporting.js"></script>
|
21 |
-
<script src="https://code.highcharts.com/modules/export-data.js"></script>
|
22 |
-
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
|
23 |
-
<script src="https://github.highcharts.com/modules/parallel-coordinates.js"></script>
|
24 |
-
<script src="https://code.highcharts.com/modules/draggable-points.js"></script>
|
25 |
-
<script src="https://code.highcharts.com/modules/exporting.js"></script>
|
26 |
-
<script src="https://code.highcharts.com/modules/export-data.js"></script>
|
27 |
-
<script src="./streamlit-component-lib.js"></script>
|
28 |
-
<script src="./main.js"></script>
|
29 |
-
<link rel="stylesheet" href="./style.css" />
|
30 |
-
</head>
|
31 |
-
<body>
|
32 |
-
<div id="root">
|
33 |
-
<div id="container" ></div>
|
34 |
-
</div>
|
35 |
-
</body>
|
36 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
st_hc/frontend/main.js
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
function sendValue(value) {
|
2 |
-
Streamlit.setComponentValue(value)
|
3 |
-
}
|
4 |
-
|
5 |
-
|
6 |
-
function onRender(event) {
|
7 |
-
if (true) {
|
8 |
-
const {options,height} = event.detail.args
|
9 |
-
Streamlit.setFrameHeight(height+20)
|
10 |
-
document.getElementById("container").style.height=height+"px"
|
11 |
-
let c = Highcharts.chart('container', options);
|
12 |
-
|
13 |
-
let points = c.series[0].data.map((p) =>
|
14 |
-
({ x: Math.round(p.x),
|
15 |
-
y: Math.round(p.y),
|
16 |
-
color:p.color,
|
17 |
-
name:p.name} ));
|
18 |
-
sendValue(points);
|
19 |
-
|
20 |
-
console.log(c.series[0].data);
|
21 |
-
|
22 |
-
c.series[0].data.forEach((point, i) => {
|
23 |
-
|
24 |
-
point.graphic.element.onclick = () => {
|
25 |
-
|
26 |
-
let points = c.series[0].data.map((p) =>
|
27 |
-
({ x: Math.round(p.x),
|
28 |
-
y: Math.round(p.y),
|
29 |
-
color:p.color,
|
30 |
-
name:p.name} ));
|
31 |
-
|
32 |
-
console.log(points);
|
33 |
-
sendValue(points);
|
34 |
-
|
35 |
-
}
|
36 |
-
})
|
37 |
-
window.rendered = true
|
38 |
-
}
|
39 |
-
}
|
40 |
-
|
41 |
-
Streamlit.events.addEventListener(Streamlit.RENDER_EVENT, onRender)
|
42 |
-
Streamlit.setComponentReady()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
st_hc/frontend/streamlit-component-lib.js
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
|
2 |
-
// Borrowed minimalistic Streamlit API from Thiago
|
3 |
-
// https://discuss.streamlit.io/t/code-snippet-create-components-without-any-frontend-tooling-no-react-babel-webpack-etc/13064
|
4 |
-
function sendMessageToStreamlitClient(type, data) {
|
5 |
-
console.log(type, data)
|
6 |
-
const outData = Object.assign({
|
7 |
-
isStreamlitMessage: true,
|
8 |
-
type: type,
|
9 |
-
}, data);
|
10 |
-
window.parent.postMessage(outData, "*");
|
11 |
-
}
|
12 |
-
|
13 |
-
const Streamlit = {
|
14 |
-
setComponentReady: function() {
|
15 |
-
sendMessageToStreamlitClient("streamlit:componentReady", {apiVersion: 1});
|
16 |
-
},
|
17 |
-
setFrameHeight: function(height) {
|
18 |
-
sendMessageToStreamlitClient("streamlit:setFrameHeight", {height: height});
|
19 |
-
},
|
20 |
-
setComponentValue: function(value) {
|
21 |
-
sendMessageToStreamlitClient("streamlit:setComponentValue", {value: value});
|
22 |
-
},
|
23 |
-
RENDER_EVENT: "streamlit:render",
|
24 |
-
events: {
|
25 |
-
addEventListener: function(type, callback) {
|
26 |
-
window.addEventListener("message", function(event) {
|
27 |
-
if (event.data.type === type) {
|
28 |
-
event.detail = event.data
|
29 |
-
callback(event);
|
30 |
-
}
|
31 |
-
});
|
32 |
-
}
|
33 |
-
}
|
34 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
st_hc/frontend/style.css
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
text.highcharts-credits {
|
2 |
-
display: none;
|
3 |
-
}
|
4 |
-
.highcharts-exporting-group {
|
5 |
-
display: none;
|
6 |
-
}
|
7 |
-
div[class*="chartMenu"] {
|
8 |
-
display: none;
|
9 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
temp.html
DELETED
@@ -1,310 +0,0 @@
|
|
1 |
-
|
2 |
-
<!DOCTYPE html>
|
3 |
-
<html lang="en">
|
4 |
-
<head>
|
5 |
-
<meta charset="UTF-8">
|
6 |
-
<title>Cartographie des parties prenantes bziiit</title>
|
7 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
8 |
-
<style>
|
9 |
-
body {
|
10 |
-
font-family: 'Roboto', sans-serif;
|
11 |
-
margin: 20px;
|
12 |
-
}
|
13 |
-
h1, h2, h3, h4, h5, h6 {
|
14 |
-
font-weight: bold;
|
15 |
-
}
|
16 |
-
.page-break {
|
17 |
-
page-break-before: always;
|
18 |
-
margin: 50px;
|
19 |
-
height: 50px;
|
20 |
-
}
|
21 |
-
</style>
|
22 |
-
</head>
|
23 |
-
<body>
|
24 |
-
<div style="text-align: center;">
|
25 |
-
<h1>Cartographie des parties prenantes "bziiit"</h1>
|
26 |
-
<p>Date de l'analyse IA RSE : 2024-07-19</p>
|
27 |
-
<p>IA utilisées :</p>
|
28 |
-
<p>GPT-4o</p>
|
29 |
-
<img src="https://static.wixstatic.com/media/d7d3da_b69e03ae99224f7d8b6e358918e60071~mv2.png/v1/crop/x_173,y_0,w_1906,h_938/fill/w_242,h_119,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/BZIIIT_LOGO-HORIZ-COULEUR.png" alt="Logo" style="width: 150px;"/>
|
30 |
-
</div>
|
31 |
-
<div class="page-break"></div>
|
32 |
-
<div style="text-align: center; margin-top: 20px;">
|
33 |
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAAJYCAYAAACAbzXXAAAgAElEQVR4Xuy9C5hdVX2/vyoQJpAA4RK5JUXiBQuIQEx/CKIoSDABTVtLVepPbZUalbQGo5GkpiQYjcb+EmVatFX+XtBq26jEKyoWMWocQIuIVYKayMUIBMIlA4j5P+vInu7ZOXPO3uezzv6uvead5/Fpw+zvWmu/n7XWvNlZZ88f7Ny5c6fjCwIQ6Epg3bp1bnBwcNR1++yzj1u1apWbMWNG1/qyF2zbts0tXLjQHXfccW7BggVlyxpznef48Y9/vBS3NWvWuGuuuabUtQqAjPnZZ5/t5s2bpzQVdW0n9nWxjhpQnwdXZe73eSg0D4FxR+APEN5xlzk3XJFAJkP33XffLuKVSfD8+fODiRLC+78B1SVhCK9zdbGuuPySuhzhTSpObqZhBBDehgXGcOslMDw87JYvX+7uuOMOt3r1ajdlypRdBrBp0yZ3yy23uDPPPDPI4BDeIBgrNYLwVsLFxT0SQHh7BEcZBAIQQHgDQKSJdAkMDQ25xYsXu7JPcLPri0RWrlzpZs6cOfKfvSQvWrTInXfeeW7atGmtPvzXGWec4X7yk5+4LVu2jGpi1qxZbunSpW5gYKD13/3TuPXr149cM3fu3LbHH4rHMA4//HC3ffv2Vr/ZP92PNRbf5itf+crW8YrieIr95dvwg8of/Sjee/ZD/+KLL3ZXXHGF27hxY+s+PIfiXyr8ff7whz/c5b8X76vIp9uMLMPFt5H9hScbo/9v7eZCu9yL991uTGVZtBuHb6/dfWfMLrnkEveBD3ygxdcfvZk9e7b79Kc/vcswsnGOxbp4b+1yyvL3cyv7KrNm8n+5O/nkk0fWQTvOeVn0cz+b/3nO3eZFlXnay1ruNPfbHYny1+fHn/HIr7d286i4/ttl0m0N8H0IjDcCCO94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GhluyuXr3aTZkyxa1Zs6bFe8GCBQivMvMMatngDaALXaacF8IrTAxKgxDotL7u23qDu/fXP3D33nlDq6/hB+9wA3sf0vr/d58wye33xOPdAdNOGflvQQZEIyUIILwlII15ybgXXv90d8WKFW7JkiVuxowZbnh42C1fvrwlv/4prxfc6dOnjzzxzQvw+vXr3RP2muzmzJmjZEBtTQRSFqiaENbaTcp5Iby1TiU6a0OguL681P7yvz/i7vrVt9xvH3mgFLNJU57sDj7yRe6wo15a6nouUgkgvArBcS+8Hp6X2muuucatWrWqxXLt2rVu2bJlbuLEiaPk138vL8gbNmxAeJXZV3NtygJVM8pauks5L4S3lilEJx0IZOtrtyc84jYNvd/deeuXeuY1sPfB7ohnvMY98cizem6DwjIEEN4ylMa6BuF1zvmntpdeemnrDK//X3aGN3va65/0+ie+7YR35557udmzZysZUFsTgccee6zV02677VZTj3SjEEg5rxSFN+W8lHkca63P68F7b3E/+dZb3GOPPhhkmFOPeKE74plvcLvtMSlIezQymsCECXBV5sS4F17/xDZ7ouvP6GZneM8++2x31llndX3C64X3zDPPVDKgtiYCfoPfuXOn23333WvqkW4UAinnlarwsr6UGV9v7a9v/ZL7+fWrg3e6175HuqedfLHbc6+Dg7c93hvcc8/J4x2BdP/jXnj9013/FobszQueZv6DaZzhleZXVMUp/xN5VKADDSblvFIU3pTzCjSlo2nGH1/4n++8s2/j8UccTpzzYbf7HghaWMgcaVB4jnvhzV5Jtnjx4lFvafBPeP1RBt7SoEyvuGr5gRxXHt1Gk3JeCG+39Pl+vwg8sO1n7odfu6D0B9N6Hcd+U493x52xttdy6toSQHiViTHuhdfD81LrhTf74j28ypSKtzZlgYqXeu8jSzkvhLf3eUFl7wR+++j97nuf/fO+y242wsOe9lL35JkX9D5gKgsEEF5lSiC8Aj1+8YQAz6A0ZYEywNn3LlPK6567trl77r7X7Xhoh7ttyx3OC+9h0w5xE/ea6PY/YD+3/4FT+s6z3x2klFe/WVm1/4sbP9x69VidX3/8kk/zvt5gwBFeBSXC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ly6wJ5ByXiGE995t29ySt73N/dXrXueOP/FE52X3vStXugOnTnV/84Y3OP/9d19yifNPgJ905JHuny+91G249lr3D5dc0vrz+s9/3v3guuvchYsXu5tvusn96wc/6Fa8611uvylTdrm23Wzw7fkv39fPb73VveOii9xJz362e/2b3tTqOz+2/LW+5obrrtulv7u2bm2N5Y7bb2+19exTTmm17b+y9o55xjNG7s23f/DBB7dqhnfsGNVfdv3sOXPc3HPOaY3PC/1bL7qodX98OZfy+ko130kTUF4l23EvvP7prj+aUPzyH057y1ve4t7znvd0fMLrhffMM88slYEXxyXvfa/71Z13jlzvJfLsF7yg9ed/evzJyOvPO6/15xtuusld6YX3/PPdzbfc0hLFFRde2BJWf+3hXlhf8IJR1/kPeBXb8WK46rLL3PFHHz3SV77t4ofC/PfyfWXj9mN9+pOfXKktP37fnr8H30++rSMOP7zFw7frx+a/Oo31dS97mVu+dq2b7UX8cWalwD9+kd/gd+7c6XbfffcqZVxrRCDlvEIJ79LFi91rvPCecEJL6la/+91u4Vvf2hJa/3XZpZe2npDOOeec1v/vv85/XCJvuP5694XPf95d+La3uZt//GP34Q9+0C1fubIlhMVr202B/DVZ33974YXuyU95yu/l+13vavXrx1Zsr/jn/Nh9X8X78AKbv9esfd+276P4Z39v+fspjsdoSkfVbcrrKyrQAQczOdAHuAMOqVFNjXvhLaaVf8Lr39IQ6gxvu1nROpbwnveM/BN/2SMNXnjzxx0+9MlPjvpwV7Gd7PywP96Q/xrrWEO+7UxSs7c0HP3Up7bOIpdtKzvSkB2/yMbij1j4p8/Ftz90G+ttd9456qhF/phFt5XHP+F1IxTX91POK4TwFs/w+qMAFy1a1Prn/fxXdoSgeI7WH2Pwxwr8cYGbfvSjXY40+DayNzC0mxntjjR42T7q6U9vCag/guA/QOfPFxf79n+eNn36yAfs/L1csmyZm3/BBa2u/JGGty1Z0jpu4b+K95q179v2fRT/7O/t7xcv3mXYHGv4XyQpr6+4drJwo+H5rsYS4S3wKwpvyLc0FKMqfpCtivD6J6X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SijhUB9p7Aey00l/OU8Bx3iJvHcDg8h/fON8kCCRAg8CABgfdBkE5DgMDvEnh24K3fNW7K3TMWcU/g9aq037UnrZYAgfYEBN72bJ2ZAIEOCzwz8DZfbfY/gfeekYY4b/0huQ63w9IIECDQqoDA2yqvkxMg0FWBtgJv1Nt80K2MMJSH4cod3Pf394vxgpgPjpGD0Wj05Qxvuc5ut7v60Np+vz+9UaL+juEIyavVqprNZqdXqjkIECDwVwQE3r/SaXUSIHAWuPXDE80H0uIL331oLb7TnKGNoFuOW68li/+X+dper3dX4C2ht7zaLP7+7LVk8f/v/MiGLUOAAIEsAgJvlk6qgwABAgQIECBA4KqAwGtjECBAgAABAgQIpBYQeFO3V3EECBAgQIAAAQICrz1AgAABAgQIECCQWkDgTd1exREgQIAAAQIECAi89gABAgQIECBAgEBqAYE3dXsVR4AAAQIECBAgIPDaAwQIECBAgAABAqkFBN7U7VUcAQIECBAgQICAwGsPECBAgAABAgQIpBYQeFO3V3EECBAgQIAAAQICrz1AgAABAgQIECCQWkDgTd1exREgQIAAAQIECAi89gABAgQIECBAgEBqAYE3dXsVR4AAAQIECBAgIPDaAwQIECBAgAABAqkFBN7U7VUcAQIECBAgQICAwGsPECBAgAABAgQIpBYQeFO3V3EECBAgQIAAAQICrz1AgAABAgQIECCQWkDgTd1exREgQIAAAQIECAi89gABAgQIECBAgEBqAYE3dXsVR4AAAQIECBAgIPDaAwQIECBAgAABAqkFBN7U7VUcAQIECBAgQICAwGsPECBAgAABAgQIpBYQeFO3V3EECBAgQIAAAQICrz1AgAABAgQIECCQWuAfzxdXmZrNm5YAAAAASUVORK5CYII=">
|
34 |
-
</div>
|
35 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #830c5d;"></span> <b>Adetem</b>: Pouvoir:50% Influence:50%</p>
|
36 |
-
|
37 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #4e2834;"></span> <b>Bordeaux technowest</b>: Pouvoir:55% Influence:50%</p>
|
38 |
-
|
39 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #88e8d7;"></span> <b>Digital aquitaine</b>: Pouvoir:60% Influence:50%</p>
|
40 |
-
|
41 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #e07e1d;"></span> <b>Hub france ia</b>: Pouvoir:65% Influence:50%</p>
|
42 |
-
|
43 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #797e1a;"></span> <b>La french tech bordeaux</b>: Pouvoir:71% Influence:26%</p>
|
44 |
-
|
45 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #4a3a56;"></span> <b>Mouvement impact france</b>: Pouvoir:75% Influence:50%</p>
|
46 |
-
|
47 |
-
<p><span style="display: inline-block; width: 15px; height: 15px; border-radius: 50%; background-color: #b08d0b;"></span> <b>Vivexalto</b>: Pouvoir:77% Influence:82%</p>
|
48 |
-
|
49 |
-
<div class="page-break"></div>
|
50 |
-
<h2>RESUME</h2>
|
51 |
-
<p>Dans cette conversation, nous avons discuté de la cartographie des parties prenantes de la marque bziiit. Voici un résumé des points clés :</p>
|
52 |
-
|
53 |
-
<ol>
|
54 |
-
<li><p><strong>Parties Prenantes Actuellement Identifiées</strong> : La marque bziiit a déjà identifié sept parties prenantes principales avec des niveaux de pouvoir et d'influence variés :</p>
|
55 |
-
|
56 |
-
<ul>
|
57 |
-
<li>Adetem (Pouvoir : 50%, Influence : 50%)</li>
|
58 |
-
<li>Bordeaux Technowest (Pouvoir : 55%, Influence : 50%)</li>
|
59 |
-
<li>Digital Aquitaine (Pouvoir : 60%, Influence : 50%)</li>
|
60 |
-
<li>Hub France IA (Pouvoir : 65%, Influence : 50%)</li>
|
61 |
-
<li>La French Tech Bordeaux (Pouvoir : 71%, Influence : 26%)</li>
|
62 |
-
<li>Mouvement Impact France (Pouvoir : 75%, Influence : 50%)</li>
|
63 |
-
<li>Vivexalto (Pouvoir : 77%, Influence : 82%)</li>
|
64 |
-
</ul></li>
|
65 |
-
<li><p><strong>Catégorisation des Parties Prenantes</strong> : Les parties prenantes sont segmentées en quatre catégories selon leur pouvoir et influence :</p>
|
66 |
-
|
67 |
-
<ul>
|
68 |
-
<li>Rendre satisfait : Pouvoir 50-100, Influence 0-50</li>
|
69 |
-
<li>Gérer étroitement : Pouvoir 50-100, Influence 50-100</li>
|
70 |
-
<li>Suivre de près : Pouvoir 0-50, Influence 0-50</li>
|
71 |
-
<li>Tenir informé : Pouvoir 0-50, Influence 50-100</li>
|
72 |
-
</ul></li>
|
73 |
-
<li><p><strong>Suggestions pour Ajouter d'Autres Parties Prenantes</strong> : </p>
|
74 |
-
|
75 |
-
<ul>
|
76 |
-
<li>Clients et Utilisateurs Finaux : Pouvoir 40%, Influence 60% (Tenir informé)</li>
|
77 |
-
<li>Investisseurs et Actionnaires : Pouvoir 85%, Influence 70% (Gérer étroitement)</li>
|
78 |
-
<li>Fournisseurs et Partenaires Technologiques : Pouvoir 60%, Influence 55% (Gérer étroitement)</li>
|
79 |
-
<li>Gouvernements et Régulateurs : Pouvoir 70%, Influence 80% (Gérer étroitement)</li>
|
80 |
-
<li>Communautés Locales : Pouvoir 30%, Influence 40% (Suivre de près)</li>
|
81 |
-
<li>Médias et Influenceurs : Pouvoir 45%, Influence 70% (Tenir informé)</li>
|
82 |
-
</ul></li>
|
83 |
-
</ol>
|
84 |
-
|
85 |
-
<p>En intégrant ces groupes supplémentaires dans la cartographie des parties prenantes, bziiit pourrait mieux gérer ses relations et élaborer des stratégies plus efficaces pour atteindre ses objectifs organisationnels.</p>
|
86 |
-
|
87 |
-
<hr />
|
88 |
-
|
89 |
-
<hr />
|
90 |
-
|
91 |
-
<div class="page-break"></div>
|
92 |
-
<h2>Historique de la Conversation</h2>
|
93 |
-
<h3>AI:</h3>
|
94 |
-
<p>Salut, voici votre cartographie des parties prenantes. Que puis-je faire pour vous ?</p>
|
95 |
-
<hr />
|
96 |
-
<h3>Moi:</h3>
|
97 |
-
<p>En plus des parties prenantes déjà identifiées que tu peux consulter, quels groupes ou individus, impactés par les activités de mon organisation, devrais-je ajouter dans notre cartographie des parties prenantes ?</p>
|
98 |
-
<hr />
|
99 |
-
<h3>AI:</h3>
|
100 |
-
<p>Pour compléter la cartographie des parties prenantes de bziiit, il est crucial d'identifier et d'intégrer d'autres groupes ou individus qui sont impactés par les activités de l'organisation et qui pourraient influencer sa réussite ou son développement. Voici quelques suggestions basées sur le contexte de votre entreprise et les catégories de parties prenantes existantes :</p>
|
101 |
-
<ol>
|
102 |
-
<li><strong>Clients et Utilisateurs Finaux</strong> :</li>
|
103 |
-
<li><strong>Pouvoir</strong> : 40%</li>
|
104 |
-
<li><strong>Influence</strong> : 60%</li>
|
105 |
-
<li><strong>Catégorie</strong> : Tenir informé</li>
|
106 |
-
</ol>
|
107 |
-
<p>Les clients et utilisateurs finaux sont essentiels car ils sont les destinataires directs des produits et services de bziiit. Bien qu'ils aient un pouvoir limité individuellement, leur influence collective peut être significative à travers les retours et la fidélité.</p>
|
108 |
-
<ol>
|
109 |
-
<li><strong>Investisseurs et Actionnaires</strong> :</li>
|
110 |
-
<li><strong>Pouvoir</strong> : 85%</li>
|
111 |
-
<li><strong>Influence</strong> : 70%</li>
|
112 |
-
<li><strong>Catégorie</strong> : Gérer étroitement</li>
|
113 |
-
</ol>
|
114 |
-
<p>Les investisseurs et actionnaires ont un pouvoir et une influence importants en raison de leurs apports financiers et de leur intérêt direct dans la rentabilité de bziiit. Ils peuvent fortement influencer les décisions stratégiques de l'entreprise.</p>
|
115 |
-
<ol>
|
116 |
-
<li><strong>Fournisseurs et Partenaires Technologiques</strong> :</li>
|
117 |
-
<li><strong>Pouvoir</strong> : 60%</li>
|
118 |
-
<li><strong>Influence</strong> : 55%</li>
|
119 |
-
<li><strong>Catégorie</strong> : Gérer étroitement</li>
|
120 |
-
</ol>
|
121 |
-
<p>Les fournisseurs et partenaires technologiques jouent un rôle crucial dans la chaîne d'approvisionnement et la capacité d'innovation de bziiit. Une gestion étroite de cette relation est nécessaire pour assurer la qualité et la continuité des opérations.</p>
|
122 |
-
<ol>
|
123 |
-
<li><strong>Gouvernements et Régulateurs</strong> :</li>
|
124 |
-
<li><strong>Pouvoir</strong> : 70%</li>
|
125 |
-
<li><strong>Influence</strong> : 80%</li>
|
126 |
-
<li><strong>Catégorie</strong> : Gérer étroitement</li>
|
127 |
-
</ol>
|
128 |
-
<p>Les autorités gouvernementales et les organismes de régulation ont un pouvoir et une influence significatifs en raison de leur capacité à imposer des lois, des règlements et des politiques qui peuvent impacter directement les opérations de bziiit.</p>
|
129 |
-
<ol>
|
130 |
-
<li><strong>Communautés Locales</strong> :</li>
|
131 |
-
<li><strong>Pouvoir</strong> : 30%</li>
|
132 |
-
<li><strong>Influence</strong> : 40%</li>
|
133 |
-
<li><strong>Catégorie</strong> : Suivre de près</li>
|
134 |
-
</ol>
|
135 |
-
<p>Les communautés locales où bziiit opère peuvent être affectées par ses activités, notamment en termes d'emploi, d'environnement et de responsabilité sociale. Bien que leur pouvoir soit limité, leur influence sur la perception publique de l'entreprise peut être importante.</p>
|
136 |
-
<ol>
|
137 |
-
<li><strong>Médias et Influenceurs</strong> :</li>
|
138 |
-
<li><strong>Pouvoir</strong> : 45%</li>
|
139 |
-
<li><strong>Influence</strong> : 70%</li>
|
140 |
-
<li><strong>Catégorie</strong> : Tenir informé</li>
|
141 |
-
</ol>
|
142 |
-
<p>Les médias et les influenceurs peuvent fortement influencer l'image de marque de bziiit. Bien que leur pouvoir direct soit modéré, leur capacité à façonner l'opinion publique leur confère une influence significative.</p>
|
143 |
-
<p>En ajoutant ces groupes à votre cartographie des parties prenantes, vous obtiendrez une vision plus complète des acteurs qui peuvent influencer ou être influencés par les activités de bziiit. Cela vous permettra de mieux gérer vos relations et de développer des stratégies plus robustes pour atteindre vos objectifs organisationnels.</p>
|
144 |
-
<hr />
|
145 |
-
<div class="page-break"></div>
|
146 |
-
<h2>Emission de CO2</h2>
|
147 |
-
<table border="1" class="dataframe">
|
148 |
-
<thead>
|
149 |
-
<tr style="text-align: right;">
|
150 |
-
<th></th>
|
151 |
-
<th>CodeCarbon (Cumulative)</th>
|
152 |
-
<th>EcoLogits (par requete)</th>
|
153 |
-
<th>EcoLogits (Cumulative)</th>
|
154 |
-
<th>Consommation Totale</th>
|
155 |
-
</tr>
|
156 |
-
</thead>
|
157 |
-
<tbody>
|
158 |
-
<tr>
|
159 |
-
<th>Collecte de documents et scrapping</th>
|
160 |
-
<td>$2.61</td>
|
161 |
-
<td>$0.00</td>
|
162 |
-
<td>$0.00</td>
|
163 |
-
<td>$2.61</td>
|
164 |
-
</tr>
|
165 |
-
<tr>
|
166 |
-
<th>Extraction des parties prenantes (serveur et IA)</th>
|
167 |
-
<td>$2.66</td>
|
168 |
-
<td>$1.56</td>
|
169 |
-
<td>$1.56</td>
|
170 |
-
<td>$4.22</td>
|
171 |
-
</tr>
|
172 |
-
<tr>
|
173 |
-
<th>Sauvegarde de la cartographie</th>
|
174 |
-
<td>$7.64</td>
|
175 |
-
<td>$0.00</td>
|
176 |
-
<td>$1.56</td>
|
177 |
-
<td>$9.20</td>
|
178 |
-
</tr>
|
179 |
-
<tr>
|
180 |
-
<th>Dialogue avec chatBot IA</th>
|
181 |
-
<td>$7.48</td>
|
182 |
-
<td>$31.63</td>
|
183 |
-
<td>$33.19</td>
|
184 |
-
<td>$40.67</td>
|
185 |
-
</tr>
|
186 |
-
<tr>
|
187 |
-
<th>Téléchargement cartographie</th>
|
188 |
-
<td>$0.00</td>
|
189 |
-
<td>$0.00</td>
|
190 |
-
<td>$0.00</td>
|
191 |
-
<td>$0.00</td>
|
192 |
-
</tr>
|
193 |
-
</tbody>
|
194 |
-
</table>
|
195 |
-
<div class="page-break"></div>
|
196 |
-
|
197 |
-
<div style='display: flex; align-items: center;'>
|
198 |
-
<h2 style='margin: 0;'>Votre consommation Carbone</h2>
|
199 |
-
<img src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0zLjMzMTI2IDYuNTgxMjVDLTEuMTA0OTkgMTEuMDE3NSAtMS4xMDQ5OSAxOC4yIDMuMjk4NzYgMjIuNjM2M0M1LjY4NzUxIDE3LjExMTMgOS45NDUwMSAxMi40OTYzIDE1LjI1ODggOS43NUMxMC43NTc1IDEzLjU1MjUgNy42MDUwMSAxOC44NjYzIDYuNTAwMDEgMjQuODk1QzEwLjcyNSAyNi44OTM4IDE1LjkyNSAyNi4xNjI1IDE5LjQxODggMjIuNjY4OEMyNS4wNzM4IDE3LjAxMzggMjYgMCAyNiAwQzI2IDAgOC45ODYyNiAwLjkyNjI1IDMuMzMxMjYgNi41ODEyNVoiIGZpbGw9IiMxMjlDNzMiLz4NCjwvc3ZnPg0K' alt='svg' width='15' height='15' style='margin-left: 10px;'>
|
200 |
-
</div>
|
201 |
-
<br>
|
202 |
-
<div style='text-align: center; margin-bottom: 10px;'><b>42.520</b> g eq. CO2</div><p>Dont :</p><p>- Empreinte serveur (via CodeCarbon) : <b>9.333</b> g eq. CO2 (21.95%)</p><p>- Empreinte IA (via EcoLogits) : <b>33.187</b> g eq. CO2 (78.05%)</p><h2>Votre équivalence</h2>
|
203 |
-
<div style='display: flex; justify-content: space-around;'>
|
204 |
-
|
205 |
-
<div>
|
206 |
-
|
207 |
-
<div style='text-align: center;'>
|
208 |
-
<a href='https://impactco2.fr/outils/comparateur?value=0.042520378554370936&comparisons=tgv,eauenbouteille,voiturethermique' target='_blank'><img src='https://impactco2.fr/icons/eauenbouteille.svg' alt='ml' width='50'></a>
|
209 |
-
</div>
|
210 |
-
<div style='text-align: center;'>
|
211 |
-
<b>159.03</b> ml
|
212 |
-
</div>
|
213 |
-
|
214 |
-
</div>
|
215 |
-
<div>
|
216 |
-
|
217 |
-
<div style='text-align: center;'>
|
218 |
-
<a href='https://impactco2.fr/outils/comparateur?value=0.042520378554370936&comparisons=tgv,eauenbouteille,voiturethermique' target='_blank'><img src='https://impactco2.fr/icons/tgv.svg' alt='km' width='50'></a>
|
219 |
-
</div>
|
220 |
-
<div style='text-align: center;'>
|
221 |
-
<b>14.51</b> km
|
222 |
-
</div>
|
223 |
-
|
224 |
-
</div>
|
225 |
-
<div>
|
226 |
-
|
227 |
-
<div style='text-align: center;'>
|
228 |
-
<a href='https://impactco2.fr/outils/comparateur?value=0.042520378554370936&comparisons=tgv,eauenbouteille,voiturethermique' target='_blank'><img src='https://impactco2.fr/icons/voiturethermique.svg' alt='m' width='50'></a>
|
229 |
-
</div>
|
230 |
-
<div style='text-align: center;'>
|
231 |
-
<b>195.59</b> m
|
232 |
-
</div>
|
233 |
-
|
234 |
-
</div>
|
235 |
-
</div><br>
|
236 |
-
<br>
|
237 |
-
<div style='display: flex; align-items: center;'>
|
238 |
-
<p>Powered by <b>ADEME</b></p>
|
239 |
-
<a href='https://www.ademe.fr' target='_blank'><img src='https://www.ademe.fr/wp-content/uploads/2022/11/ademe-logo-2022-1.svg' alt='svg' width='30' height='30' style='margin-left: 10px;'></a>
|
240 |
-
</div>
|
241 |
-
<br>
|
242 |
-
|
243 |
-
<style>
|
244 |
-
.centered-table {
|
245 |
-
margin-left: auto;
|
246 |
-
margin-right: auto;
|
247 |
-
border-collapse: collapse;
|
248 |
-
width: 50%;
|
249 |
-
}
|
250 |
-
.centered-table th, .centered-table td {
|
251 |
-
border: 1px solid #ddd;
|
252 |
-
padding: 8px;
|
253 |
-
text-align: center;
|
254 |
-
}
|
255 |
-
.centered-table th {
|
256 |
-
background-color: #f2f2f2;
|
257 |
-
}
|
258 |
-
</style>
|
259 |
-
|
260 |
-
<h2 style="text-align:center;">DÉTAIL PAR TÂCHE</h2>
|
261 |
-
<div style="overflow-x:auto;">
|
262 |
-
<style type="text/css">
|
263 |
-
#T_ce1ea_row0_col0, #T_ce1ea_row1_col0, #T_ce1ea_row2_col0 {
|
264 |
-
background-color: rgba(0,128,0,0.5);
|
265 |
-
}
|
266 |
-
#T_ce1ea_row3_col0 {
|
267 |
-
background-color: rgba(255,255,0,0.5);
|
268 |
-
}
|
269 |
-
#T_ce1ea_row4_col0 {
|
270 |
-
background-color: white;
|
271 |
-
}
|
272 |
-
</style>
|
273 |
-
<table id="T_ce1ea" class="centered-table">
|
274 |
-
<thead>
|
275 |
-
<tr>
|
276 |
-
<th class="blank level0" > </th>
|
277 |
-
<th id="T_ce1ea_level0_col0" class="col_heading level0 col0" >Consommation totale (g eqCo2)</th>
|
278 |
-
</tr>
|
279 |
-
</thead>
|
280 |
-
<tbody>
|
281 |
-
<tr>
|
282 |
-
<th id="T_ce1ea_level0_row0" class="row_heading level0 row0" >Collecte de documents et scrapping</th>
|
283 |
-
<td id="T_ce1ea_row0_col0" class="data row0 col0" >2.610000</td>
|
284 |
-
</tr>
|
285 |
-
<tr>
|
286 |
-
<th id="T_ce1ea_level0_row1" class="row_heading level0 row1" >Extraction des parties prenantes (serveur et IA)</th>
|
287 |
-
<td id="T_ce1ea_row1_col0" class="data row1 col0" >4.220000</td>
|
288 |
-
</tr>
|
289 |
-
<tr>
|
290 |
-
<th id="T_ce1ea_level0_row2" class="row_heading level0 row2" >Sauvegarde de la cartographie</th>
|
291 |
-
<td id="T_ce1ea_row2_col0" class="data row2 col0" >9.200000</td>
|
292 |
-
</tr>
|
293 |
-
<tr>
|
294 |
-
<th id="T_ce1ea_level0_row3" class="row_heading level0 row3" >Dialogue avec chatBot IA</th>
|
295 |
-
<td id="T_ce1ea_row3_col0" class="data row3 col0" >40.670000</td>
|
296 |
-
</tr>
|
297 |
-
<tr>
|
298 |
-
<th id="T_ce1ea_level0_row4" class="row_heading level0 row4" >Téléchargement cartographie</th>
|
299 |
-
<td id="T_ce1ea_row4_col0" class="data row4 col0" >-</td>
|
300 |
-
</tr>
|
301 |
-
</tbody>
|
302 |
-
</table>
|
303 |
-
|
304 |
-
</div>
|
305 |
-
|
306 |
-
<h2>SYNTHESE (Dialogue IA et non IA)</h2>
|
307 |
-
<div style="text-align:center;"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdUAAAE2CAYAAAA3aQjbAAAACXBIWXMAAAsTAAALEwEAmpwYAABXkklEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMomybq6666qqrrrrq3wMA2TZXXXXVVVddddW/BwCyba666qqrrrrqqn8PAGTbXHXVVVddddVV/x4AyLa56qqrrrrqqqv+PQCQbXPVVVddddVVV/17ACDb5qqrrrrqKnZ3d/mcz/kcfvqnf5pbb72Vt37rt+azPuuzeOmXfmlemL/+67/m1ltv5a3f+q2532d/9mfz0z/90/z2b/82x48f5z/KR3/0RwPw1V/91Vz1PwoAsm2uuuqqq67idV7ndfirv/or3vu935sHP/jBfPZnfzaSePrTn87x48d5QSTxWZ/1WXz2Z3829/vqr/5q3vqt35oHP/jB/Ef67u/+bgDe+73fm6v+RwFAts1VV1111f9zf/3Xf83LvMzL8Fmf9Vl89md/NgC//du/zW//9m/z0R/90Rw/fpzP+ZzP4bd/+7cBeO3Xfm0+67M+i4/+6I/ma77ma3jwgx/MZ33WZ/He7/3efM7nfA6//du/zfHjx/msz/osXvqlXxqAr/mar+Gnf/qnefCDH8xLvdRLceutt/LVX/3VAHzO53wOv/3bvw3AR33UR/HWb/3WALzO67wOL/VSL8Xf/M3f8FZv9VbceuutAHz1V381u7u7fM7nfA5//dd/zfHjx/mqr/oqHvzgB3PVfwsAZNtcddVVV/0/993f/d28z/u8D7/1W7/Fa7/2a/Pcfvu3f5vXeZ3X4bu+67u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27/927zO67wOv/Vbv8Vrv/ZrAyCJz/qsz+KzP/uzAfjsz/5sPudzPgfbXHXV/2EAyLa56qqr/tP99m//Nq/zOq/DR33UR/HVX/3VPD+33norL/3SL82JEyf4q7/6K44fP8793ud93ofv/u7v5ru+67t47/d+bwBuvfVWnvGMZ/CgBz2IBz/4wdzvwQ9+MJL4q7/6K44fPw7Ad3/3d/M+7/M+vNd7vRff/d3fzQsjidd6rdfit3/7t3lhXud1Xodjx47x0z/909zvpV/6pXnpl35pvvu7vxuAz/7sz+ZzPudzsM1VV/0fBoBsm6uuuuo/3Vd/9VfzMR/zMXzWZ30Wn/3Zn80L8t3f/d28z/u8D8ePH+e93/u9OX78ON/93d/Nrbfeylu91Vvx0z/909zvsz/7s/mcz/kcPuuzPovP/uzP5n4//dM/zdu8zdvw4Ac/mLd+67fm1ltv5ad/+qd50IMexF//9V9z/PhxXhhJvNZrvRa//du/zQvy27/927zO67wOT3/603nwgx/M/T77sz+br/mar+G3fuu3ePCDH8zLvMzL8FIv9VL89E//NFdd9X8YALJtrrrqqv903/3d3813f/d389Vf/dW89Eu/NC/MX//1X/PZn/3Z3Hrrrdx666289Eu/NO/93u/Ne7/3e/NA3/3d3813f/d3897v/d6893u/Nw/013/913z2Z382f/3Xf83x48d56Zd+aT77sz+bBz/4wfxLXvu1X5uXfumX5qu/+qt5QV7mZV6Gl3qpl+K7v/u7eaDd3V3e+q3fmt/5nd8B4KVe6qX47d/+bY4fP85VV/0fBoBsm6uuuuqqf4Xd3V3++q//mpd+6Zfm+PHjPD+33norAA9+8IO56qr/BwCQbXPVVVddddVVV/17ACDb5qqrrrrqqquu+vcAQLbNVVddddVVV1317wGAbJurrrrqqquuuurfAwDZNlddddVVV1111b8HALJtrrrqqquuuuqqfw8AZNtcddVVV1111VX/HgDItrnqqquuuuqqq/49AJBtc9VVV1111VVX/XsAINvmqquuuuqqq6769wBAts1VV1111VVXXfXvAYBsm6uuuuqqq6666t8DANk2V1111VVXXXXVvwcAsm2uuu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