--- language: - fr tags: - france - legislation - law - embeddings - open-data - government - parlement pretty_name: French Legislative Dossiers Dataset (DOLE) size_categories: - 1K pip install pyarrow dataset = load_dataset("AgentPublic/dole") df = pd.DataFrame(dataset['train']) df["embeddings_bge-m3"] = df["embeddings_bge-m3"].apply(json.loads) ``` Otherwise, if you have already downloaded all parquet files from the `data/dole-latest/` folder : ```python import pandas as pd import json # The Pyarrow library must be installed in your Python environment for this example. By doing => pip install pyarrow df = pd.read_parquet(path="dole-latest/") # Assuming that all parquet files are located into this folder df["embeddings_bge-m3"] = df["embeddings_bge-m3"].apply(json.loads) ``` You can then use the dataframe as you wish, such as by inserting the data from the dataframe into the vector database of your choice. --- ## 🐱 GitHub repository : The project MediaTech is open source ! You are free to contribute or see the complete code used to build the dataset by checking the [GitHub repository](https://github.com/etalab-ia/mediatech) ## 📚 Source & License ### 🔗 Source: - [**DILA** open data repository](https://echanges.dila.gouv.fr/OPENDATA/DOLE) - [Data.gouv.fr : DOLE : les dossiers législatifs ](https://www.data.gouv.fr/datasets/dole-les-dossiers-legislatifs/) ### 📄 License: **Open License (Etalab)** — This dataset is publicly available and reusable under the Etalab open license.