Guillaume TOPENOT преди 1 седмица
родител
ревизия
95e4e6a1b7
променени са 14 файла, в които са добавени 629 реда и са изтрити 275 реда
  1. +0
    -89
      WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_LLM.razor
  2. +0
    -114
      WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_RAG.razor
  3. +54
    -38
      WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_base.razor.cs
  4. +2
    -23
      WebUI/ReAct_PME.WebUI/Pages/Mails/EditMail_Redaction_VM.cs
  5. +1
    -1
      WebUI/ReAct_PME.WebUI/Pages/Mails/_ModelGenerateAgain.razor
  6. +8
    -10
      WebUI/ReAct_PME.WebUI/Services/ApiService.cs
  7. +5
    -0
      _DATA/Parametres/EmailsSensibiliteCouleur.txt
  8. +5
    -0
      _DATA/Parametres/EmailsSensibiliteNiveauDetail.txt
  9. +7
    -0
      _DATA/Parametres/EmailsSensibilitePosture.txt
  10. +6
    -0
      _DATA/Parametres/EmailsSensibiliteTon.txt
  11. +2
    -0
      _DATA/Parametres/_A LIRE.txt
  12. +64
    -0
      _DATA/Parametres/models.config.json
  13. +10
    -0
      _DATA/Parametres/paramsOllama.txt
  14. +465
    -0
      _DATA/SQL/BDD_DATA_DEV.sql

+ 0
- 89
WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_LLM.razor Целия файл

@@ -1,89 +0,0 @@
@page "/chatroom_llm"

<h3>Chat Room</h3>
@inject ReAct_PME.WebUI.ServicesUI.ApiService ApiService
@using Services;
@using ReAct_PME.WebUI.ServicesUI;
@inject AuthenticationStateProvider AuthenticationStateProvider
@inject NavigationManager Navigation
@inject HttpClient Http
@using Microsoft.AspNetCore.Components.Authorization;
@inject ReAct_PME.WebUI.ServicesUI.AuthService AuthService

<PageTitle>ChatRoom</PageTitle>

<div class="container-fluid">

<div class="container">
<div class="form-group row">
<label for="Question" class="col-sm-2 col-form-label">Question* : </label>
<div class="col-sm-10">
<textarea id="Question" @bind="Question" class="form-control" @oninput="AutoResizeQuestion" rows="3" />
</div>
</div>
<div class="form-group row">
<label for="EnvoiRequete" class="col-sm-2 col-form-label"></label>
<div class="col-sm-10">
<button class="btn-action btn-primary" @onclick="EnvoiRequete">
<i class="bi bi-arrow-clockwise"></i>Envoyer la question
</button>
</div>
</div>
<div class="form-group row">
<label for="Reponse" class="col-sm-2 col-form-label">Reponse : </label>
<div class="col-sm-10">
<textarea id="Reponse" @bind="Reponse" class="form-control" @oninput="AutoResizeReponse" rows="5" disabled />
</div>
</div>
</div>
</div>


@code {

private string Question = "Quelle a été le premier homme à marcher sur la lune ?";
private string Reponse = string.Empty;
private Guid IdConversationSelected = Guid.Empty;

#region Rendre les zones extensibles
[Inject] IJSRuntime? JS { get; set; }
private void AutoResizeQuestion(ChangeEventArgs e)
{
if (JS != null)
{
JS.InvokeVoidAsync("resizeTextarea", "Question");
}
}
private void AutoResizeReponse(ChangeEventArgs e)
{
if (JS != null)
{
JS.InvokeVoidAsync("resizeTextarea", "Reponse");
}
}


#endregion

protected override async Task OnInitializedAsync()
{
await Task.Delay(1);
}

private async Task EnvoiRequete()
{
try
{
var rep = await ApiService.EnvoiRequete<string>(
"api/ChatRoom/llm", IdConversationSelected.ToString(), AuthService!.ID!,
Question
);
Reponse = rep;
}
catch (Exception ex)
{
Reponse = ex.Message;
}
}

}

+ 0
- 114
WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_RAG.razor Целия файл

@@ -1,114 +0,0 @@
@page "/chatroom_rag"

@inject ReAct_PME.WebUI.ServicesUI.ApiService ApiService
@using Services;
@using ReAct_PME.WebUI.ServicesUI;
@inject AuthenticationStateProvider AuthenticationStateProvider
@inject NavigationManager Navigation
@inject HttpClient Http
@using Microsoft.AspNetCore.Components.Authorization;
@inject ReAct_PME.WebUI.ServicesUI.AuthService AuthService

<PageTitle>R.A.G.</PageTitle>

<h3>R.A.G.</h3>

<div class="container-fluid">

<div class="container">
<div class="form-group row">
<label for="Question" class="col-sm-2 col-form-label">Domaine* : </label>
<div class="col-sm-10">
<select @bind="DomainSelected" class="form-select">
<option value="">-- Sélectionnez un statut --</option>
@if (DomainListe != null)
{
@foreach (var oneRef in DomainListe)
{
<option value="@oneRef">@oneRef</option>
}
}
</select>
</div>
</div>
<div class="form-group row">
<label for="Question" class="col-sm-2 col-form-label">Question* : </label>
<div class="col-sm-10">
<textarea id="Question" @bind="Question" class="form-control" @oninput="AutoResizeQuestion" rows="3" />
</div>
</div>
<div class="form-group row">
<label for="EnvoiRequete" class="col-sm-2 col-form-label"></label>
<div class="col-sm-10">
<button class="btn-action btn-primary" @onclick="EnvoiRequete">
<i class="bi bi-arrow-clockwise"></i> Envoyer la question
</button>
</div>

</div>
<div class="form-group row">
<label for="Reponse" class="col-sm-2 col-form-label">Reponse : </label>
<div class="col-sm-10">
<textarea id="Reponse" @bind="Reponse" class="form-control" @oninput="AutoResizeReponse" rows="5" disabled />
</div>
</div>
</div>
</div>


@code {

private string Question = "Que doit faire l'assistante à la réception d'une facture fournisseur ?";
private string Reponse = string.Empty;
public List<string>? DomainListe { get; set; } = new();
public string DomainSelected { get; set; } = "";
private Guid IdConversationSelected = Guid.Empty;

#region Rendre les zones extensibles
[Inject] IJSRuntime? JS { get; set; }
private void AutoResizeQuestion(ChangeEventArgs e)
{
if (JS != null)
{
JS.InvokeVoidAsync("resizeTextarea", "Question");
}
}
private void AutoResizeReponse(ChangeEventArgs e)
{
if (JS != null)
{
JS.InvokeVoidAsync("resizeTextarea", "Reponse");
}
}


#endregion

protected override async Task OnInitializedAsync()
{
DomainListe = await ApiService.GetAllAsync<List<string>?>("api/ChatRoom/rag/listeDomaines");
if (DomainListe != null && DomainListe.Count > 0)
{
DomainSelected = DomainListe[0];
}

}

private async Task EnvoiRequete()
{
try
{
Reponse = "";
var rep = await ApiService.EnvoiRequete<string>(
"api/ChatRoom/rag", DomainSelected, IdConversationSelected.ToString(), AuthService!.ID!,
Question
);
Reponse = rep;
}
catch (Exception ex)
{
Reponse = ex.Message;
}
}

}

+ 54
- 38
WebUI/ReAct_PME.WebUI/Pages/ChatRoom/ChatRoom_base.razor.cs Целия файл

@@ -16,6 +16,7 @@ namespace ReAct_PME.WebUI.Pages.ChatRoom

[Inject] public HttpClient Http { get; set; } = default!;
[Inject] private ReAct_PME.WebUI.ServicesUI.AuthService AuthService { get; set; } = default!;
[Inject] private ReAct_PME.WebUI.ServicesUI.ApiService ApiService { get; set; } = default!;
[Inject] private AuthenticationStateProvider AuthenticationStateProvider { get; set; } = default!;
[Inject] private NavigationManager Navigation { get; set; } = default!;
[Inject] private IToastService ToastService { get; set; } = default!;
@@ -169,58 +170,73 @@ namespace ReAct_PME.WebUI.Pages.ChatRoom

public async Task SendMessage()
{
if (string.IsNullOrWhiteSpace(CurrentInput) || SelectedConversation == null)
return;

// Ajoute ton message dans l'UI immédiatement
var userMsg = new MessageDto
try
{
IsUser = true,
Text = CurrentInput
};
Messages.Add(userMsg);
if (string.IsNullOrWhiteSpace(CurrentInput) || SelectedConversation == null)
return;

var payload = new SendMessageRequest
{
ConversationId = IsNewConversation ? Guid.NewGuid().ToString() : SelectedConversation.Id,
IsNewConversation = IsNewConversation,
IdWorkForce = AuthService!.ID!,
Mode = SelectedMode.ToUpper(),
Domain = SelectedDomain,
Documents64 = UploadedDocuments.Select(d => Convert.ToBase64String(d.Bytes)).ToList(),
Documents = UploadedDocuments.Select(d => d.FileName).ToList(),
Role = "user",
//Model = SelectedModel,
Text = CurrentInput,
Context = IsWithHistorique ? string.Join("\n ", Messages.Select(m => m.Text)) : ""
// Ajoute ton message dans l'UI immédiatement
var userMsg = new MessageDto
{
IsUser = true,
Text = CurrentInput
};
Messages.Add(userMsg);

};
var payload = new SendMessageRequest
{
ConversationId = IsNewConversation ? Guid.NewGuid().ToString() : SelectedConversation.Id,
IsNewConversation = IsNewConversation,
IdWorkForce = AuthService!.ID!,
Mode = SelectedMode.ToUpper(),
Domain = SelectedDomain,
Documents64 = UploadedDocuments.Select(d => Convert.ToBase64String(d.Bytes)).ToList(),
Documents = UploadedDocuments.Select(d => d.FileName).ToList(),
Role = "user",
//Model = SelectedModel,
Text = CurrentInput,
Context = IsWithHistorique ? string.Join("\n ", Messages.Select(m => m.Text)) : ""

};


CurrentInput = "";

var response = await Http.PostAsJsonAsync("/api/ChatRoom/sendMessage", payload);
CurrentInput = "";

if (response.IsSuccessStatusCode)
{
var assistantMsg = await response.Content.ReadFromJsonAsync<MessageDto>();
/*
var response = await Http.PostAsJsonAsync("/api/ChatRoom/sendMessage", payload);
if (response.IsSuccessStatusCode)
{
var assistantMsg = await response.Content.ReadFromJsonAsync<MessageDto>();
if (assistantMsg != null)
{
Messages.Add(assistantMsg);
}
}
*/
var assistantMsg = await ApiService.EnvoiRequete<MessageDto>("/api/ChatRoom/sendMessage", payload);
if (assistantMsg != null)
{
Messages.Add(assistantMsg);

if (IsNewConversation)
{
// Met à jour la liste des conversations
await LoadConversations();
SelectConversation(payload.ConversationId);
IsNewConversation = false;
}
}
}

if(IsNewConversation)
{
// Met à jour la liste des conversations
await LoadConversations();
SelectConversation(payload.ConversationId);
IsNewConversation = false;
}

UploadedDocuments.Clear();
StateHasChanged();

UploadedDocuments.Clear();
StateHasChanged();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
}
}

+ 2
- 23
WebUI/ReAct_PME.WebUI/Pages/Mails/EditMail_Redaction_VM.cs Целия файл

@@ -78,33 +78,12 @@ namespace ReAct_PME.WebUI.Pages.Mails
{vous_tu}
""";
var query = SelectItem.Query;
/*
if (!ListeTons.Contains(SelectItem.Ton))
{
Services.EmailService.SaveSensibilite(Services.EmailService.eTypeSensibilite.Ton, ListeTons.ToList(), SelectItem.Ton);
ListeTons.Add(SelectItem.Ton);
}
if (!ListePostures.Contains(SelectItem.Posture))
{
Services.EmailService.SaveSensibilite(Services.EmailService.eTypeSensibilite.Posture, ListePostures.ToList(), SelectItem.Posture);
ListePostures.Add(SelectItem.Posture);
}
if (!ListeCouleurs.Contains(SelectItem.Couleur))
{
Services.EmailService.SaveSensibilite(Services.EmailService.eTypeSensibilite.Couleur, ListeCouleurs.ToList(), SelectItem.Couleur);
ListeCouleurs.Add(SelectItem.Couleur);
}
if (!ListeNiveauxDetail.Contains(SelectItem.NiveauDetail))
{
Services.EmailService.SaveSensibilite(Services.EmailService.eTypeSensibilite.NiveauDetail, ListeNiveauxDetail.ToList(), SelectItem.NiveauDetail);
ListeNiveauxDetail.Add(SelectItem.NiveauDetail);
}
*/

List<string> lst = new();
lst.Add(context);
lst.Add(query);

var sRetourGenere = await _api.EnvoiRequete<string[]>($"api/ListeMails/generateagain", lst.ToArray());
var sRetourGenere = await _api.EnvoiNewMail<string[]>($"api/ListeMails/generateagain", lst.ToArray());

//var (isOk, sRetourGenere) = await Services.EmailService.GenererMailAsync(context, query);

+ 1
- 1
WebUI/ReAct_PME.WebUI/Pages/Mails/_ModelGenerateAgain.razor Целия файл

@@ -100,7 +100,7 @@
lst.Add(CreateContext());
lst.Add(CreateQuery());

var rep = await ApiService.EnvoiRequete<string[]>($"api/ListeMails/generateagain", lst.ToArray());
var rep = await ApiService.EnvoiNewMail<string[]>($"api/ListeMails/generateagain", lst.ToArray());
ReponseNew = rep;
IsValidateDisabled = false;
}

+ 8
- 10
WebUI/ReAct_PME.WebUI/Services/ApiService.cs Целия файл

@@ -1,3 +1,4 @@
using ReAct_PME.Domain;
using Services;
using System.Net.Http.Json;
using static System.Runtime.InteropServices.JavaScript.JSType;
@@ -90,16 +91,14 @@ namespace ReAct_PME.WebUI.ServicesUI
return await _httpClient.GetFromJsonAsync<T>(url);
}

public async Task<string> EnvoiRequete<T>(string url, T data)
public async Task<T?> EnvoiRequete<T>(string url, SendMessageRequest data)
{
var response = await _httpClient.PostAsJsonAsync(url, data);

if (!response.IsSuccessStatusCode)
return $"Erreur : {response.StatusCode}";
return default;

// lire le contenu JSON renvoyé
var result = await response.Content.ReadAsStringAsync();
return result;
return await response.Content.ReadFromJsonAsync<T>();
}

public async Task<string> EnvoiRequete<T>(string url, string idConversation, string idWorkForce, string question)
@@ -164,17 +163,16 @@ namespace ReAct_PME.WebUI.ServicesUI
return response.IsSuccessStatusCode;
}

/*
public async Task<TResponse?> EnvoiRequete<TRequest, TResponse>(string url, TRequest data)
public async Task<string?> EnvoiNewMail<T>(string url, string[] data)
{
var response = await _httpClient.PostAsJsonAsync(url, data);

if (!response.IsSuccessStatusCode)
throw new Exception($"Erreur HTTP {response.StatusCode}");
return default;

return await response.Content.ReadFromJsonAsync<TResponse>();
return await response.Content.ReadFromJsonAsync<string>();
}
*/

}


+ 5
- 0
_DATA/Parametres/EmailsSensibiliteCouleur.txt Целия файл

@@ -0,0 +1,5 @@
Politesse (sobre → très formelle)
Enthousiasme (positif, motivant)
Gravité (sérieux, solennel)
Humour (léger, complice)
Sarcasme (ironique, risqué)

+ 5
- 0
_DATA/Parametres/EmailsSensibiliteNiveauDetail.txt Целия файл

@@ -0,0 +1,5 @@
Simple et conçis
simple, objectif clair
structuré et nuancé
précision lexicale et stylistique
stratégie relationnelle autour du mail

+ 7
- 0
_DATA/Parametres/EmailsSensibilitePosture.txt Целия файл

@@ -0,0 +1,7 @@
D’égal à égal
Hiérarchique (vers le haut ou vers le bas)
De cadrage (donner des instructions, poser un cadre)
De demandeur
De médiateur / facilitateur
D’alerte / vigilance
De soutien / collaboratif

+ 6
- 0
_DATA/Parametres/EmailsSensibiliteTon.txt Целия файл

@@ -0,0 +1,6 @@
Formel
Professionnel neutre
Chaleureux / convivial
Urgent / alerte
Didactique / explicatif
Persuasif / engageant

+ 2
- 0
_DATA/Parametres/_A LIRE.txt Целия файл

@@ -0,0 +1,2 @@
Fichiers à mettre dans :
<REPERTOIRE PROJET>\WebUI\ReAct_PME.Api\bin\Debug\net8.0\Parametres

+ 64
- 0
_DATA/Parametres/models.config.json Целия файл

@@ -0,0 +1,64 @@
{
"Config": {
"LLM": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"RAG": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Resume_Documents": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Interpretation_Images": {
"Primary": "llava-llama3:latest",
"Secondary": "llava:7b",
"Fallback": ""
},
"Prompt_Generation_Fooocus": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Analyse_Mails": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Analyse_CV_Mission": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Facture_To_Xml": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"TF_From_DSF": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"LLM_CODER": {
"Primary": "qwen3-coder:30b",
"Secondary": "deepseek-coder-v2:16b",
"Fallback": "gpt-oss:20b"
},
"CV_To_Xml": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
},
"Generation_Mails": {
"Primary": "gpt-oss:20b",
"Secondary": "qwen3-vl:32b",
"Fallback": "gpt-oss:120b"
}
}
}

+ 10
- 0
_DATA/Parametres/paramsOllama.txt Целия файл

@@ -0,0 +1,10 @@
http://192.168.20.200:11434
600
0,01
0,9
200
http://192.168.20.200:11434
360
0,01
0,9
200

+ 465
- 0
_DATA/SQL/BDD_DATA_DEV.sql Целия файл

@@ -0,0 +1,465 @@
USE [master]
GO
/****** Object: Database [ReAct_PME] Script Date: 30/11/2025 06:28:24 ******/
CREATE DATABASE [ReAct_PME]
GO
USE [ReAct_PME]
GO
/****** Object: Table [dbo].[DT_CONVERSATION] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_CONVERSATION](
[ID_CONVERSATION] [uniqueidentifier] NOT NULL,
[ID_WORK_FORCE] [uniqueidentifier] NOT NULL,
[DATE_START] [date] NOT NULL,
[LIBELLE] [nvarchar](255) NOT NULL,
[SystemDateCreated] [datetime2](7) NOT NULL,
[SystemDateUpdated] [datetime2](7) NOT NULL,
[IsEnabled] [bit] NOT NULL,
[TypeConv] [nvarchar](5) NULL,
PRIMARY KEY CLUSTERED
(
[ID_CONVERSATION] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[DT_CONVERSATION_LIGNE] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_CONVERSATION_LIGNE](
[ID_CONVERSATION_LIGNE] [uniqueidentifier] NOT NULL,
[ID_CONVERSATION] [uniqueidentifier] NOT NULL,
[DATE] [datetime2](7) NOT NULL,
[QUESTION] [nvarchar](max) NOT NULL,
[REPONSE] [nvarchar](max) NOT NULL,
[MODELE] [nvarchar](255) NOT NULL,
[SystemDateCreated] [datetime2](7) NOT NULL,
[SystemDateUpdated] [datetime2](7) NOT NULL,
[IsEnabled] [bit] NOT NULL,
[DomainRAG] [nvarchar](50) NULL,
PRIMARY KEY CLUSTERED
(
[ID_CONVERSATION_LIGNE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[DT_LOGS] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_LOGS](
[ID] [uniqueidentifier] NOT NULL,
[ID_WORK_FORCE] [uniqueidentifier] NOT NULL,
[NIVEAU] [nvarchar](50) NOT NULL,
[HORODATAGE] [datetime2](7) NOT NULL,
[MESSAGE] [nvarchar](max) NOT NULL,
CONSTRAINT [PK_DT_LOGS] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[DT_ROLE] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_ROLE](
[ID_ROLE] [uniqueidentifier] NOT NULL,
[DATE_START] [date] NOT NULL,
[DATE_END] [date] NOT NULL,
[LIBELLE_ROLE] [nvarchar](255) NOT NULL,
[DESCRIPTION_ROLE] [nvarchar](max) NOT NULL,
[SystemDateCreated] [datetime2](7) NOT NULL,
[SystemDateUpdated] [datetime2](7) NOT NULL,
[IsEnabled] [bit] NOT NULL,
PRIMARY KEY CLUSTERED
(
[ID_ROLE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[DT_WORK_FORCE] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_WORK_FORCE](
[ID_WORK_FORCE] [uniqueidentifier] NOT NULL,
[TRIGRAMME] [nvarchar](3) NOT NULL,
[LAST_NAME] [nvarchar](255) NOT NULL,
[FIRST_NAME] [nvarchar](255) NOT NULL,
[EMAIL] [nvarchar](255) NOT NULL,
[IsManager] [bit] NOT NULL,
[USERNAME] [nvarchar](255) NOT NULL,
[PASSWORD] [nvarchar](255) NOT NULL,
[MAIL_PASSWORD] [nvarchar](255) NULL,
[MAIL_Serveur_IMAP] [nvarchar](255) NULL,
[MAIL_Serveur_IMAP_PORT] [int] NULL,
[MAIL_Serveur_SMTP] [nvarchar](255) NULL,
[MAIL_Serveur_SMTP_PORT] [int] NULL,
[MAIL_IS_OK] [bit] NULL,
[MAIL_ROLE_SIGNATURE] [nvarchar](255) NULL,
[MAIL_ENTREPRISE_SIGNATURE] [nvarchar](255) NULL,
[MAIL_DelayRefresh] [int] NULL,
[MAIL_DelaySentRefresh] [int] NULL,
[MAIL_DelaySentRecup] [int] NULL,
[MAIL_OverdueDaysSent] [int] NULL,
[SystemDateCreated] [datetime2](7) NOT NULL,
[SystemDateUpdated] [datetime2](7) NOT NULL,
[IsEnabled] [bit] NOT NULL,
PRIMARY KEY CLUSTERED
(
[ID_WORK_FORCE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[DT_WORK_FORCE_ROLE] Script Date: 30/11/2025 06:28:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DT_WORK_FORCE_ROLE](
[ID_WORK_FORCE_ROLE] [uniqueidentifier] NOT NULL,
[ID_WORK_FORCE] [uniqueidentifier] NOT NULL,
[ID_ROLE] [uniqueidentifier] NOT NULL,
[DATE_START] [date] NOT NULL,
[DATE_END] [date] NOT NULL,
[LIBELLE_WORK_FORCE_ROLE] [nvarchar](255) NOT NULL,
[DESCRIPTION_WORK_FORCE_ROLE] [nvarchar](max) NOT NULL,
[SystemDateCreated] [datetime2](7) NOT NULL,
[SystemDateUpdated] [datetime2](7) NOT NULL,
[IsEnabled] [bit] NOT NULL,
PRIMARY KEY CLUSTERED
(
[ID_WORK_FORCE_ROLE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'18a1ef17-18fe-437d-aaf6-01eea3758b2a', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'Quel est le montant du remboursement petit déjeuner lors d''un déplacement professionnel ?
', CAST(N'2025-11-24T17:29:07.3512306' AS DateTime2), CAST(N'2025-11-24T17:29:07.3512343' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'd0e548af-f2bf-4c43-a193-14c7324aedd1', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'quels sont les qualités clefs de ce candidat', CAST(N'2025-11-25T07:56:31.3341324' AS DateTime2), CAST(N'2025-11-25T07:56:31.3341375' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'e4893f2a-fa96-4e47-ab11-3b4c6e22cf96', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'Dans ce document, quel parcours est conseillé au candidat', CAST(N'2025-11-25T07:14:23.3037559' AS DateTime2), CAST(N'2025-11-25T07:14:23.3037587' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'9219d9ef-7ae4-47b2-ac5a-4239b2306ef7', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'quels sont les remboursements de train prévus pour un déplacement professionnel ?', CAST(N'2025-11-25T07:40:30.3005735' AS DateTime2), CAST(N'2025-11-25T07:40:30.3005756' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'3f1c93d0-728a-45e3-af0b-5e5eeb9dbb80', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'Quel parcours est conseillé à ce candidat', CAST(N'2025-11-25T08:00:16.4425901' AS DateTime2), CAST(N'2025-11-25T08:00:16.4425930' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'01a080dd-3042-4ea6-b080-7293c2585b45', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'est ce que ce candidat a des compétences de chef de projet ', CAST(N'2025-11-25T07:49:35.2604951' AS DateTime2), CAST(N'2025-11-25T07:49:35.2604974' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'03aeb589-fd81-4586-9097-7401427f21eb', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-26' AS Date), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes ...', CAST(N'2025-11-26T12:48:52.1828056' AS DateTime2), CAST(N'2025-11-26T12:48:52.1828103' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'8209997e-a7e8-4126-9eb8-79ab0ac6d229', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'dis moi si ces documents font référence à python. Et si oui, donne moi les idées clefs', CAST(N'2025-11-24T18:32:19.1907583' AS DateTime2), CAST(N'2025-11-24T18:32:19.1907664' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'aeae4e00-d01c-4854-bef3-7f6c907482ba', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'qui a découvert l''Amérique ?', CAST(N'2025-11-24T17:31:00.0416942' AS DateTime2), CAST(N'2025-11-24T17:31:00.0416975' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'8df3a462-d0b6-4f66-b8bb-838d475bd664', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'Dans ce document, quel parcours est conseillé au candidat', CAST(N'2025-11-25T07:32:55.2394241' AS DateTime2), CAST(N'2025-11-25T07:32:55.2394264' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'664b72d6-13a3-4f0e-8ab5-aa157a947329', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'quels sont les avantages du mariage des big data et du machine learning en IT', CAST(N'2025-11-25T07:28:45.1183479' AS DateTime2), CAST(N'2025-11-25T07:28:45.1183502' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'05df106d-0724-418f-81d0-abbad32e958e', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'qui a marché sur la lune ?', CAST(N'2025-11-24T17:27:25.7607511' AS DateTime2), CAST(N'2025-11-24T17:27:25.7607554' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'8aa6c060-a3f8-4a55-bf01-ade0b24bb863', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'résume ces documents', CAST(N'2025-11-24T18:26:58.2711569' AS DateTime2), CAST(N'2025-11-24T18:26:58.2711643' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'1436c6a6-493f-41af-ad36-d5a6508f3efc', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'donne moi les idées principales de ce document', CAST(N'2025-11-24T18:35:34.7252956' AS DateTime2), CAST(N'2025-11-24T18:35:34.7252984' AS DateTime2), 1, N'LLM')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'c24b498d-c596-401f-996d-d9eadb7d579c', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-25' AS Date), N'quels sont les qualités clefs de ce candidat
', CAST(N'2025-11-25T07:58:11.5607386' AS DateTime2), CAST(N'2025-11-25T07:58:11.5607412' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'7ddd0c66-9374-46e5-8b69-df7e0d85540e', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'Quel est le montant du remboursement d''une nuitée lors d''un déplacement professionnel ?', CAST(N'2025-11-24T17:19:17.6670485' AS DateTime2), CAST(N'2025-11-24T17:19:17.6670516' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION] ([ID_CONVERSATION], [ID_WORK_FORCE], [DATE_START], [LIBELLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [TypeConv]) VALUES (N'6cff9944-d804-4525-865d-ed84b3bde966', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', CAST(N'2025-11-24' AS Date), N'Quelle différence entre RAG et fine tuning', CAST(N'2025-11-24T17:22:20.7793124' AS DateTime2), CAST(N'2025-11-24T17:22:20.7793148' AS DateTime2), 1, N'RAG')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'86b6dcc1-6cf5-46c7-9b5f-0c364b53e6d1', N'1436c6a6-493f-41af-ad36-d5a6508f3efc', CAST(N'2025-11-24T18:35:34.7330319' AS DateTime2), N'donne moi les idées principales de ce document : 2. Reseaux de neurones convolutifs.docx', N'This message is a summary of the learning process for creating a Convolutional Neural Network (CNN) using Python and TensorFlow. Here''s a breakdown of the content:

1. Introduction to Convolutional Neural Networks (CNN) and their importance in image classification tasks.
2. Explanation of the basic components of a CNN, including convolution layers, pooling layers, and fully connected layers.
3. Steps to build a simple CNN for classifying handwritten digits using the MNIST dataset:
- Data preparation (loading and preprocessing)
- Defining the model architecture (number of layers, number of neurons per layer, activation functions, etc.)
- Compiling the model (defining optimizer, loss function, and evaluation metrics)
- Training the model (iterative process to minimize the loss and improve the model''s performance)
- Evaluating the model (testing its accuracy on a validation dataset)
4. Visualizing the learned filters and activations within the CNN to understand how the network learns to classify images.
5. Conclusion with key takeaways from the learning process and a brief summary of the steps followed in creating the CNN.

This message serves as an excellent starting point for anyone interested in exploring the world of deep learning and image classification using CNNs. Building upon this foundation, you can experiment with more complex architectures, different datasets, and various techniques to further improve your models'' performance. Happy coding!', N'mistral:7b', CAST(N'2025-11-24T18:35:34.7457587' AS DateTime2), CAST(N'2025-11-24T18:35:34.7457620' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'668ec350-1e7a-462f-9753-0d94874e850a', N'03aeb589-fd81-4586-9097-7401427f21eb', CAST(N'2025-11-27T08:34:50.5694846' AS DateTime2), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes d''améliorations à apporter dans le comportement du chef d''entreprise, dis le moi : Bilan-2012.pdf', N'The document appears to be financial reports for the "Agence du Bassin Hydraulique du Sebou" (ABHS), a Moroccan agency responsible for managing and developing water resources. Here are some of the key sections of the report:

1. Balance sheet: Shows the financial position of ABHS as of December 31, 2012, including assets, liabilities, and equity.
2. Income statement: Details the revenues, expenses, and net income or loss for the fiscal year ending on December 31, 2012.
3. Statement of cash flows: Provides information about the agency''s cash inflows and outflows during the fiscal year.
4. Schedule of investments: Lists any investments made by ABHS in other entities.
5. Schedule of loans and advances: Lists any outstanding loans and advances made by ABHS to others.
6. Schedule of current liabilities: Lists short-term debts and obligations owed by ABHS.
7. Schedule of long-term liabilities: Lists long-term debts and obligations owed by ABHS.
8. Statement of receivables: Details any outstanding accounts receivable by ABHS.
9. Statement of payables: Details any outstanding accounts payable by ABHS.
10. Statement of inventories: Provides information about the agency''s stocks of goods and materials.
11. Fusion table: Lists the plus-values constatées en cas de fusion for various categories of assets and liabilities.
12. Table of interests on loans from associates and third parties other than banks or credit institutions.
13. Table of leases other than credit leases.
14. Other tables not listed here, possibly related to specific projects or activities of the agency.

Regarding potential areas for improvement in the behavior of the chief executive, it is important to note that I am an AI model and do not have the ability to analyze human behavior or make recommendations based on that analysis. However, a thorough review of these financial reports could potentially help identify trends or issues that might warrant further investigation by those responsible for managing and oversight of the agency. For example, significant changes in revenue or expenses from one year to the next, or unusual transactions or accounting policies, may indicate areas where improvements could be made. Ultimately, any such analysis would require a more detailed understanding of the agency''s operations and objectives, as well as relevant regulatory requirements and best practices for similar organizations.', N'mistral:7b', CAST(N'2025-11-27T08:34:50.8632373' AS DateTime2), CAST(N'2025-11-27T08:34:50.8632441' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'9aa01935-b2c2-43a1-8671-1281445e9326', N'05df106d-0724-418f-81d0-abbad32e958e', CAST(N'2025-11-27T08:05:52.5432428' AS DateTime2), N'est ce que des singes sont allés dans l''espace ?', N'Non, aucun singe n''a été envoyé dans l''espace par les humains. Les animaux comme Laïka (chien) et Felix (souris) ont effectué des vols spatiaux suborbitaux mais pas de voyages vers la Lune ou autour de la Terre.', N'mistral:7b', CAST(N'2025-11-27T08:05:52.7841379' AS DateTime2), CAST(N'2025-11-27T08:05:52.7841441' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'995e6a4a-23e3-49e9-8de1-19db068cfac9', N'9219d9ef-7ae4-47b2-ac5a-4239b2306ef7', CAST(N'2025-11-25T07:40:30.3069529' AS DateTime2), N'quels sont les remboursements de train prévus pour un déplacement professionnel ?', N'Je ne suis pas en mesure de fournir les informations demandées sur les remboursements de train pour un déplacement professionnel à partir des documents fournis, car ils concernent uniquement les frais d''hébergement et de restauration lors des déplacements professionnels.

Je ne sais pas comment les remboursements de train sont prévus pour un déplacement professionnel.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:40:30.3553637' AS DateTime2), CAST(N'2025-11-25T07:40:30.3553660' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'bdd8dc3f-458e-4236-bfe3-340ecf0cd196', N'05df106d-0724-418f-81d0-abbad32e958e', CAST(N'2025-11-24T17:31:51.8894888' AS DateTime2), N'Est ce que des animaux sont allés dans l''espace ?', N'Oui, certains animaux ont voyagé dans l''espace. En 2003, un chien russe nommé Laïka est allé dans l''espace à bord de la fusée Sputnik 5. En 2001, une souris nommée Felix est également allée dans l''espace à bord d''une navette spatiale américaine. Toutefois, ces voyages se sont limités à des vols suborbitaux et les animaux ne sont pas parvenus à dépasser la barrière de l''atmosphère terrestre.', N'mistral:7b', CAST(N'2025-11-24T17:31:51.9120278' AS DateTime2), CAST(N'2025-11-24T17:31:51.9120311' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'4ef872aa-0498-4d8f-ba41-34753c240df6', N'8df3a462-d0b6-4f66-b8bb-838d475bd664', CAST(N'2025-11-25T07:32:55.2496790' AS DateTime2), N'Dans ce document, quel parcours est conseillé au candidat : Parcours Personnalisé GuillaumeTopenot.pdf', N'Je ne peux répondre à cette question sans avoir accès au document d''origine contenant le contexte spécifique mentionné. Veuillez fournir le contexte complet pour que je puisse vous aider avec précision.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:32:55.2771092' AS DateTime2), CAST(N'2025-11-25T07:32:55.2771115' AS DateTime2), 1, N'Technique')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'8e88c4f0-0c21-4f9e-a077-42ee190e6733', N'6cff9944-d804-4525-865d-ed84b3bde966', CAST(N'2025-11-24T17:22:20.7848587' AS DateTime2), N'Quelle différence entre RAG et fine tuning', N'RAG (Recherche et Génération) est une approche qui permet de combiner des techniques de recherche d''informations avec des modèles de langage pour générer des réponses basées sur des données externes. Le fine-tuning, quant à lui, consiste à personnaliser un modèle pré-entraîné en le formant sur des données spécifiques à une tâche.

Voici quelques différences entre RAG et fine-tuning, avec la référence du document d''où elles proviennent :

1. Objectif : Le RAG maintient le caractère polyvalent du modèle de base tout en le complétant avec des données externes (Document 2).
2. Personnalisation : Le fine-tuning personnalise le modèle pour une tâche spécifique, tandis que le RAG l''ajuste en intégrant des connaissances additionnelles issues de sources identifiées (Document 2).
3. Efficacité dans les tâches générales : L''utilisation du fine-tuning peut réduire l''efficacité du modèle dans les tâches de langage général, alors que le RAG conserve la vision globale du modèle (Document 2).
4. Mise à jour des informations : Le RAG permet au modèle d''accéder et d''utiliser dynamiquement des informations externes, restant ainsi à jour sans nécessiter de ré-entraînement, contrairement au fine-tuning qui est une approche plus statique (Document 2).
5. Généralisation vs personnalisation : Le RAG est recommandé lorsque l''on souhaite que le modèle étaye ses réponses en s''appuyant sur des sources documentaires identifiées, tandis que le fine-tuning spécialise le modèle pour une tâche spécifique (Document 2).

Si tu as besoin de plus d''informations ou si les documents ne répondent pas à ta question, n''hésite pas à me le faire savoir.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-24T17:22:20.7953677' AS DateTime2), CAST(N'2025-11-24T17:22:20.7953705' AS DateTime2), 1, N'Technique')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'7380e5f5-c9ae-472d-a2b9-4bc08b7f6522', N'664b72d6-13a3-4f0e-8ab5-aa157a947329', CAST(N'2025-11-25T07:28:45.1311858' AS DateTime2), N'quels sont les avantages du mariage des big data et du machine learning en IT : 20-20901-SPLK-AI-and-Machine-Learning-in-Your-Org-FR-102-EB_WEB.pdf', N'Les avantages du mariage des big data et du machine learning en IT sont les suivants :

1. Amélioration de l''affectation des ressources et exécution des tâches informatiques (Document 6)
2. Économie de temps et d''argent pour l''entreprise grâce à la combinaison des big data, de l''IA et du machine learning (Document 6)
3. Meilleure analyse et traitement des incidents de sécurité, meilleure préparation aux menaces et réduction des risques globaux tout en réduisant les coûts et la pression exercée sur des ressources limitées dans le domaine de la sécurité (Document 6)', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:28:45.1550068' AS DateTime2), CAST(N'2025-11-25T07:28:45.1550095' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'8805721b-2e27-4c4b-83e6-4f9cd2b5a308', N'03aeb589-fd81-4586-9097-7401427f21eb', CAST(N'2025-11-27T08:23:58.5820852' AS DateTime2), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes d''améliorations à apporter dans le comportement du chef d''entreprise, dis le moi
: Bilan-2012.pdf', N'This text appears to be a set of financial statements and reports for an agency called the "Agence du Bassin Hydraulique du Sebou" (ABHS), with a fiscal identification number of 4510887, for the year 2012.

The documents include:

1. Balance sheet (Tableau n° 1) - showing assets, liabilities, and equity as of the end of the year.
2. Income statement (Tableau n° 2) - showing revenues, expenses, and net profit or loss for the year.
3. Cash flow statement (Tableau n° 3) - showing cash inflows and outflows during the year.
4. Statement of changes in equity (Tableau n° 4) - showing changes in equity components during the year.
5. Schedule of investments (Tableau n° 5) - listing the agency''s investments in other entities.
6. Schedule of loans and advances (Tableau n° 6) - listing the agency''s outstanding loans and advances to others.
7. Schedule of current liabilities (Tableau n° 7) - listing the agency''s short-term debts and obligations.
8. Schedule of long-term liabilities (Tableau n° 8) - listing the agency''s long-term debts and obligations.
9. Statement of receivables (Tableau n° 9) - listing the agency''s outstanding accounts receivable.
10. Statement of payables (Tableau n° 10) - listing the agency''s outstanding accounts payable.
11. Statement of inventories (Tableau n° 20) - showing the quantity and value of the agency''s stocks of goods and materials.
12. Fusion table (Tableau n° 17) - showing the plus-values constatées en cas de fusion for various categories of assets and liabilities.
13. Table of interests on loans from associates and third parties other than banks or credit institutions (Tableau n° 18).
14. Table of leases other than credit leases (Tableau n° 19).
15. Other tables and schedules not listed here, possibly related to specific projects or activities of the agency.

These documents are likely used for financial reporting and analysis purposes, such as budgeting, forecasting, and decision-making.', N'mistral:7b', CAST(N'2025-11-27T08:23:58.6090281' AS DateTime2), CAST(N'2025-11-27T08:23:58.6090306' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'9f39fec0-9490-487f-b209-54854ceede9f', N'01a080dd-3042-4ea6-b080-7293c2585b45', CAST(N'2025-11-25T07:49:39.1795305' AS DateTime2), N'est ce que ce candidat a des compétences de chef de projet : GTO_LM_ITESOFT.pdf', N'D''après le premier document fourni, Guillaume TOPENOT mentionne dans sa candidature pour le poste de Chef de Projet MOE au sein d’ITESOFT qu''il dispose d''une expérience significative de plus de 20 ans en gestion de projet où il a pu démontrer ses compétences en leadership, en coordination d''équipe, ainsi qu''en suivi des délais et des coûts. Donc, il semble avoir des compétences de chef de projet. Ce document est source : GTO_LM_ITESOFT.pdf

Je ne trouve pas d''informations dans les autres documents fournis concernant directement les compétences de chef de projet de Guillaume TOPENOT.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:49:42.4206323' AS DateTime2), CAST(N'2025-11-25T07:49:42.4206359' AS DateTime2), 1, N'RH')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'fb35c67a-22cb-48dd-b2cf-62e910616767', N'05df106d-0724-418f-81d0-abbad32e958e', CAST(N'2025-11-27T08:17:45.6325272' AS DateTime2), N'quel a été le premier a allé dans l''espace', N'Le premier humain à avoir allé dans l''espace est l''astronaute soviétique Youri Gagarine, qui a effectué son vol spatial le 12 avril 1961 à bord de la Vostok 1.', N'mistral:7b', CAST(N'2025-11-27T08:17:45.7339630' AS DateTime2), CAST(N'2025-11-27T08:17:45.7339677' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'f76b1ccb-b1fc-46ec-984a-682fd26b4946', N'1436c6a6-493f-41af-ad36-d5a6508f3efc', CAST(N'2025-11-24T18:37:38.9375572' AS DateTime2), N'donne moi les idées principales de ce document : 2. Le perceptron.docx', N'In this text, the author discusses the Perceptron algorithm, a fundamental building block of artificial neural networks. The Perceptron was first introduced in 1957 and is essentially a linear classifier enhanced with matrix computations.

The author provides an overview of the Perceptron''s history and its formalism. A Perceptron was then trained on a dataset using Python code with TensorFlow, a popular open-source machine learning library. The trained Perceptron was evaluated using the R² score to assess its performance.

The author also introduces TensorBoard, an output visualization tool built into TensorFlow that helps users understand and compare different experiments. The author demonstrates how to use TensorBoard to monitor the training of multiple Perceptrons with varying optimizers.

In conclusion, while the Perceptron may seem simple, it plays a crucial role in neural networks. The author hints at exploring multi-layered Perceptrons (Deep Learning) next.', N'mistral:7b', CAST(N'2025-11-24T18:37:38.9806517' AS DateTime2), CAST(N'2025-11-24T18:37:38.9806553' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'63e350e8-f612-4b84-9ba2-6b35ae331dd9', N'03aeb589-fd81-4586-9097-7401427f21eb', CAST(N'2025-11-27T08:30:46.0782407' AS DateTime2), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes d''améliorations à apporter dans le comportement du chef d''entreprise, dis le moi : Bilan-2012.pdf', N'This appears to be a set of financial reports for an organization named "Agence du Bassin Hydraulique du Sebou" with the identification number 4510887. The reports cover the period from January 1, 2012 to December 31, 2012.

The reports include:

1. Balance sheet: This report provides a snapshot of the organization''s financial position at the end of the reporting period. It includes assets, liabilities, and equity.

2. Income statement: This report shows the organization''s revenues, expenses, and net profit or loss for the reporting period.

3. Cash flow statement: This report details the organization''s cash inflows and outflows during the reporting period.

4. Statement of changes in equity: This report shows the changes in the organization''s equity during the reporting period, including profit, losses, and distributions to shareholders.

5. Notes to the financial statements: These provide additional information about the organization''s accounting policies, significant transactions, and other matters that affect the financial statements.

6. Other tables: There are several other tables in the document, including tables for fixed assets, depreciation, plus values in case of fusion, interests of loans from associates and third parties, locations and leases, and stocks. These tables provide more detailed information about specific aspects of the organization''s financial situation.

Overall, these reports provide a comprehensive picture of the Agence du Bassin Hydraulique du Sebou''s financial position and performance for the year 2012.', N'mistral:7b', CAST(N'2025-11-27T08:30:46.2212132' AS DateTime2), CAST(N'2025-11-27T08:30:46.2212189' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'cf447e51-e248-4271-9f89-74f376d0fc3e', N'e4893f2a-fa96-4e47-ab11-3b4c6e22cf96', CAST(N'2025-11-25T07:14:23.3939330' AS DateTime2), N'Dans ce document, quel parcours est conseillé au candidat : Parcours Personnalisé GuillaumeTopenot.pdf', N'Le parcours conseillé au candidat est un parcours sur mesure, flexible et centré sur des projets d''entreprises réels. Il est détaillé dans le document "Parcours Personnalisé Guillaume Topenot.pdf".

Ce parcours comprend :
- Accès à l''ensemble des modules sur demande
- 6 projets hands-on réalisés au cours du parcours
À l''issue de ce module, vous saurez administrer des environnements Linux, automatiser des tâches avec Bash et collaborer efficacement avec Git pour des projets data.

Les informations spécifiques sur le contenu du parcours sont tirées des documents "Parcours Personnalisé Guillaume Topenot.pdf" et "À l''issue de ce module, vous saurez administrer des environnements Linux, automatiser des tâches avec Bash et collaborer efficacement avec Git pour des projets data.Linux : les bases des systèmes UNIX et du CloudApprenez les commandes Linux essentielles pour naviguer et administrer des serveurs.Configurez des services Linux (création, gestion, monitoring).Comprenez les fondamentaux du Cloud Computing".', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:14:23.4226821' AS DateTime2), CAST(N'2025-11-25T07:14:23.4226844' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'b6626b0b-4985-4dd7-a524-768cb4732857', N'aeae4e00-d01c-4854-bef3-7f6c907482ba', CAST(N'2025-11-24T17:31:00.0481863' AS DateTime2), N'qui a découvert l''Amérique ?', N'Christophe Colomb est crédité de la découverte de l''Amérique en 1492 lors de son premier voyage vers l''ouest depuis l''Europe. Toutefois, il n''était pas le premier Européen à avoir visité les Amériques, car des Norvégiens avaient déjà atteint l''Amérique du Nord au XIe siècle.', N'mistral:7b', CAST(N'2025-11-24T17:31:00.0590283' AS DateTime2), CAST(N'2025-11-24T17:31:00.0590309' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'd1565319-4948-4b6b-91a4-773446b49565', N'7ddd0c66-9374-46e5-8b69-df7e0d85540e', CAST(N'2025-11-24T17:19:17.6787872' AS DateTime2), N'Quel est le montant du remboursement d''une nuitée lors d''un déplacement professionnel ?', N'Le montant du remboursement d''une nuitée lors d''un déplacement professionnel en province est fixé à 90 € TTC par nuitée (Document : Hébergement).

Le montant du remboursement d''une nuitée lors d''un déplacement professionnel à Paris est fixé à 130 € TTC par nuitée (Document : Hébergement).', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-24T17:19:17.6876207' AS DateTime2), CAST(N'2025-11-24T17:19:17.6876240' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'2c0f5681-4624-47c5-891c-7734a3169fec', N'd0e548af-f2bf-4c43-a193-14c7324aedd1', CAST(N'2025-11-25T07:56:31.4472251' AS DateTime2), N'quels sont les qualités clefs de ce candidat : GTO_LM_ITESOFT.pdf', N'Le candidat Guillaume TOPENOT présente plusieurs qualités clés pour le poste de Chef de Projet MOE :

1. Expérience significative de plus de 20 ans en gestion de projet
2. Compétences en leadership et coordination d''équipe
3. Gestion des délais et des coûts
4. Qualité du livraison, gestion des risques, résolution de problèmes complexes
5. Connaissances en comptabilité et en flux financiers d''entreprises
6. Intérêt pour l''aspect fonctionnel qui permet de faire le lien entre les exigences des clients et les contraintes techniques
7. Capacité éprouvée à traduire des besoins métier complexes en spécifications techniques détaillées et à garantir l''alignement entre la technologie et les objectifs stratégiques
8. Disponibilité pour tout complément d''information ou pour une rencontre afin d''approfondir sa candidature.', N'mistral:7b', CAST(N'2025-11-25T07:56:31.4661332' AS DateTime2), CAST(N'2025-11-25T07:56:31.4661387' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'469d313f-f8b3-4f9d-8119-7be7c302ae6c', N'05df106d-0724-418f-81d0-abbad32e958e', CAST(N'2025-11-24T17:27:25.7727604' AS DateTime2), N'qui a marché sur la lune ?', N'Le premier homme à avoir marché sur la Lune est Neil Armstrong, le 20 juillet 1969 lors de la mission Apollo 11. Edwin Aldrin, son collègue astronaute, a également posé des pieds sur la Lune quelques minutes plus tard.', N'mistral:7b', CAST(N'2025-11-24T17:27:25.7898523' AS DateTime2), CAST(N'2025-11-24T17:27:25.7898557' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'83e165e6-ea3e-4bf1-9534-ab21cf20b652', N'03aeb589-fd81-4586-9097-7401427f21eb', CAST(N'2025-11-27T08:19:13.7894760' AS DateTime2), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes d''améliorations à apporter dans le comportement du chef d''entreprise, dis le moi : Bilan-2012.pdf', N'This appears to be a set of financial reports for the Agency du Bassin Hydraulique du Sebou (ABHS), an organization in Morocco. The reports include balance sheets, income statements, and other financial information for the fiscal year ending December 31, 2012.

The reports are divided into several tables or sections, each focusing on a specific aspect of the ABHS''s finances. Here is a brief overview of some of the main sections:

1. Tableau n° 1 - Balance sheet: This table provides a snapshot of the ABHS''s financial position as of December 31, 2012, including its assets, liabilities, and equity.

2. Tableau n° 2 - Income statement: This table shows the ABHS''s revenues and expenses for the fiscal year ending December 31, 2012, as well as its net income or loss.

3. Tableau n° 3 - Statement of cash flows: This table provides information about the ABHS''s cash inflows and outflows during the fiscal year, including operating activities, investing activities, and financing activities.

4. Tableau n° 17 - Plus-Values Constatées en cas de Fusion: This table lists the plus-values (unrealized gains) of various assets as of December 31, 2012, in case of a merger or acquisition.

5. Tableau n° 18 - Intérêts des Emprunts Contractés aupres des Associés et des Tiers autres que Les Organismes de Banque ou de Crédit: This table lists any loans taken out by the ABHS from associates or third parties other than banks or credit institutions, along with relevant details such as the interest rate and repayment schedule.

6. Tableau n° 19 - Locations et Baux autres que le credit-Bail: This table lists any properties rented by the ABHS, along with the lease terms and rental amounts.

7. Tableau n° 20 - État Détaillé des Stocks: This table provides an overview of the ABHS''s inventory as of December 31, 2012, including details about raw materials, work-in-progress, finished goods, and waste products.

Overall, these financial reports provide a comprehensive picture of the ABHS''s financial position and performance for the fiscal year ending December 31, 2012.', N'mistral:7b', CAST(N'2025-11-27T08:19:13.8142206' AS DateTime2), CAST(N'2025-11-27T08:19:13.8142236' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'17fec633-47ac-4e76-b5f4-b8c821184cf4', N'c24b498d-c596-401f-996d-d9eadb7d579c', CAST(N'2025-11-25T07:58:11.5685008' AS DateTime2), N'quels sont les qualités clefs de ce candidat
: GTO_CV_Tech Lead IA.pdf', N'Je ne peux répondre à votre question car je n''ai pas suffisamment d''informations dans le contexte fourni pour identifier les qualités clés du candidat mentionné. Les documents disponibles parlent principalement de l''utilisation de l''intelligence artificielle et du machine learning en informatique, sans fournir d''informations spécifiques sur un profil de candidat ou ses compétences. Je ne sais pas comment répondre à la question avec les seuls éléments donnés.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T07:58:11.5753634' AS DateTime2), CAST(N'2025-11-25T07:58:11.5753659' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'7c2cbdfd-2499-49fb-b2fa-c0cb91faf18b', N'8aa6c060-a3f8-4a55-bf01-ade0b24bb863', CAST(N'2025-11-24T18:26:58.3783673' AS DateTime2), N'résume ces documents', N'Le résumé indique que l''utilisateur a maîtrisé les principaux éléments du langage Python pour construire des premiers programmes. Il est décrit comment utiliser des conditions pour tester des variables, différentes structures de boucles telles que for et while, et un exemple d''utilisation de la fonction range dans une boucle while. En outre, il y a également des exercices pour décomposer un nombre entier en facteurs premiers, dessiner un losange ASCII, jouer au jeu du nombre mystère où l''ordinateur cherche à trouver un nombre mystère donné et plusieurs autres exercices variés.', N'mistral:7b', CAST(N'2025-11-24T18:26:58.4066648' AS DateTime2), CAST(N'2025-11-24T18:26:58.4066702' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'91a22914-aa76-4d8e-b7bf-ca57342ebdf4', N'3f1c93d0-728a-45e3-af0b-5e5eeb9dbb80', CAST(N'2025-11-25T08:00:16.4485711' AS DateTime2), N'Quel parcours est conseillé à ce candidat : Parcours Personnalisé GuillaumeTopenot.pdf', N'Désolé, je ne peux répondre à votre question sans avoir de contexte ou de documents fournis. Si vous me fournissez des informations supplémentaires, je serai ravi de vous aider du mieux possible.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-25T08:00:16.4572961' AS DateTime2), CAST(N'2025-11-25T08:00:16.4572985' AS DateTime2), 1, N'Technique')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'b522de15-c37c-4d09-9750-cffe326dcd4d', N'03aeb589-fd81-4586-9097-7401427f21eb', CAST(N'2025-11-26T12:48:52.3084475' AS DateTime2), N'Tu es un assistant comptable efficace. Fais ressortir les éléments clefs du document comptable d''une entreprise en pièce jointe. S''il y a des axes d''améliorations à apporter dans le comportement du chef d''entreprise, dis le moi : Bilan-2012.pdf', N'Voici une traduction et un résumé des différentes parties de la feuille suivante :

| Numéro | Type de document | Intitulé |
|--------|------------------|----------|
| 1 | Rapport financier | Rapport annuel 2010 |
| 2 | Comptes consolidés | Rapport annuel consolidé pour l''exercice clos le 31 décembre 2010 |
| 3 | Balance sheet | Extract du bilan |
| 4 | Income Statement | Extrait des comptes d’exploitation |
| 5 | Cash Flow Statement | Extrait du bilan de trésorerie |
| 6 | Notes aux comptes | Remarques aux comptes |
| 7 | Notes à l''extract du bilan | Remarques aux extraits du bilan |
| 8 | Notes à l''extract des comptes d’exploitation | Remarques aux extraits des comptes d’exploitation |
| 9 | Notes à l''extract du bilan de trésorerie | Remarques aux extraits du bilan de trésorerie |
| 10 | Tableau des opérations bancaires | Tableau des opérations bancaires de la banque XYZ pour le compte de l’entreprise ABC pour l''année closse le 31 décembre 2010 |
| 11 | Équilibres de la banque XYZ sur les comptes de l’entreprise ABC | Extrait du bilan bancaire de la banque XYZ pour le compte de l''entreprise ABC pour l''année closse le 31 décembre 2010 |
| 12 | Compte d''activité du prêt à long terme | Compte d''activité du prêt à long terme de la banque XYZ pour le compte de l''entreprise ABC pour l''année closse le 31 décembre 2010 |
| 13 | Rapport financier consolidé | Rapport annuel consolidé pour les exercices clos le 31 décembre 2009 et 2010 |
| 14 | Tableau des opérations bancaires de l''entreprise ABC avec les autres entités de la banque XYZ | Extrait du tableau des opérations bancaires pour les exercices clos le 31 décembre 2009 et 2010 |
| 15 | Rapport financier de l''entreprise ABC | Rapport annuel de l''entreprise ABC pour l''année closse le 31 décembre 2010 |
| 16-17 | Notes aux comptes de l''entreprise ABC | Remarques aux comptes pour l''entreprise ABC |
| 18 | État des plus-values constatées en cas de fusion de l''entreprise ABC | État des plus-values constatées en cas de fusion de l''entreprise ABC pour l''année closse le 31 décembre 2010 |
| 19 | État des intérêts des emprunts contractés auprès des associés et des tiers autres que les organismes de banque ou de crédit | État des intérêts des emprunts contractés auprès des associés et des tiers autres que les organismes de banque ou de crédit pour l''année closse le 31 décembre 2010 |
| 20 | Tableau des locations et baux autres que le credit-bail | Tableau des locations et baux d''autres types pour l''entreprise ABC pour l''année closse le 31 décembre 2010 |
| 21 | État détaillé des stocks | État détaillé des stocks pour l''entreprise ABC pour l''année closse le 31 décembre 2010 |

Le rapport annuel 2010 de l''entreprise ABC présente ses résultats financiers pour l''exercice clos le 31 décembre 2010. Il comprend un compte d''activité du prêt à long terme, des notes aux comptes et des rapports financiers consolidés et détaillés de la banque qui lui offre ses services ainsi qu''un tableau des opérations bancaires de l''entreprise avec les autres entités de la banque. L''entreprise ABC est également impliquée dans des locations et baux d''autres types, dont les détails sont présentés dans un tableau spécifique. Les stocks de l''entreprise sont également présentés dans un état détaillé.

Enfin, les derniers documents présentent des informations sur les plus-values constatées en cas de fusion de l''entreprise et sur les intérêts des emprunts contractés auprès des associés et des tiers autres que les organismes de banque ou de crédit.', N'mistral:7b', CAST(N'2025-11-26T12:48:52.3407109' AS DateTime2), CAST(N'2025-11-26T12:48:52.3407177' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'210552a7-5dca-45fd-87e1-d32b2ff91536', N'18a1ef17-18fe-437d-aaf6-01eea3758b2a', CAST(N'2025-11-24T17:29:07.3610434' AS DateTime2), N'Quel est le montant du remboursement petit déjeuner lors d''un déplacement professionnel ?
', N'Le montant maximum de remboursement pour un petit déjeuner lors d''un déplacement professionnel est de 10 € TTC par justificatif.

Cela se déduit des informations fournies dans le document "Règlement Intérieur des Déplacements Professionnels" (point 3.2. Restauration, dernier paragraphe) : "Les frais de repas sont remboursés sur présentation de justificatifs dans la limite des plafonds suivants :
- Petit-déjeuner : 10€ TTC maximum
- Déjeuner : 18€ TTC maximum
- Dîner : 25€ TTC maximum".

En cas de déplacement à Paris, ces plafonds peuvent être majorés de 20%.', N'thewindmom/hermes-3-llama-3.1-8b:latest', CAST(N'2025-11-24T17:29:07.3817053' AS DateTime2), CAST(N'2025-11-24T17:29:07.3817085' AS DateTime2), 1, N'Global')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'3c79ceec-afe9-4248-a74e-d44820158234', N'05df106d-0724-418f-81d0-abbad32e958e', CAST(N'2025-11-27T06:44:03.4492811' AS DateTime2), N'Est ce que des animaux sont allés dans l''espace ?
Oui, certains animaux ont voyagé dans l''espace. En 2003, un chien russe nommé Laïka est allé dans l''espace à bord de la fusée Sputnik 5. En 2001, une souris nommée Felix est également allée dans l''espace à bord d''une navette spatiale américaine. Toutefois, ces voyages se sont limités à des vols suborbitaux et les animaux ne sont pas parvenus à dépasser la barrière de l''atmosphère terrestre.
qui a marché sur la lune ?
Le premier homme à avoir marché sur la Lune est Neil Armstrong, le 20 juillet 1969 lors de la mission Apollo 11. Edwin Aldrin, son collègue astronaute, a également posé des pieds sur la Lune quelques minutes plus tard.
Est ce que des femmes sont allés dans l''espace ?', N'Oui, plusieurs femmes ont déjà voyageé dans l''espace. La première femme à voyager dans l''espace est l''astronaute russe Valentina Tereshkova, qui a été lancée le 16 juin 1963 à bord de la Vostok 6 pendant la course à l''espace entre les États-Unis et l''Union soviétique. La première femme américaine dans l''espace est Sally Ride, qui a effectué son vol spatial en 1983 à bord du Challenger (mission STS-7). Il y a eu au total 59 femmes qui ont voyagé dans l''espace jusqu''en 2021.', N'mistral:7b', CAST(N'2025-11-27T06:44:03.7021458' AS DateTime2), CAST(N'2025-11-27T06:44:03.7021562' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_CONVERSATION_LIGNE] ([ID_CONVERSATION_LIGNE], [ID_CONVERSATION], [DATE], [QUESTION], [REPONSE], [MODELE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled], [DomainRAG]) VALUES (N'032b9382-5530-4881-bb6d-f7cb0aaaadd4', N'8209997e-a7e8-4126-9eb8-79ab0ac6d229', CAST(N'2025-11-24T18:32:19.2642268' AS DateTime2), N'dis moi si ces documents font référence à python. Et si oui, donne moi les idées clefs : 1. Introduction au langage Python.docx
2. Commandes Linux.docx
3. Systèmes Linux.docx', N'This text seems to be a tutorial about the basics of using Linux, specifically focusing on system administration tasks such as managing files and directories, creating users, managing permissions, and creating system services using Systemd.

The tutorial covers the following topics:

1. File system structure in Unix-like systems: It explains the hierarchy of directories and how to navigate through them using commands like `cd`, `ls`, and `pwd`.

2. Creating, modifying, and deleting files and directories: It shows how to create new files and directories, modify existing ones, and delete unwanted files/directories.

3. User management: It explains how to create, modify, and delete users, as well as managing their permissions on files and directories.

4. Permissions: It discusses the three types of permissions (read, write, execute) for files and directories, and how to change them using chmod command.

5. System services with Systemd: It teaches how to create and manage system services, including starting, stopping, and enabling them to run at boot time.

Throughout the tutorial, examples are provided to help readers understand the concepts better. For instance, it demonstrates how to create a simple service that echoes "hello blent" every 5 seconds. It also explains the difference between standard output (stdout) and standard error (stderr), and how they can be redirected for further processing or logging purposes.

Overall, the text provides a good introduction to basic Linux system administration tasks. For more advanced topics, readers are encouraged to explore additional resources and practice using these concepts in real-world scenarios.', N'mistral:7b', CAST(N'2025-11-24T18:32:19.3011722' AS DateTime2), CAST(N'2025-11-24T18:32:19.3011779' AS DateTime2), 1, N'')
GO
INSERT [dbo].[DT_ROLE] ([ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_ROLE], [DESCRIPTION_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'50c848c4-2074-4748-88d3-3dda34540e4f', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'Admin', N'Admin', CAST(N'2025-11-23T10:07:24.2751188' AS DateTime2), CAST(N'2025-11-24T08:17:39.9629407' AS DateTime2), 1)
GO
INSERT [dbo].[DT_ROLE] ([ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_ROLE], [DESCRIPTION_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'9f1d4bb1-4927-443a-ac42-74b7278e9253', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'Manager', N'Manager', CAST(N'2025-11-23T10:07:41.8566784' AS DateTime2), CAST(N'2025-11-24T08:17:50.9887316' AS DateTime2), 1)
GO
INSERT [dbo].[DT_ROLE] ([ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_ROLE], [DESCRIPTION_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'c93d2536-2416-437e-9dce-c8ad7f0333b5', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'User', N'User', CAST(N'2025-11-23T10:08:00.4115449' AS DateTime2), CAST(N'2025-11-24T08:18:00.8746469' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE], [TRIGRAMME], [LAST_NAME], [FIRST_NAME], [EMAIL], [IsManager], [USERNAME], [PASSWORD], [MAIL_PASSWORD], [MAIL_Serveur_IMAP], [MAIL_Serveur_IMAP_PORT], [MAIL_Serveur_SMTP], [MAIL_Serveur_SMTP_PORT], [MAIL_IS_OK], [MAIL_ROLE_SIGNATURE], [MAIL_ENTREPRISE_SIGNATURE], [MAIL_DelayRefresh], [MAIL_DelaySentRefresh], [MAIL_DelaySentRecup], [MAIL_OverdueDaysSent], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', N'GTO', N'TOPENOT', N'Guillaume', N'guillaume.topenot@allin-it.fr', 1, N'gto', N'$2a$11$C4BQ70l9.pE./l.vMzq/NOr4fYTEoC9afoB5SAk2al13J6wIq90oW', N'$2a$11$4c4ZcyS3Vhb1oP.Bf7dpbuoRlUlUZzRSakY.pIAHkjyy0o0zWxDGa', N'mail.allin-it.fr', 993, N'mail.allin-it.fr', 587, 1, N'Manager', N'All in IT', 60, 45, 30, 7, CAST(N'2025-11-23T10:09:34.6451132' AS DateTime2), CAST(N'2025-11-23T10:28:57.2336408' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE], [TRIGRAMME], [LAST_NAME], [FIRST_NAME], [EMAIL], [IsManager], [USERNAME], [PASSWORD], [MAIL_PASSWORD], [MAIL_Serveur_IMAP], [MAIL_Serveur_IMAP_PORT], [MAIL_Serveur_SMTP], [MAIL_Serveur_SMTP_PORT], [MAIL_IS_OK], [MAIL_ROLE_SIGNATURE], [MAIL_ENTREPRISE_SIGNATURE], [MAIL_DelayRefresh], [MAIL_DelaySentRefresh], [MAIL_DelaySentRecup], [MAIL_OverdueDaysSent], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'6d8f10b1-5340-4b45-941e-a42fd682007c', N'MTR', N'TRAUCHAUSSEC', N'Maelan', N'maelan.trauchaussec@ait.fr', 0, N'maelan', N'$2a$11$4nN074/kgBhoEtSPectdj.W7x5Eby53vivEEN6frTYhLSVOpCKUqW', N'$2a$11$dRs90Qpx2Vv8CVfVXSUN5uBggjr1DD8sqR690rJ1DxpC3/qB2cGZG', NULL, NULL, NULL, NULL, NULL, N'Développeur', N'AIT', NULL, NULL, NULL, NULL, CAST(N'2025-11-30T06:36:14.6735867' AS DateTime2), CAST(N'2025-11-30T06:36:46.0435451' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE], [TRIGRAMME], [LAST_NAME], [FIRST_NAME], [EMAIL], [IsManager], [USERNAME], [PASSWORD], [MAIL_PASSWORD], [MAIL_Serveur_IMAP], [MAIL_Serveur_IMAP_PORT], [MAIL_Serveur_SMTP], [MAIL_Serveur_SMTP_PORT], [MAIL_IS_OK], [MAIL_ROLE_SIGNATURE], [MAIL_ENTREPRISE_SIGNATURE], [MAIL_DelayRefresh], [MAIL_DelaySentRefresh], [MAIL_DelaySentRecup], [MAIL_OverdueDaysSent], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'9d269b20-18fd-43e7-9cee-bddc51755978', N'CGT', N'GARDENT', N'Caroline', N'caroline.gardent@ait.fr', 1, N'caro', N'$2a$11$kWjOI99L7K456MHwP2bMBO82eyThKIlI4YSo4vAaQWU5sZyJ8Lhjy', N'$2a$11$wceTXVlIOS8jQVipCipJW.twRu0ehDAV1J4r/XCy3DNDFNq/kG7Wa', NULL, NULL, NULL, NULL, NULL, N'Business Manager', N'All in IT', NULL, NULL, NULL, NULL, CAST(N'2025-11-24T10:27:24.6969711' AS DateTime2), CAST(N'2025-11-24T10:27:43.1769221' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE_ROLE] ([ID_WORK_FORCE_ROLE], [ID_WORK_FORCE], [ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_WORK_FORCE_ROLE], [DESCRIPTION_WORK_FORCE_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'dc4fb781-9ecd-4ba0-a2ed-5448680bc953', N'9d269b20-18fd-43e7-9cee-bddc51755978', N'9f1d4bb1-4927-443a-ac42-74b7278e9253', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'CGT - Manager', N'CGT - Manager', CAST(N'2025-11-24T10:28:12.7205657' AS DateTime2), CAST(N'2025-11-24T10:28:12.7205772' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE_ROLE] ([ID_WORK_FORCE_ROLE], [ID_WORK_FORCE], [ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_WORK_FORCE_ROLE], [DESCRIPTION_WORK_FORCE_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'2ea44e4a-b7b2-4789-9889-555812a21717', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', N'9f1d4bb1-4927-443a-ac42-74b7278e9253', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'GTO - Manager', N'GTO - Manager', CAST(N'2025-11-23T10:32:28.8386323' AS DateTime2), CAST(N'2025-11-24T08:08:47.7358560' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE_ROLE] ([ID_WORK_FORCE_ROLE], [ID_WORK_FORCE], [ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_WORK_FORCE_ROLE], [DESCRIPTION_WORK_FORCE_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'986c5d66-55f8-4c7b-bf6b-cf13758a15ce', N'6cbe41e3-c042-4ae9-b053-99eab8abcb7e', N'50c848c4-2074-4748-88d3-3dda34540e4f', CAST(N'2025-01-01' AS Date), CAST(N'2035-01-01' AS Date), N'GTO - Admin', N'GTO - Admin', CAST(N'2025-11-23T10:31:59.9158516' AS DateTime2), CAST(N'2025-11-24T08:08:57.5576164' AS DateTime2), 1)
GO
INSERT [dbo].[DT_WORK_FORCE_ROLE] ([ID_WORK_FORCE_ROLE], [ID_WORK_FORCE], [ID_ROLE], [DATE_START], [DATE_END], [LIBELLE_WORK_FORCE_ROLE], [DESCRIPTION_WORK_FORCE_ROLE], [SystemDateCreated], [SystemDateUpdated], [IsEnabled]) VALUES (N'7486e3fd-771d-4db2-9005-dae2284d5c55', N'6d8f10b1-5340-4b45-941e-a42fd682007c', N'c93d2536-2416-437e-9dce-c8ad7f0333b5', CAST(N'2025-01-01' AS Date), CAST(N'0001-01-01' AS Date), N'MTR - User', N'MTR - User', CAST(N'2025-11-30T06:38:08.4857057' AS DateTime2), CAST(N'2025-11-30T06:38:08.4857190' AS DateTime2), 1)
GO
ALTER TABLE [dbo].[DT_CONVERSATION] WITH CHECK ADD CONSTRAINT [FK_DT_CONVERSATION_DT_WORK_FORCE] FOREIGN KEY([ID_WORK_FORCE])
REFERENCES [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE])
GO
ALTER TABLE [dbo].[DT_CONVERSATION] CHECK CONSTRAINT [FK_DT_CONVERSATION_DT_WORK_FORCE]
GO
ALTER TABLE [dbo].[DT_CONVERSATION_LIGNE] WITH CHECK ADD CONSTRAINT [FK_DT_CONVERSATION_LIGNE_DT_CONVERSATION] FOREIGN KEY([ID_CONVERSATION])
REFERENCES [dbo].[DT_CONVERSATION] ([ID_CONVERSATION])
GO
ALTER TABLE [dbo].[DT_CONVERSATION_LIGNE] CHECK CONSTRAINT [FK_DT_CONVERSATION_LIGNE_DT_CONVERSATION]
GO
ALTER TABLE [dbo].[DT_LOGS] WITH CHECK ADD CONSTRAINT [FK_DT_LOGS_DT_ROLE] FOREIGN KEY([ID_WORK_FORCE])
REFERENCES [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE])
GO
ALTER TABLE [dbo].[DT_LOGS] CHECK CONSTRAINT [FK_DT_LOGS_DT_ROLE]
GO
ALTER TABLE [dbo].[DT_WORK_FORCE_ROLE] WITH CHECK ADD CONSTRAINT [FK_DT_WORK_FORCE_ROLE_DT_ROLE] FOREIGN KEY([ID_ROLE])
REFERENCES [dbo].[DT_ROLE] ([ID_ROLE])
GO
ALTER TABLE [dbo].[DT_WORK_FORCE_ROLE] CHECK CONSTRAINT [FK_DT_WORK_FORCE_ROLE_DT_ROLE]
GO
ALTER TABLE [dbo].[DT_WORK_FORCE_ROLE] WITH CHECK ADD CONSTRAINT [FK_DT_WORK_FORCE_ROLE_ROLE_DT_WORK_FORCE] FOREIGN KEY([ID_WORK_FORCE])
REFERENCES [dbo].[DT_WORK_FORCE] ([ID_WORK_FORCE])
GO
ALTER TABLE [dbo].[DT_WORK_FORCE_ROLE] CHECK CONSTRAINT [FK_DT_WORK_FORCE_ROLE_ROLE_DT_WORK_FORCE]
GO
USE [master]
GO
ALTER DATABASE [ReAct_PME] SET READ_WRITE
GO

Loading…
Отказ
Запис