Noms plus clairs : snippets/, scripts de test numérotés, verifier_ollama.py

- base_connaissances/ → snippets/ (corpus/ → textes/, instructions.md → consignes_redaction.md, decoupage.py → fichiers.py, importer.py → envoyer.py) ; python3 -m snippets.envoyer.
- instance-de-test/ : 1_demarrer.sh, 2_creer_boite_et_cle.py, 3_brancher_ia.py, 4_essayer_brouillons.py, voir_empreintes.sh, connexion_admin.py.
- ollama/verifier.py → ollama/verifier_ollama.py ; tests, tâches VS Code et docs alignés.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-12 10:27:06 +01:00
1 parent 3e0b5d03a3
commit 10ed887417
142 files changed
+89 -85

No files matched your search

+15 -15
View File
@@ -12,13 +12,13 @@
{
"label": "Instance de test : démarrer",
"type": "shell",
"command": "bash instance-de-test/demarrer.sh '${input:motDePasse}'",
"command": "bash instance-de-test/1_demarrer.sh '${input:motDePasse}'",
"problemMatcher": []
},
{
"label": "Instance de test : préparer",
"type": "shell",
"command": "python3 instance-de-test/preparer.py '${input:motDePasse}'",
"command": "python3 instance-de-test/2_creer_boite_et_cle.py '${input:motDePasse}'",
"problemMatcher": []
},
{
@@ -36,19 +36,19 @@
{
"label": "Instance de test : brancher sur Ollama",
"type": "shell",
"command": "eval \"$(grep '^export ANTHROPIC_API_KEY=' .env)\" && python3 instance-de-test/configurer_ia.py '${input:motDePasse}' http://ollama:11434/v1 bge-m3:567m",
"command": "eval \"$(grep '^export ANTHROPIC_API_KEY=' .env)\" && python3 instance-de-test/3_brancher_ia.py '${input:motDePasse}' http://ollama:11434/v1 bge-m3:567m",
"problemMatcher": []
},
{
"label": "Instance de test : essai des brouillons",
"type": "shell",
"command": "python3 instance-de-test/essayer_brouillons.py '${input:motDePasse}'",
"command": "python3 instance-de-test/4_essayer_brouillons.py '${input:motDePasse}'",
"problemMatcher": []
},
{
"label": "Instance de test : empreintes des extraits",
"label": "Instance de test : voir les empreintes",
"type": "shell",
"command": "bash instance-de-test/empreintes.sh",
"command": "bash instance-de-test/voir_empreintes.sh",
"problemMatcher": []
},
{
@@ -72,31 +72,31 @@
{
"label": "Ollama : vérifier (poste, port 11435)",
"type": "shell",
"command": "python3 ollama/verifier.py http://127.0.0.1:11435/v1",
"command": "python3 ollama/verifier_ollama.py http://127.0.0.1:11435/v1",
"problemMatcher": []
},
{
"label": "Import : simulation (instance de test)",
"label": "Snippets : envoyer en simulation (instance de test)",
"type": "shell",
"command": "set -a && . instance-de-test/.env && set +a && python3 -m base_connaissances.importer",
"command": "set -a && . instance-de-test/.env && set +a && python3 -m snippets.envoyer",
"problemMatcher": []
},
{
"label": "Import : ÉCRIRE (instance de test)",
"label": "Snippets : ENVOYER (instance de test)",
"type": "shell",
"command": "set -a && . instance-de-test/.env && set +a && python3 -m base_connaissances.importer --ecrire",
"command": "set -a && . instance-de-test/.env && set +a && python3 -m snippets.envoyer --ecrire",
"problemMatcher": []
},
{
"label": "Import : simulation (PRODUCTION)",
"label": "Snippets : envoyer en simulation (PRODUCTION)",
"type": "shell",
"command": "set -a && . ./.env && set +a && LIBREDESK_URL='${input:urlProduction}' python3 -m base_connaissances.importer",
"command": "set -a && . ./.env && set +a && LIBREDESK_URL='${input:urlProduction}' python3 -m snippets.envoyer",
"problemMatcher": []
},
{
"label": "Import : ÉCRIRE (PRODUCTION)",
"label": "Snippets : ENVOYER (PRODUCTION)",
"type": "shell",
"command": "[ \"${input:confirmationProduction}\" = oui ] || { echo annulé; exit 1; } && set -a && . ./.env && set +a && LIBREDESK_URL='${input:urlProduction}' python3 -m base_connaissances.importer --ecrire",
"command": "[ \"${input:confirmationProduction}\" = oui ] || { echo annulé; exit 1; } && set -a && . ./.env && set +a && LIBREDESK_URL='${input:urlProduction}' python3 -m snippets.envoyer --ecrire",
"problemMatcher": []
}
],