~/talk

Interacting with LLMs via GraphQL

speakerdeck:leoloso
slides:none on file

Built and released Gato GraphQL in 2023 and demonstrates replacing the JavaScript glue layer so one single GraphQL query can fetch a post, call OpenAI Chat completions to translate it, and store it back in the DB in one round trip. Shows concrete query patterns that chain operations using an export directive (RFC), and explains the need for powerful custom directives to compose prompts, call arbitrary LLM endpoints and extract JSON paths.

AI-written summary · about

  1. 0:00GraphQL and LLMs intro
  2. 1:06Integrating AI with GraphQL
  3. 3:13Single-request GraphQL workflows
  4. 4:35Exposing AI in GraphQL
  5. 6:23Directives for data and AI
  6. 7:48Exporting GraphQL variables
  7. 9:30Server support for directives
  8. 9:50Unrestrained LLM via GraphQL
  9. 12:56Prompt construction directives
  10. 13:18Multiple LLM APIs with directives
  11. 15:30Navigating JSON with directives
  12. 16:33GraphQL server flexibility
  13. 16:55Conclusion
~/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.