<Window x:Class="ReAct_PME.ParametresRAG"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:ReAct_PME"
        mc:Ignorable="d"
        Title="Parametres RAG" Height="250" Width="500" Background="#FFF0F0F0">
    <Grid Margin="10,10,10,10">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="60"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock Text="Répertoire docs à vectoriser :" Grid.Row="0" VerticalAlignment="Center"/>
        <TextBox Text="{Binding SelectedItem.RAG_Path_ToVectoralize, Mode=TwoWay}"  MaxLength="255"  Grid.Row="0" Margin="200,0,0,0"/>

        <TextBlock Text="Répertoire docs vectorisés :" Grid.Row="1" VerticalAlignment="Center"/>
        <TextBox x:Name="IntTextBox" Text="{Binding SelectedItem.RAG_Path_Vectoralized, Mode=TwoWay}"  Grid.Row="1" Margin="200,0,0,0" MaxLength="255" />

        <TextBlock x:Name="Message" Text="..." Grid.Row="2" VerticalAlignment="Center"/>

        <StackPanel Orientation="Vertical" Grid.Row="3" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,0">
            <Button 
                Content="Sauvegarder" Width="80" Margin="5" 
                Style="{DynamicResource ButtonStyle}" 
                Click="Button_Click"
                />
            <Button Content="Fermer" Width="80" Margin="5" 
                Style="{DynamicResource ButtonStyle}" 
                Click="Button_Click_1"                
                />
        </StackPanel>
    </Grid>
</Window>
