The post discusses using the Instructor Elixir library to retrieve structured output from LLMs like OpenAI GPT models. It also covers defining Ecto schemas for survey questions and implementing sum types in Elixir using Ecto.Type behavior.

3m read time From samrat.me
Post cover image
Table of contents
Simple Instructor responsesSum typesDefining the JSON schema

Sort: