I wrote a guide on using category theory concepts to compose AI tool calls more effectively. It shows how treating functions as typed morphisms with contracts enables both sequential (monadic) and parallel (applicative) composition patterns in GPT-4's function-calling API.
I wrote a guide on using category theory concepts to compose AI tool calls more effectively. It shows how treating functions as typed morphisms with contracts enables both sequential (monadic) and parallel (applicative) composition patterns in GPT-4's function-calling API.