<commit_before>using Microsoft.Extensions.Configuration;

namespace MVPStream.Models.Data
{
    public interface IAzureEndpoints
    {
        string GetDocumentDBUrl();
        string GetSearchAccount();
        string GetDocumentDBKey();
        string GetSearchKey();
    }

    public class AzureEndpoints:IAzureEndpoints
    {
        private string DocumentDBUrl;
        private string DocumentDBKey;
        private string SearchAccount;
        private string SearchKey;
        public AzureEndpoints(IConfigurationRoot configuration)
        {
            DocumentDBUrl = configuration["ddburl"];
            DocumentDBKey = configuration["ddbkey"];
            SearchAccount = configuration["searchaccount"];
            SearchKey = configuration["searchkey"];
        }

        public string GetDocumentDBUrl()
        {
            return DocumentDBUrl;
        }

        public string GetSearchAccount()
        {
            return SearchAccount;
        }

        public string GetDocumentDBKey()
        {
            return DocumentDBKey;
        }<commit_msg>Fix: Reading conf correctly<commit_after>using Microsoft.Extensions.Configuration;

namespace MVPStream.Models.Data
{
    public interface IAzureEndpoints
    {
        string GetDocumentDBUrl();
        string GetSearchAccount();
        string GetDocumentDBKey();
        string GetSearchKey();
    }

    public class AzureEndpoints:IAzureEndpoints
    {
        private string DocumentDBUrl;
        private string DocumentDBKey;
        private string SearchAccount;
        private string SearchKey;
        public AzureEndpoints(IConfigurationRoot configuration)
        {
            DocumentDBUrl = configuration["APPSETTING_ddburl"];
            DocumentDBKey = configuration["APPSETTING_ddbkey"];
            SearchAccount = configuration["APPSETTING_searchaccount"];
            SearchKey = configuration["APPSETTING_searchkey"];
        }

        public string GetDocumentDBUrl()
        {
            return DocumentDBUrl;
        }

        public string GetSearchAccount()
        {
            return SearchAccount;
        }

        public string GetDocumentDBKey()
        {
            return DocumentDBKey;
        }
{'fraction_non_alphanumeric': 0.06531531531531531, 'fraction_numerical': 0.0, 'mean_word_length': 2.209537572254335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5899935', 'n_tokens_mistral': 521, 'n_tokens_neox': 517, 'n_words': 115}