--- language: - fr tags: - france - service-public - demarches - embeddings - administration - open-data - government pretty_name: Service-Public.fr practical sheets dataset size_categories: - 10K pip install pyarrow dataset = load_dataset("AgentPublic/service-public") 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/service-public-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="service-public-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 : - [Service-Public.fr official website](https://www.service-public.fr/) - [Data.Gouv.fr : Fiches pratiques et ressources de Service-Public.fr Particuliers ](https://www.data.gouv.fr/fr/datasets/fiches-pratiques-et-ressources-de-service-public-fr-particuliers/) - [Data.Gouv.fr : Fiches pratiques et ressources Entreprendre - Service-Public.fr ](https://www.data.gouv.fr/fr/datasets/fiches-pratiques-et-ressources-entreprendre-service-public-fr/) ### πŸ“„ Licence : **Open License (Etalab)** β€” This dataset is publicly available and can be reused under the conditions of the Etalab open license.