<commit_before><?php  namespace Develpr\AlexaApp\Response; 

use Illuminate\Contracts\Support\Jsonable;
use Develpr\AlexaApp\Contracts\OutputSpeech as Speech;
/**
 * This class represents a valid response to be send back to Alexa.
 *
 * Class AlexaResponse
 * @package Develpr\AlexaApp\Response
 */
class AlexaResponse implements Jsonable
{
    const ALEXA_RESPONSE_VERSION = "1.0";

    /**
     * A key-value pair of session attributes
     * @var array
     */
    private $sessionAttributes = [];

    /**
     * Should the session be ended
     * @var bool
     */
    private $shouldSessionEnd = false;

    /**
     * @var Speech
     */
    private $speech = null;

    /**
     * @var Reprompt
     */
    private $reprompt = null;

	/**
	 * Does this response represent a prompt?
	 *
	 * @var bool
	 */
	private $isPrompt = false;

    /**
     * @var Card
     */
    private $card = null;

	/**
	 * @var \Develpr\AlexaApp\Alexa
	 */
	private $alexa;

	/**
	 * The Intent that a response should be routed to if a response comes in
	 *<commit_msg>End session by default (implements #12)<commit_after><?php  namespace Develpr\AlexaApp\Response; 

use Illuminate\Contracts\Support\Jsonable;
use Develpr\AlexaApp\Contracts\OutputSpeech as Speech;
/**
 * This class represents a valid response to be send back to Alexa.
 *
 * Class AlexaResponse
 * @package Develpr\AlexaApp\Response
 */
class AlexaResponse implements Jsonable
{
    const ALEXA_RESPONSE_VERSION = "1.0";

    /**
     * A key-value pair of session attributes
     * @var array
     */
    private $sessionAttributes = [];

    /**
     * Should the session be ended
     * @var bool
     */
    private $shouldSessionEnd = true;

    /**
     * @var Speech
     */
    private $speech = null;

    /**
     * @var Reprompt
     */
    private $reprompt = null;

	/**
	 * Does this response represent a prompt?
	 *
	 * @var bool
	 */
	private $isPrompt = false;

    /**
     * @var Card
     */
    private $card = null;

	/**
	 * @var \Develpr\AlexaApp\Alexa
	 */
	private $alexa;

	/**
	 * The Intent that a response should be routed to if a response comes in
	 *
{'fraction_non_alphanumeric': 0.11360448807854137, 'fraction_numerical': 0.002805049088359046, 'mean_word_length': 2.3968253968253967, 'pattern_counts': {'":': 0, '<': 5, '<?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': '220494', 'n_tokens_mistral': 705, 'n_tokens_neox': 662, 'n_words': 197}