Dataset Viewer
Auto-converted to Parquet Duplicate
xml_sha1
stringclasses
1 value
declaration_xml
stringlengths
2.52k
192k
declaration_json
stringlengths
1.94k
45.8k
text_index
stringlengths
14
297
text_index_embedding
sequencelengths
3.07k
3.07k
0a0a9f2a6772942557ab5355d76af442f8f65e01
<declaration><dateDepot>11/07/2022 15:40:13</dateDepot><uuid>4344aaa1-874d-4e6d-9b1a-45f7725b710c</uuid><origine>ADEL</origine><complete>true</complete><attachedFiles><attachedFiles><fileName>VUE_PDF_DU_RECEPISSE_DU_DEPOT_XML</fileName><serverFileName /><base64EncodedContent /></attachedFiles></attachedFiles><declarati...
{"declaration": {"dateDepot": "11/07/2022 15:40:13", "uuid": "4344aaa1-874d-4e6d-9b1a-45f7725b710c", "origine": "ADEL", "complete": "true", "attachedFiles": {"attachedFiles": {"fileName": "VUE_PDF_DU_RECEPISSE_DU_DEPOT_XML", "serverFileName": null, "base64EncodedContent": ""}}, "declarationVersion": "20171221", "activC...
damien abad - député de l'ain
[ 0.006402169819921255, 0.01570383459329605, 0.001304243691265583, -0.015167675912380219, -0.02339349314570427, 0.048395466059446335, 0.018046006560325623, 0.029996724799275398, -0.007015931885689497, 0.04077635705471039, -0.03928075358271599, -0.024254171177744865, -0.0075344545766711235, 0...
0a0a9f2a6772942557ab5355d76af442f8f65e01
<declaration><dateDepot>27/11/2022 18:18:23</dateDepot><uuid>fa8d18ec-0db9-4a39-b1f4-caba0c31329b</uuid><origine>ADEL</origine><complete>true</complete><attachedFiles><attachedFiles><fileName>VUE_PDF_DU_RECEPISSE_DU_DEPOT_XML</fileName><serverFileName /><base64EncodedContent /></attachedFiles></attachedFiles><declarati...
{"declaration": {"dateDepot": "27/11/2022 18:18:23", "uuid": "fa8d18ec-0db9-4a39-b1f4-caba0c31329b", "origine": "ADEL", "complete": "true", "attachedFiles": {"attachedFiles": {"fileName": "VUE_PDF_DU_RECEPISSE_DU_DEPOT_XML", "serverFileName": null, "base64EncodedContent": ""}}, "declarationVersion": "20171221", "activC...
damien abad - député de l'ain
[ 0.006402169819921255, 0.01570383459329605, 0.001304243691265583, -0.015167675912380219, -0.02339349314570427, 0.048395466059446335, 0.018046006560325623, 0.029996724799275398, -0.007015931885689497, 0.04077635705471039, -0.03928075358271599, -0.024254171177744865, -0.0075344545766711235, 0...
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>19/08/2022 10:08:23</dateDepot><uuid>21916899-a643-428c-824e-3aedf9ee103e</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"19/08/2022 10:08:23\", \"uuid\": \"21916899-a643-428c-824e-3aed(...TRUNCATED)
caroline abadie - députée de l'isère
[0.0164966844022274,-0.0012777741067111492,0.0003412980295252055,-0.00732024060562253,-0.02922867424(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>04/10/2022 17:22:07</dateDepot><uuid>c40ab214-b21e-43b6-95a2-36d5860dc526</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"04/10/2022 17:22:07\", \"uuid\": \"c40ab214-b21e-43b6-95a2-36d5(...TRUNCATED)
caroline abadie - députée de l'isère
[0.0164966844022274,-0.0012777741067111492,0.0003412980295252055,-0.00732024060562253,-0.02922867424(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>20/09/2021 13:41:36</dateDepot><uuid>8e8182a2-ebd7-4b97-84ef-ab01dd6b6c9d</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"20/09/2021 13:41:36\", \"uuid\": \"8e8182a2-ebd7-4b97-84ef-ab01(...TRUNCATED)
"joelle abadie - elu départemental/hautes-pyrénées (65)/vice-président titulaire d'une déléga(...TRUNCATED)
[0.0032332027330994606,-0.014479047618806362,-0.0004840897163376212,-0.0012371676275506616,0.0044000(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>03/09/2021 10:41:48</dateDepot><uuid>ac693815-1521-4a79-a314-6bd830de8988</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"03/09/2021 10:41:48\", \"uuid\": \"ac693815-1521-4a79-a314-6bd8(...TRUNCATED)
muriel abadie - vice-présidente du conseil régional d'occitanie
[-0.011975746601819992,0.004302704706788063,0.0015090545639395714,-0.02194862999022007,-0.0134053770(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>21/08/2021 19:39:06</dateDepot><uuid>61853e75-80cc-457b-865c-80456d4a0985</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"21/08/2021 19:39:06\", \"uuid\": \"61853e75-80cc-457b-865c-8045(...TRUNCATED)
brigitte abaux - conseillère départementale de la vienne
[0.007432127837091684,0.013313567265868187,-0.0014450389426201582,-0.030203497037291527,-0.000206605(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>23/08/2021 21:37:05</dateDepot><uuid>a2893249-f253-4cb4-bb9d-f7fcec066d31</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"23/08/2021 21:37:05\", \"uuid\": \"a2893249-f253-4cb4-bb9d-f7fc(...TRUNCATED)
gérard abbas - vice-président du conseil départemental de la meuse
[0.026375066488981247,0.028098199516534805,-0.002397101605311036,-0.026263896375894547,0.01222869195(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>17/08/2021 00:09:05</dateDepot><uuid>3e209d45-8656-45ac-a8c8-451542abe786</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"17/08/2021 00:09:05\", \"uuid\": \"3e209d45-8656-45ac-a8c8-4515(...TRUNCATED)
véronique abelin-drapron - vice-présidente du conseil départemental de la charente-maritime
[-0.0013535097241401672,0.017879676073789597,-0.003262096783146262,-0.03521241247653961,-0.020197652(...TRUNCATED)
0a0a9f2a6772942557ab5355d76af442f8f65e01
"<declaration><dateDepot>28/09/2020 21:30:36</dateDepot><uuid>a1a11106-bfe2-40a4-89dc-71ae7adfd7fa</(...TRUNCATED)
"{\"declaration\": {\"dateDepot\": \"28/09/2020 21:30:36\", \"uuid\": \"a1a11106-bfe2-40a4-89dc-71ae(...TRUNCATED)
jean-pierre abelin - maire de châtellerault
[0.039503313601017,0.002689881483092904,-0.0018196753226220608,-0.01825409196317196,0.00132723303977(...TRUNCATED)
End of preview. Expand in Data Studio

HATVP Declaration Dataset

This dataset contains declarations from the HATVP (Haute Autorité pour la Transparence de la Vie Publique), converted into a structured format suitable for use in retrieval-augmented generation (RAG) tasks.

Dataset Information

  • License: apache-2.0
  • Configurations: This dataset has one configuration (default).
  • Download size: ~205 MB
  • Dataset size: ~439 MB

Features

  • xml_sha1: SHA1 hash of the declaration_xml, useful for version comparison. Computed on 24-04-2024.
  • declaration_xml: Original XML declaration as provided by the HATVP.
  • declaration_json: JSON format of the XML, converted using the XMLTODICT Python library. This format reduces the character count by 25%.
  • text_index: Name, surname, and current job title of the declaring person.
  • text_index_embedding: Embedding vector from the OpenAI text-embedding-3-large model, optimized for French language text.

Data Splits

  • Train: 10,944 examples, occupying about 438.51 MB.

Configuration: Default

  • Data Files:
    • train-*: Contains the training split data files.

Usage

This dataset facilitates RAG by using a language model to answer questions about individuals based on their HATVP declarations. It is particularly useful for generating factual answers about public figures.

Example Usage

# Example of how to use this dataset with a RAG model
question = "Où travaille le conjoint de Damien Abad?"
# Assume `rag_model` is a pre-trained model loaded and ready to answer
answer = rag_model.answer(question)
print(answer)  # Outputs: "Le conjoint de Damien Abad travaille au Centre Hospitalier du Haut-Bugey."

Example Interactions

  1. Question: "Où travaille le conjoint de Damien Abad?" Answer: "Le conjoint de Damien Abad travaille au Centre Hospitalier du Haut-Bugey."

  2. Question: "Combien est payé Damien Abad en 2019?" Answer: "According to the provided context, Damien Abad was paid 71,105 euros in 2019."

  3. Question: "Le conjoint de Damien Abad est-il un homme ou une femme?" Answer: "Le conjoint de Damien Abad est une femme, car il est mentionné que son conjoint est une infirmière."

(Answers vary between French and English depending on the language model used for answering.)

Downloads last month
7

Space using the-french-artist/hatvp_declarations_text_index_embeds 1