English version below
À propos
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 etalab@modernisation.gouv.fr.
Ce dépôt permet de déployer deux services :
-
les modèles Albert et leur API "LLM"
💡 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 (bientôt disponible) : 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)
Documentation
Vous trouverez l'ensemble de la documentation en français dans le dossier /docs/fr :
Wiki
Vous trouverez également des informations complémentaires telles que :
Code source
Pour récupérer la dernière version du code :
git clone https://github.com/etalab-ia/albert.git
Contribuer au projet
Consulter la documentation dédiée.
English version
English version
## About
Albert is a project of conversational agents (*large language models*, LLM) for the French administration, developed by the Datalab teams of [Etalab](https://www.etalab.gouv.fr/) from the [Direction Interministérielle du Numérique (DINUM)](https://www.numerique.gouv.fr/dinum/). For any questions regarding Albert, you can contact the team at [etalab@modernisation.gouv.fr](etalab@modernisation.gouv.fr).
This repository allows the deployment of two services:
- The Albert models and their API
> 💡 **The models are available in the HuggingFace repository [AgentPublic](https://huggingface.co/AgentPublic).**
- An API allowing to query the model's API using a knowledge base ([Retrieval Augmented Generation, RAG](https://en.wikipedia.org/wiki/Prompt_engineering#Retrieval-augmented_generation))
You will also find other repositories related to Albert:
- [albert-frontend](https://github.com/etalab-ia/albert-frontend) (soon available): a web interface to interact with the Albert API as a chatbot
- [albert-tchapbot](https://github.com/etalab-ia/albert-tchapbot): a chatbot Albert for the Tchap application (Instant messaging app of the French State)
## Documentation
You will find all the documentation in Engligh in the folder *[/docs/en](./docs/en/)*:
* [Installation](/docs/en/installation.md)
* [To get an access token for the Albert API](/docs/en/api-token.md)
* [Databases](/docs/en/databases.md)
* [Supported models](/docs/en/models.md)
* [To configure prompts templates](/docs/en/prompt.md)
* [PyAlbert](/docs/en/pyalbert.md)
* [To contribute to the project](/docs/en/contributing.md)
## Wiki
You will also find additional information such as:
* [Generation strategies](/docs/en/generation.md)
## Clone source code
To get the latest version of the code:
```bash
git clone https://github.com/etalab-ia/albert.git
```
## Contributing
Follow [the dedicated documentation](/docs/en/contributing.md).