~/talk

Let's Build a Supergraph Using ChatGPT

Talkat GraphQL Summit 2023 · 2023-10-09..10-13· [ai-assisted-development, graphql]
slides:none on file

Builds a Supergraph prototype by feeding ChatGPT prompts to generate GraphQL schemas, comparing GPT‑3.5 (fast, often messy) with GPT‑4 (slower, follows instructions better). Demonstrates concrete failures: missing pagination, no input types, wrong mutation payloads, and occasionally non‑existent federation directives. Shows fixes that work: adding a persistent system prompt, fine‑tuning a GPT‑3.5 model on GraphQL examples, and a custom UI that visualizes schemas and splits them into subgraphs; fine‑tuned model helps but needs much more training data to remove legacy mistakes.

AI-written summary · about

  1. 0:00Introduction to supergraphs
  2. 3:54How ChatGPT works
  3. 8:46Demo with GPT-3.5 vs GPT-4
  4. 11:39Improving model responses
  5. 17:19Custom fine-tuned models
  6. 19:52Schema design limitations
  7. 20:33Future model improvements
  8. 22:41Visual schema editor demo
  9. 24:47System prompts vs fine-tuning
  10. 25:28How to try the tool
~/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.