~/talk

Build an Intelligent Python App, No Infra Hassles!

Talkat PyCon US 2024 · 2024-05-15..05-23· [serverless, ai-assisted-development]
links:none on file
slides:none on file

A concrete RAG chat app gets built and demoed end to end: Python code uses LangChain + Chainlit UI, FastAPI, Hugging Face embeddings and a Quadrant vector DB, with documents chunked and indexed via a local script; Azure OpenAI supplies the LLM and Azure Container Apps hosts the web app and a file-indexing job, mounting Azure File Share and using the Quadrant vector DB add-on. Deployment uses container images or az container app up, identities replace API keys, the app works but shows typical LLM rough edges (wrong groupby and occasional tooling hallucinations), and Dynamic sessions for secure Python REPL run code remotely with low latency.

AI-written summary · about

  1. 0:00Welcome
  2. 2:30Building RAG app locally
  3. 5:40Local setup demo
  4. 15:55Chunk size for RAG
  5. 16:16Deploy to Azure Container Apps
  6. 20:15Cloud architecture
  7. 30:01Extend with Python REPL
  8. 41:20LLM code execution risks
  9. 43:05Performance and lifecycle
  10. 44:15Dynamic Sessions intro
  11. 51:11Dynamic Sessions benefits
~/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.