~/talk

Generative AI and Large Language Model (LLM) in PHP

Talkat phpday 2024 · 2024-05-16..05-17· [machine-learning]
slides:none on file

Shows a working PHP pipeline that takes a PDF, splits it into 56 chunks, generates embeddings via OpenAI, indexes them into OpenSearch/Elasticsearch, and answers queries with a retrieval‑augmented generation flow using the LLPhant project and local examples including GPT4All; demo returns the extracted source chunks and the generated answer. Also cites scale numbers (GPT‑4 ~1.76 trillion parameters, large GPU fleet and multimillion dollar training costs) to justify when to use local models versus cloud APIs.

AI-written summary · about

  1. 0:00Introduction to generative AI
  2. 2:30Deep learning and neural networks
  3. 5:00Mathematical foundations of AI
  4. 10:05Large language models explained
  5. 14:47GPT architecture and scale
  6. 16:40Prompt engineering and parameters
  7. 22:11Advanced prompting strategies
  8. 26:44Implementing AI in PHP
  9. 31:09Local AI models with Ollama
  10. 34:54Retrieval Augmented Generation
  11. 43:00Live RAG implementation demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.