(2023-01-29) Litt Fuzzy Api Composition Querying Nba Stats With Gpt3 Statmuse Langchain
Geoffrey Litt: Fuzzy API composition: querying NBA stats with GPT-3 + Statmuse + Langchain. LLMs locked in a room tend to make things up; why not let them use Google and a calculator too?
In this post, I show how I composed a simple AI program that can answer multi-part questions about NBA statistics. It uses GPT-3 as a general-purpose LLM “agent”, and calls out to Statmuse, a specialized natural-language search engine for sports statistics. The interaction between the two is orchestrated by Langchain, a Python library that helps with composing “chains” of LLM behavior.
Edited: | Tweet this! | Search Twitter for discussion