s
Dec. 21, 2023, 5:20 p.m. |

Simon Willison's Weblog simonwillison.net

Pushing ChatGPT's Structured Data Support To Its Limits


The GPT 3.5, 4 and 4 Turbo APIs all provide "function calling" - a misnamed feature that allows you to feed them a JSON schema and semi-guarantee that the output from the prompt will conform to that shape.

Max explores the potential of that feature in detail here, including some really clever applications of it to chain-of-thought style prompting.

He also mentions that it may have some application to preventing prompt injection …

ai apis chatgpt data feature function generativeai gpt json llms max maxwoolf openai prompt promptengineering promptinjection schema structured data support them turbo will

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

RL Analytics - Content, Data Science Manager

@ Meta | Burlingame, CA

Research Engineer

@ BASF | Houston, TX, US, 77079