<commit_before>﻿using Aecc.Models;
using AeccApp.Core.Models;
using System.Collections.ObjectModel;
using AeccApp.Core.Models.Email;

namespace AeccApp.Core
{
    public class GlobalSetting
    {
        private string _baseEndpoint;
        private string _apiEndpoint;
        private static readonly GlobalSetting _instance = new GlobalSetting();

        public GlobalSetting()
        {
            GooglePlacesApiKey = "<KEY>";

            // AZURE TEST BOT
            AeccBotSecret = "<KEY>";
            // LOCAL BOT ALFRA
            // AeccBotSecret = "<KEY>";

            AzureAdB2COptions = new AzureAdB2COptions()
            {
                Tenant = "alfraso.onmicrosoft.com",
                ClientId = "24b548ab-933a-47c0-9b3c-c9b334219cc7",
                SignUpSignInPolicyId = "B2C_1_SignUpSignIn",
                EditProfilePolicyId = "B2C_1_EditProfile",
                ResetPasswordPolicyId = "B2C_1_resetPassword",
                AppID = "aeccapi",
                Scope = "read"
            };

            //ApiEndpoint = "http://alfraso-aeccapi.azurewebsites.net";
             ApiEndpoint = "http://localhost:14724";

            EmailChatTemplate = new EmailChatTemplate("El beneficiario %UserName% %UserSurname% ha reportado una conversación con " +
                                                     "%CounterpartName% %CounterpartSurname% cuya valoración es %ChatRating%.\n" +
                                                     "Detalle de conversación:\n\n%Conversation%");
        }<commit_msg>api enpoint al servicio de azure (se me olvida y lo subo atacando al servicio local de mi máquina!!)<commit_after>﻿using Aecc.Models;
using AeccApp.Core.Models;
using System.Collections.ObjectModel;
using AeccApp.Core.Models.Email;

namespace AeccApp.Core
{
    public class GlobalSetting
    {
        private string _baseEndpoint;
        private string _apiEndpoint;
        private static readonly GlobalSetting _instance = new GlobalSetting();

        public GlobalSetting()
        {
            GooglePlacesApiKey = "<KEY>";

            // AZURE TEST BOT
            AeccBotSecret = "<KEY>";
            // LOCAL BOT ALFRA
            // AeccBotSecret = "<KEY>";

            AzureAdB2COptions = new AzureAdB2COptions()
            {
                Tenant = "alfraso.onmicrosoft.com",
                ClientId = "24b548ab-933a-47c0-9b3c-c9b334219cc7",
                SignUpSignInPolicyId = "B2C_1_SignUpSignIn",
                EditProfilePolicyId = "B2C_1_EditProfile",
                ResetPasswordPolicyId = "B2C_1_resetPassword",
                AppID = "aeccapi",
                Scope = "read"
            };

            ApiEndpoint = "http://alfraso-aeccapi.azurewebsites.net";
            //ApiEndpoint = "http://localhost:14724";

            EmailChatTemplate = new EmailChatTemplate("El beneficiario %UserName% %UserSurname% ha reportado una conversación con " +
                                                     "%CounterpartName% %CounterpartSurname% cuya valoración es %ChatRating%.\n" +
                                                     "Detalle de conversación:\n\n%Conversation%");
        }
{'fraction_non_alphanumeric': 0.0903348073278585, 'fraction_numerical': 0.02147820593809223, 'mean_word_length': 1.8126110124333925, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1363267', 'n_tokens_mistral': 927, 'n_tokens_neox': 864, 'n_words': 180}