<commit_before>// This loads the environment variables from the .env file
require('dotenv-extended').load();

var builder = require('botbuilder'),
    needle = require('needle'),
    restify = require('restify'),
    url = require('url'),
    validUrl = require('valid-url'),
    recognitionService = require('./recognition-service');

// Bot Setup
var server = restify.createServer();
server.listen(process.env.port || process.env.PORT || 81,
    function() {
        console.log('%s listening to %s', server.name, server.url);
    });

// Create chat bot
var connector = new builder.ChatConnector({
    appId: process.env.MICROSOFT_APP_ID,
    appPassword: <PASSWORD>
});

// Listen for messages from users
server.post('/api/messages', connector.listen());

// Gets the caption by checking the type of the image (stream vs URL) and calling the appropriate caption service method
var bot = new builder.UniversalBot(connector,
    function(session) {<commit_msg>Change port from 81 to 443 for https<commit_after>// This loads the environment variables from the .env file
require('dotenv-extended').load();

var builder = require('botbuilder'),
    needle = require('needle'),
    restify = require('restify'),
    url = require('url'),
    validUrl = require('valid-url'),
    recognitionService = require('./recognition-service');

// Bot Setup
var server = restify.createServer();
server.listen(process.env.port || process.env.PORT || 443,
    function() {
        console.log('%s listening to %s', server.name, server.url);
    });

// Create chat bot
var connector = new builder.ChatConnector({
    appId: process.env.MICROSOFT_APP_ID,
    appPassword: <PASSWORD>
});

// Listen for messages from users
server.post('/api/messages', connector.listen());

// Gets the caption by checking the type of the image (stream vs URL) and calling the appropriate caption service method
var bot = new builder.UniversalBot(connector,
    function(session) {
{'fraction_non_alphanumeric': 0.13552361396303902, 'fraction_numerical': 0.00513347022587269, 'mean_word_length': 4.102094240837697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6895761', 'n_tokens_mistral': 556, 'n_tokens_neox': 539, 'n_words': 171}