<commit_before>#!/bin/bash -e

AMQP_HOST=${AMQP_HOST:-127.0.0.1}
AMQP_PORT=${AMQP_PORT:-5672}
AMQP_VHOST=${AMQP_VHOST:-/}
AMQP_USER=${AMQP_USER:-guest}
AMQP_PASSWORD=${AMQP_PASSWORD:-<PASSWORD>}
WIT_THRESHOLD=${WIT_THRESHOLD:-0.8}
ES_ENDPOINT=${ES_ENDPOINT:"http://localhost:9200/_search"}

cat > ./config.json <<-EOM
{
    "name": "faqbrowser",
    "snappy": {
        "username": "${SNAPPY_USERNAME}",
        "endpoint": "https://app.besnappy.com/api/v1/",
        "account_id": "${SNAPPY_ACCOUNT_ID}",
        "default_faq": "${SNAPPY_DEFAULT_FAQ}"
    },<commit_msg>add business hours to config<commit_after>#!/bin/bash -e

AMQP_HOST=${AMQP_HOST:-127.0.0.1}
AMQP_PORT=${AMQP_PORT:-5672}
AMQP_VHOST=${AMQP_VHOST:-/}
AMQP_USER=${AMQP_USER:-guest}
AMQP_PASSWORD=${AMQP_PASSWORD:-<PASSWORD>}
WIT_THRESHOLD=${WIT_THRESHOLD:-0.8}
ES_ENDPOINT=${ES_ENDPOINT:"http://localhost:9200/_search"}

cat > ./config.json <<-EOM
{
    "name": "faqbrowser",
    "snappy": {
        "username": "${SNAPPY_USERNAME}",
        "endpoint": "https://app.besnappy.com/api/v1/",
        "account_id": "${SNAPPY_ACCOUNT_ID}",
        "default_faq": "${SNAPPY_DEFAULT_FAQ}"
    },
    "helpdesk_hours": [8, 16],
{'fraction_non_alphanumeric': 0.21296296296296297, 'fraction_numerical': 0.031144781144781145, 'mean_word_length': 4.6084905660377355, 'pattern_counts': {'":': 13, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1271549', 'n_tokens_mistral': 540, 'n_tokens_neox': 506, 'n_words': 53}