Discover how to integrate AI workflows into your project with the Xef.ai library in this 20-minute conference talk from Scala Days Seattle 2023. Learn about the multiplatform library's functionality, initially available for Scala and Kotlin, and its plans for supporting additional languages. Explore the set of primitives provided by Xef for AI integration, developed by Xebia Functional's research and open-source team. Understand how Xef draws inspiration from Python's `langchain` architecture and Kotlin's arrow-kt.io library, introducing the `ai` DSL that treats AI workflows as pure functional values. Gain insights into tracking AI effects and errors alongside output predictions, enabling easier reasoning about AI program behavior and predictable composition with other software components. Delve into topics such as AI blocks, error handling, AI language, brand templates, context, tree of thought, and functions. Examine the advantages of using Xef.ai and participate in a Q&A session to further your understanding of this innovative AI integration tool.
Overview
Syllabus
Introduction
Xefai library
AI block
Errors
AI Language
Brand Templates
Context
Other implementations
Tree of Thought
Functions
Why Xefai
QA
Taught by
Scala Days Conferences