ElixirConf 2023 - Charlie Holtz - Building AI Apps with Elixir

Discover how Elixir can be used to build AI apps, leveraging patterns like the Magic AI Box, Gen Server, and Interactive Sprinkle, and learn how to create complex AI applications with innovative examples and tools.

Key takeaways
  • Elixir can be used to build AI apps, and the talk focuses on three patterns: Magic AI Box, Gen Server, and Interactive Sprinkle.
  • The Magic AI Box takes in text and outputs text, and can be used to build simple AI apps.
  • The Gen Server is a process that runs in the background and can be used to build AI agents that interact with each other.
  • The Interactive Sprinkle is a way to add interactivity to the Magic AI Box and Gen Server, allowing for more complex AI apps to be built.
  • Elixir’s concurrency model makes it easy to build concurrently running tasks and processes, which is well-suited for AI development.
  • The talk uses examples of building an AI app to guess METARs (meteorological reports) and an AI app to generate Instagram-like posts.
  • The talk also mentions using OpenAI’s GPT-3.5 to generate text and images, as well as Replicate, a service that allows for easy deployment of machine learning models.
  • The talk concludes by emphasizing the potential of Elixir and AI to build complex and innovative applications.