~/talk

ChatGPT with Laravel & beyond

TalkinItalianat laravelday 2023 · on Thursday, 2023-11-09· [ai-assisted-development, php, laravel]
slides:none on file

Shows how to integrate OpenAI APIs into a Laravel app with concrete code: using a Laravel package, differences between chat completion and completion, cost/token management, and implementing token-by-token streaming via Server-Sent Events. Demonstrates Livewire to handle streams, builds an embeddings + cosine-similarity pipeline for retrieval from documentation, and gives real examples (copyba.se, a ChatGPT UI plugin, PR automations). Covers function calling to fetch external data and argues that fine-tuning can reduce prompt tokens, with warnings about cost, latency, and hallucinations.

AI-written summary · about

  1. 0:00ChatGPT with Laravel intro
  2. 1:06OpenAI for developers
  3. 2:28GPT API token costs
  4. 4:15Laravel ChatGPT package
  5. 5:40Key request parameters
  6. 7:25Effective GPT prompts
  7. 8:31Response times streaming
  8. 11:47GPT response limits sources
  9. 12:30Context bending techniques
  10. 15:38Fine-tuning GPT models
  11. 18:48Fine-tuning use cases
  12. 20:36Function Call integration
  13. 23:49Function Call limits
  14. 24:31Laravel GPT apps
  15. 25:16Real Laravel GPT integrations
  16. 28:51AI integration risks
  17. 30:37Future of AI for devs
  18. 32:26Q&A
~/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.