Latest Updates

Documenting code, one commit at a time.

Enhancing Content Pipelines with Automated Video Generation

Introduction

Modern content pipelines demand versatility. The Breniapp/brenia project is evolving to meet these demands by integrating automated video generation into its existing content pipeline. This enhancement allows for richer content experiences, moving beyond static text and images to include dynamic video elements.

Integrating Video Content

The core update involves routing video

Read more

Enhancing Content Generation with Debugging Pipelines

Introduction

In the Breniapp/brenia project, we're focused on streamlining content generation. To improve the process and provide better insights, we've implemented a debugging pipeline specifically for super administrators.

The Problem

Content generation can be a black box. Understanding exactly which models, prompts, and requests are being used is crucial for debugging and optimization.

Read more

Database Compatibility: Adapting Queries for PostgreSQL

When developing applications across different database systems, ensuring compatibility in your queries is crucial. Minor differences in SQL syntax can lead to unexpected errors and application downtime. Let's explore a practical example of adapting queries for PostgreSQL.

The Challenge: Date Extraction

MySQL provides functions like YEAR() and MONTH() to extract year and month values from

Read more

Enhancing Content Generation with Tenant-Specific AI Models in Breniapp

Introduction

Tired of generic AI outputs? Breniapp introduces a streamlined way to tailor AI content generation using tenant-specific defaults. This post dives into how moving AI model selections to the page header improves usability and allows for more personalized content.

The Problem with Cramped Chat Headers

Previously, Breniapp placed AI model selection within the chat header.

Read more
PHP PostgreSQL

Improving Data Handling and Stability in Landing

The landing project focuses on creating engaging user experiences. Recent work has concentrated on refining data storage and ensuring application stability.

Addressing PostgreSQL DISTINCT Errors with JSONB

A recurring issue involved PostgreSQL's inability to efficiently use DISTINCT with JSON columns. This manifested as numerous daily errors, particularly within the Campaign editor's

Read more

Recovering PostgreSQL Report Functions in Laravel

Introduction

When performing database migrations, especially in multi-tenant environments, it's crucial to ensure all aspects of the schema are correctly applied to each tenant. This post explores a scenario in a Laravel application where PostgreSQL functions were unintentionally dropped during a tenant migration and how they were recovered.

The Problem: Silently Missing Functions

Read more