~/talk

Smart Chat App with Vue, AI and Serverless Function Solution LIVE

Talkat Vue.js Forge 2024 · on Thursday, 2024-11-14· [vue, serverless, ai-assisted-development]
slides:none on file

Creates a real time Vue chat that keeps the OpenAI key on the server and uses a serverless function (Nefy/Netlify style) to call GPT 4o so clients never see the secret. Client uses a Vite boilerplate, TanStack Query for mutations, and a composable that POSTs queries, pushes a history array, and replaces a typing indicator placeholder when the assistant reply arrives. Implements serverless function endpoint with try/catch and returns JSON, plus OpenAI API key in server env, and the demo works end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 2:34Serverless chat function
  3. 8:22Chat input component
  4. 16:38Chat mutations composable
  5. 31:33Chat message component
  6. 38:23Conversation history
  7. 41:39Chat API error handling
  8. 47:55Loading and error states
  9. 53:04Deployment tips
  10. 53: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.