public static async Task Run([QueueTrigger(QueueNameConstants.TextModelForDatabase)] TextMoodModel textModel, ILogger log)
        {
            log.LogInformation("Saving TextModel to Database");

            if (textModel.Text.Length > 128)
            {
                textModel.Text = textModel.Text.Substring(0, 128);
            }

            await TextMoodDatabase.InsertTextModel(textModel).ConfigureAwait(false);
        }
        public static void Run(
            [QueueTrigger(QueueNameConstants.TextModelForDatabase)] TextMoodModel textModel,
            [Queue(QueueNameConstants.SendUpdate)] out TextMoodModel textModelOutput,
            TraceWriter log)
        {
            log.Info("Saving TextModel to Database");

            if (textModel.Text.Length > 128)
            {
                textModel.Text = textModel.Text.Substring(0, 128);
            }

            TextMoodDatabase.InsertTextModel(textModel).GetAwaiter().GetResult();

            textModelOutput = textModel;
        }