Here's a comprehensive README for setting up n8n on Ubuntu with Nginx:
- Ubuntu Server
- Node.js >= 18.17
https://www.youtube.com/@AlfredNutile | |
https://DailyAi.Studio | |
https://bit.ly/m/alnutile |
____ _ _ _ ___ ____ _ _ _ | |
| _ \ __ _ (_)| | _ _ / \ |_ _| / ___|| |_ _ _ ___ | | (_) ___ | |
| | | | / _` | | || | | | | | / _ \ | | \___ \| __|| | | | / _ \| | | | / _ \ | |
| |_| || (_| | | || | | |_| | / ___ \ | | ___) | |_ | |_| || (_) | | | || (_) | | |
|____/ \__,_| |_||_| \__, |/_/ \_\ |___| |____/ \__| \__,_| \___/|_| |_| \___/ | |
|___/ | |
$ _ | |
Alfred Nutile @ DailyAi.Studio | |
Learn more at https://www.youtube.com/@AlfredNutile |
-- Enable the pgvector extension to work with embedding vectors | |
create extension vector; | |
-- Create a table to store your documents | |
create table documents ( | |
id text primary key, -- CHANGE TO TEXT | |
content text, | |
metadata jsonb, | |
embedding vector(1536) | |
); |
# Build stage | |
FROM node:20-alpine as builder | |
WORKDIR /app | |
# Copy package files | |
COPY package*.json ./ | |
COPY bun.lockb ./ | |
# Install dependencies |
This book is a practical guide for PHP developers navigating the rapidly evolving landscape of Large Language Models (LLMs). Moving beyond the hype, it delves into real-world applications and solutions, providing step-by-step instructions on how to integrate LLMs into your existing projects.
From mastering prompts to building reusable tools and working with various LLMs, this book equips you with the skills needed to leverage the power of Ai in everyday development tasks.
Whether you’re looking to automate complex workflows, enhance content verification, or simply stay ahead in a changing industry, this book offers the insights and hands-on examples to get you there. This isn’t just another “Hello World” guide—it’s a deep dive into the future of PHP development, focusing on real solutions that drive real results.
Sample book here https://bit.ly/php_llms_sample
request()->session()->flash('flash.banner', 'Message sent, Thank you!'); |
<?php | |
namespace App\Services; | |
use Spatie\Tags\Tag; | |
use Ramsey\Uuid\Uuid; | |
use App\Models\Recall; | |
use App\Tagging\Subscribables; | |
use Illuminate\Database\Eloquent\Model; | |
use Google\Cloud\Firestore\FirestoreClient; |
<?php | |
// coverage-checker.php | |
//https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/ | |
$inputFile = $argv[1]; | |
$percentage = min(100, max(0, (int) $argv[2])); | |
if (!file_exists($inputFile)) { | |
throw new InvalidArgumentException('Invalid input file provided'); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit bootstrap="vendor/autoload.php" | |
backupGlobals="false" | |
backupStaticAttributes="false" | |
colors="true" | |
verbose="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" |