u/fwbrasilKyoin r/scala • Recommends
An Algebra of Thoughts: When Kyo effects meet LLMs by Flavio Brasil
56K subscribers • 31 videos on Hallway
Advanced. Deep dive for people who know the field.
824 views1 year ago1 recommendation
Programming languagesAI and machine learningScalaTransformers and LLMsFunctional programming
Flavio Brasil demonstrates how to use the Kyo effect system in Scala 3 to structure and manage complex LLM interactions type-safely.
Welcome to the fourth Func Prog Sweden MeetUp 2025 This MeetUp will be streamed live online on the Func Prog Sweden YouTube channel: youtube.com/c/FuncProgSweden The Program: Stream Start Intro by Magnus Sedlacek An Algebra of Thoughts: When Kyo effects meet LLMs by Flavio Brasil An Algebra of Thoughts: When Kyo effects meet LLMs Kyo, a cutting-edge effect system in Scala 3, introduces a novel approach to composability through algebraic effects. This talk will present a type-safe method for structuring LLM interactions based on Kyo effects, introducing an algebra of thoughts that simplifies complex AI workflows. We’ll demonstrate how this approach enables explicit modeling of AI capabilities, simpler management of LLM context, proper resource management, and seamless integration with Kyo's comprehensive suite of effects. Additionally, we will explore how Kyo’s effect tracking can serve as a sandboxing mechanism, facilitating safe and controlled execution of code generated by LLMs. Join us to see how Kyo’s algebraic design can transform how we think about and build reliable, scalable systems for next-generation AI. Flavio Brasil X: x.com/fbrasisil/ LinkedIn: linkedin.com/in/flavio-brasil-81362620/ Post-show chat Once the live stream is over we will do a post show chat on the FPS Discord Server, where you can join and ask questions and meet more community members (this will no be recorded). Invite for the FPS Discord Server: discord.gg/rMT6xRPwgZ Video sponsor – Ada Beat adabeat.com Merch If you want to spread functional programming and support the channel, buy something from the shop: funcprogsweden.myspreadshop.net/ #funcprogswedenWhat people say. Recommended for its novel approach to structuring AI workflows using algebraic effects in Scala.
u/fwbrasilKyoin r/scala • Recommends