Local LLMs: Streamlining Your Development Workflow and more

Here are some of the latest updates from working on the book so far.

PHP and LLMs book - Local LLMs: Streamlining Your Development Workflow

You can read the full chapter at https://dev.to/alnutile/php-and-llms-book-local-llms-streamlining-your-development-workflow-3d9i

This chapter covers the basics of working with local Large Language Models (LLMs) in a PHP development environment. We'll go through setting up Ollama on your machine and creating a simple PHP client to interact with its API. The chapter demonstrates how to use both completion and chat modes, and includes a practical example of using LLMs for news summarization. Along the way, we'll cover important development practices like mocking API responses and writing effective tests. By the end of this chapter, you should have a foundational understanding of integrating local LLMs into your PHP applications, setting the stage for more advanced topics in later chapters.

PHP and LLMs β€” Web Scraping and Building an Events Database using Tools

Read about it at https://medium.com/@alnutile/php-and-llms-web-scraping-and-building-an-events-database-f2f8fe1b3f5d

Here, we explore how we can take data scraped from a website and use LLMs to process the content. The chapter includes examples of tools that can extract relevant information from web pages and convert it into Events in our database.

We don’t delve into scraping here, since it’s pretty common and there are many ways to do it. We focus on building a tool that can handle a complex array of objects (Events) for the LLM to pass into it.

Book Progress

The book so far will have the following chapters.

  • [COMPLETE] Introduction
  • [COMPLETE] Local LLMs
  • [COMING OUT MONDAY 2024-09-02] Agnostic Driver
  • Prompting Overview
  • [COMPLETE] Parsing Opt Out Emails
  • Tools Overview
  • [COMPLETE] Web Scraping and Event Database
  • Agnostic Tools
  • Chaining
  • Web Search
  • Marketing Assistant
  • Handwritten to Task
  • RAG and Vector
  • Sitemap Feed
  • Agents
  • [COMING OUT MONDAY 2024-09-09] Standards Checker
  • Final Thoughts
  • Terminology

Video Series and more

After the book is done I will release a series that will continue to walk PHP developers through using LLMs in their day to day solutions. In the meantime I will be releasing shorts and intro vidoes so please follow me in the various places

πŸ“Ί YouTube Channel - https://youtube.com/@alfrednutile?si=M6jhYvFWK1YI1hK9

πŸ“– PHP and LLMs the book - https://bit.ly/php_llms

πŸš€ OpenSource Laravel RAG - https://www.larallama.io

🐦 https://x.com/alnutile

πŸ“ Dev.to https://dev.to/alnutile

πŸ§‘πŸ»β€πŸ’» The Code - https://github.com/LlmLaraHub/laralamma

πŸ“° The NewsLetter - https://sundance-solutions.mailcoach.app/php-and-llms

πŸ–ŠοΈ Medium - https://medium.com/@alnutile

🀝🏻 LinkedIn - https://www.linkedin.com/in/alfrednutile/

πŸ“Ί YouTube Playlist - https://www.youtube.com/watch?v=KM7AyRHx0jQ&list=PLL8JVuiFkO9IuomxxlMTiCvJ-8c-mbeZX

πŸ’¬ Discussions - https://github.com/orgs/LlmLaraHub/discussions

Online version β€’ Unsubscribe