| Etalab | Documentation | HuggingFace | |
Albert est un projet d'agents conversationnels (large language models, LLM) pour l'administration française, développé par les équipes du Datalab d'Etalab de la Direction Interministérielle du Numérique (DINUM). Pour toutes questions relatives à Albert, vous pouvez contacter l'équipe à l'adresse [email protected].
Ce dépôt permet de déployer deux services :
-
les modèles Albert et leur API
💡 Les différents modèles sont disponibles dans le dépôt HuggingFace AgentPublic.
-
une API permettant d'interroger l'API du modèle à l'aide d'une base de connaissance (Retrivial Augmented Generated, RAG)
Vous trouverez également d'autres dépôts liés à Albert :
-
albert-frontend : une interface web pour interagir avec l'API Albert sous forme de chatbot
-
albert-tchapbot : un chatbot Albert pour l'application Tchap (Messagerie instantanée de l'État)
Vous trouverez l'ensemble de la documentation en français dans le dossier /docs/fr :
- Installation
- Pour lancer l'API Albert en local (dev mode)
- Pour obtenir un jeton d'accès à l'API Albert
- Bases de données
- Modèles supportés
- PyAlbert
Pour récupérer la dernière version du code :
git clone https://github.com/etalab-ia/albert.git
Le projet est en open source, sous licence MIT. Toutes les contributions sont bienvenues, sous forme de pull requests ou d'ouvertures d'issues sur le repo officiel GitHub.
Avant de contribuer au dépôt, il est nécessaire d'initialiser les hooks de pre-commit :
pre-commit install
Si vous ne pouvez pas utiliser de pre-commit, il est nécessaire de formatter, linter et trier les imports avec Ruff avant chaque commit :
ruff check --fix --select I .
English version
Albert is a project of conversational agents (large language models, LLM) for the French administration, developed by the Datalab teams of Etalab from the Direction Interministérielle du Numérique (DINUM). For any questions regarding Albert, you can contact the team at [email protected].
This repository allows the deployment of two services:
-
The Albert models and their API
💡 The models are available in the HuggingFace repository AgentPublic.
-
An API allowing to query the model's API using a knowledge base (Retrieval Augmented Generation, RAG)
You will also find other repositories related to Albert:
-
albert-frontend: a web interface to interact with the Albert API as a chatbot
-
albert-tchapbot: a chatbot Albert for the Tchap application (Instant messaging app of the French State)
You will find all the documentation in Engligh in the folder /docs/en:
- Installation
- To run the Albert API locally (dev mode)
- To get an access token for the Albert API
- Databases
- Supported models
- PyAlbert
To get the latest version of the code:
git clone https://github.com/etalab-ia/albert.git
The project is open source, under the MIT license. All contributions are welcome, in the form of pull requests or issue openings on GitHub.
Before contributing to the repository, it is necessary to initialize the pre-commit hooks:
pre-commit install
If you cannot use pre-commit, it is necessary to format, lint, and sort imports with Ruff before committing:
ruff check --fix --select I .