diff --git a/.env b/.env index 1127372..07368fa 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_API_URL=http://localhost:18000 # Configuration pour le développement -VITE_APP_NAME=4NK IA Front Notarial +VITE_APP_NAME=4NK IA Lecoffre.io VITE_APP_VERSION=0.1.0 # Configuration des services externes (optionnel) @@ -11,3 +11,7 @@ VITE_GEORISQUES_API_URL=https://www.georisques.gouv.fr/api VITE_GEOFONCIER_API_URL=https://api2.geofoncier.fr VITE_BODACC_API_URL=https://bodacc-datadila.opendatasoft.com/api VITE_INFOGREFFE_API_URL=https://entreprise.api.gouv.fr +VITE_OPENAI_API_KEY=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 +VITE_USE_OPENAI=true +VITE_OPENAI_BASE_URL=https://api.openai.com/v1 +VITE_OPENAI_MODEL=gpt-4o-mini \ No newline at end of file diff --git a/.env.exemple b/.env.exemple index da8cab9..edfc3d6 100644 --- a/.env.exemple +++ b/.env.exemple @@ -2,7 +2,7 @@ VITE_API_URL=http://localhost:8000 # Configuration pour le développement -VITE_APP_NAME=4NK IA Front Notarial +VITE_APP_NAME=4NK IA Lecoffre.io VITE_APP_VERSION=0.1.0 # Configuration des services externes (optionnel) diff --git a/.gitea/workflows/docker-build-push.yml b/.gitea/workflows/docker-build-push.yml index 6f9b0b9..4189cb9 100644 --- a/.gitea/workflows/docker-build-push.yml +++ b/.gitea/workflows/docker-build-push.yml @@ -3,7 +3,7 @@ name: Build & Push Docker Image on: push: branches: - - '**' + - 'release' jobs: docker: diff --git a/.gitignore b/.gitignore index a547bf3..b8efea3 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +test-files/ \ No newline at end of file diff --git a/README.md b/README.md index 70177d3..dc49578 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 4NK IA Front Notarial +# Lecoffre.io Application front-end pour l'analyse intelligente de documents notariaux avec IA. @@ -75,6 +75,10 @@ Créer un fichier `.env` : ```env VITE_API_URL=http://localhost:8000 +VITE_USE_OPENAI=false +VITE_OPENAI_API_KEY= +VITE_OPENAI_BASE_URL=https://api.openai.com/v1 +VITE_OPENAI_MODEL=gpt-4o-mini VITE_CADASTRE_API_URL=https://api.cadastre.gouv.fr VITE_GEORISQUES_API_URL=https://www.georisques.gouv.fr/api VITE_GEOFONCIER_API_URL=https://api.geofoncier.fr diff --git a/coverage/src/components/Layout.tsx.html b/coverage/src/components/Layout.tsx.html index 425295f..f577b0f 100644 --- a/coverage/src/components/Layout.tsx.html +++ b/coverage/src/components/Layout.tsx.html @@ -15,41 +15,41 @@ } - +
Press n or j to go to the next uncovered block, b, p or k for the previous block. @@ -158,7 +158,7 @@ interface LayoutProps { sx={{ flexGrow: 1, cursor: 'pointer' }} onClick={() => navigate('/')} > - 4NK IA - Front Notarial + 4NK IA - Lecoffre.io </Typography> </Toolbar> </AppBar> @@ -190,4 +190,3 @@ interface LayoutProps {