Ingestion et indexation
- IIngestionService/IngestionService : chargement des collections filles par
sous-type, un jeu de morceaux par langue, ChunkIndex continu.
- SectionIndexingInterceptor retenu comme unique déclencheur : les 5
sous-contrôleurs totalisaient 30 SaveChanges et 0 Enqueue, donc ajouter des
points d'intérêt à une carte ne réindexait rien.
- HTML retiré avant l'embedding et lignes trop longues recoupées : sans cela un
article dépassait l'entrée max du modèle et emportait son lot de 50 morceaux.
- Gabarits de LanguageInit filtrés, DistinctBy(Text) avant le Take : ils
occupaient les cinq premiers résultats d'une recherche en néerlandais.
Endpoints du guide IA
- GET /api/Ai/knowledge/{id} : agrégats sur ContentEmbedding, donc sur ce qui
est réellement indexé — compter les sections publiées serait plus flatteur et faux.
- GET /api/Ai/insights/{id} : miroir de GuideIaInsights côté manager-app, c'est
l'écran qui a fixé la forme pour que le job de thèmes la remplisse.
RGPD
- VisitorQuestion journalisée dans AiController.Chat. HasAnswer se déduit des
sources du retrieval, pas du texte : un repli poli ressemble à une réponse.
L'écriture n'échoue jamais la réponse au visiteur.
- VisitorQuestionPurgeService, 90 jours, actif sans condition de configuration :
une durée écrite dans les CGU n'est pas un réglage commercial.
Corrections
- Updateinstance ne recopiait pas les quotas du nouveau plan.
- CheckQuota ne bloquait ni ne comptait à quota 0 — IA gratuite non comptée.
- StoragePath et SizeBytes renseignés à Create, types URL exclus.
dotnet build 0 erreur, dotnet test 130/130.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
63 lines
2.2 KiB
JSON
63 lines
2.2 KiB
JSON
{
|
|
/*"ConnectionStrings": {
|
|
//"TabletDb": "mongodb://admin:MioTech4ever!@localhost:27017" //DEV
|
|
//"TabletDb": "mongodb://admin:MioTech4ever!@localhost:27017", //PROD - Thomas
|
|
//"TabletDb": "mongodb://admin:MioTech4ever!@192.168.31.140:27017" //PROD - Thomas
|
|
//"TabletDb": "mongodb://admin:mdlf2021!@localhost:27017" //PROD MDLF
|
|
"TabletDb": "mongodb://admin:MyMuseum2022!@51.77.222.154:27017", //PROD MyMuseum
|
|
//"TabletDb": "mongodb://admin:MyInfoMate2023!@135.125.232.116:27017" //PROD MyInfoMate
|
|
"PostgresConnection": "Host=localhost;Database=my_info_mate;Username=mym;Password=mym"
|
|
},*/
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{ "Name": "Console" }
|
|
],
|
|
"Enrich": [ "FromLogContext" ]
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Tokens": {
|
|
"Secret": "WVD[&vAwis9=#883bM$FRc0kdKJdfkkjlksd4554qsasadd54df875ds4fqsf5Mw8h",
|
|
"AccessTokenExpiration": 86400,
|
|
"RefreshTokenExpiration": 518400
|
|
},
|
|
"SecuritySettings": {
|
|
"Secret": "kfexxgohdxeelabz",
|
|
"Issuer": "Manager",
|
|
"Audience": "the client of your app",
|
|
"IdType": "Name",
|
|
"TokenExpiryInHours": 2
|
|
},
|
|
"SupportedLanguages": [ "FR", "NL", "EN", "DE", "IT", "ES", "PL", "CN", "AR", "UK" ],
|
|
"OpenWeatherApiKey": "d489973b4c09ddc5fb56bd7b9270bbef",
|
|
"AI": {
|
|
"ApiKey": "AIzaSyCIf-mzp4Nzm5VwHL7LLzitt9z_bOOGMwc",
|
|
"SearchTopK": 5
|
|
},
|
|
"Firebase": {
|
|
"CredentialsPath": "firebase-adminsdk.json"
|
|
},
|
|
"AppUrls": {
|
|
"ManagerApp": "https://manager.myinfomate.be",
|
|
"Landing": "https://myinfomate.be"
|
|
},
|
|
"Stripe": {
|
|
"SecretKey": "sk_test_51U14rjRLQgHvlM4X4ewATCOOIzdIfTZEJCwwZT9sfpWm9LkrISoSEHfgHbPhJTujdYdPdRyCnrDoo5Sf8NMyCrPT00RfYB8fSN",
|
|
"WebhookSecret": "whsec_oMjl06r2l5XyX76uwsFHSW9BqQp3AsoS",
|
|
"EssentielPriceId": "price_1U14zPRLQgHvlM4XijZzTvGW"
|
|
},
|
|
"Resend": {
|
|
"ApiKey": "re_auR5A7VS_MyeUB87ceiZp91hbXnwKriGN",
|
|
"FromEmail": "MyInfoMate <onboarding@myinfomate.be>",
|
|
"AdminEmail": "fransolet.thomas@gmail.com"
|
|
}
|
|
//"Urls": "http://[::]:80"
|
|
}
|