159: Langchain with Elixir and Safe Ecto Migrations

Release Date:

Mark and David share what's caught their interests and focus. Langchain is a popular framework in JS and Python communities for building services that knit together different services enabling people to quickly build impressive demos. Mark talks about the parts of Langchain that interest him and how he's been building ways for Elixir apps to play in that space too. We also catch up with David’s job change, moving, and talk about his ideas around using Oban for managing data migrations in a new way.
Show Notes online - http://podcast.thinkingelixir.com/159 (http://podcast.thinkingelixir.com/159)
Elixir Community News
- https://twitter.com/josevalim/status/1674817111863054337 (https://twitter.com/josevalim/status/1674817111863054337?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir v1.15.2 and Erlang/OTP 26.0.2 are both out. All of the known bugs have been ironed out. This release also contains fixes needed by ElixirLS. ElixirLS release 0.15.1 leverages these.
- https://github.com/elixir-lang/elixir/releases/tag/v1.15.1 (https://github.com/elixir-lang/elixir/releases/tag/v1.15.1?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/elixir-lang/elixir/releases/tag/v1.15.2 (https://github.com/elixir-lang/elixir/releases/tag/v1.15.2?utm_source=thinkingelixir&utm_medium=shownotes)
- https://twitter.com/josevalim/status/1675900744954785796 (https://twitter.com/josevalim/status/1675900744954785796?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir's type system has moved out of the “research” phase into the “development” phase.
- https://elixir-lang.org/blog/2023/06/22/type-system-updates-research-dev/ (https://elixir-lang.org/blog/2023/06/22/type-system-updates-research-dev/?utm_source=thinkingelixir&utm_medium=shownotes)
- https://twitter.com/ElixirConf/status/1675995012453093376 (https://twitter.com/ElixirConf/status/1675995012453093376?utm_source=thinkingelixir&utm_medium=shownotes) – José will be talking more about the Elixir work around types in his ElixirConf US 2023 keynote talk.
- https://twitter.com/josevalim/status/1674893183640125442 (https://twitter.com/josevalim/status/1674893183640125442?utm_source=thinkingelixir&utm_medium=shownotes) – José shared where he wants to turn more of his focus in Elixir 1.16. It's all around “docs”.
- https://github.com/woodward/integrator (https://github.com/woodward/integrator?utm_source=thinkingelixir&utm_medium=shownotes) – A new Nx focused Hex package by Greg Woodward called “Integrator”.
- https://github.com/woodward/integrator/tree/main/guides (https://github.com/woodward/integrator/tree/main/guides?utm_source=thinkingelixir&utm_medium=shownotes) – Includes Livebook guides with samples
- https://twitter.com/whatyouhide/status/1675887336339406850 (https://twitter.com/whatyouhide/status/1675887336339406850?utm_source=thinkingelixir&utm_medium=shownotes) – Andrea Leopardi released v2.0.0 of Corsica, an Elixir library for handling CORS requests.
- https://hex.pm/packages/corsica (https://hex.pm/packages/corsica?utm_source=thinkingelixir&utm_medium=shownotes)
- https://twitter.com/voltonez/status/1676125858581422080 (https://twitter.com/voltonez/status/1676125858581422080?utm_source=thinkingelixir&utm_medium=shownotes) – Bram Verburg pointed out AWS RDS database connection failure issue after upgrading to Erlang/OTP 26 is probably due to certificate validation.
- https://elixirforum.com/t/aws-rds-castore-certificate-validation-for-aws-rds-dbs/55111 (https://elixirforum.com/t/aws-rds-castore-certificate-validation-for-aws-rds-dbs/55111?utm_source=thinkingelixir&utm_medium=shownotes)
- https://github.com/voltone/awsrdscastore (https://github.com/voltone/aws_rds_castore?utm_source=thinkingelixir&utm_medium=shownotes) – The Hex package awsrdscastore to help manage AWS CA certificates
- https://hex.pm/packages/image (https://hex.pm/packages/image?utm_source=thinkingelixir&utm_medium=shownotes) – Image 0.35.0 was released. Updates primarily focused on image contrast.
- https://twitter.com/DNAutics/status/1676059564188286976 (https://twitter.com/DNAutics/status/1676059564188286976?utm_source=thinkingelixir&utm_medium=shownotes) – ZigDocs was released
- https://hexdocs.pm/zig_doc/Zig.Doc.html (https://hexdocs.pm/zig_doc/Zig.Doc.html?utm_source=thinkingelixir&utm_medium=shownotes) – Integrates Zig documentation into Elixir docs.
- https://getoban.pro/releases#1.0.0 (https://getoban.pro/releases#1.0.0?utm_source=thinkingelixir&utm_medium=shownotes) – Oban Pro v1.0 is out without any new features or bugfixes, purely a renamed engine and deprecation cleanup.
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at show@thinkingelixir.com (mailto:show@thinkingelixir.com)
Discussion Resources
- https://blog.langchain.dev/announcing-our-10m-seed-round-led-by-benchmark/ (https://blog.langchain.dev/announcing-our-10m-seed-round-led-by-benchmark/?utm_source=thinkingelixir&utm_medium=shownotes) – Langchain announced $10m seed round
- https://js.langchain.com/docs/ (https://js.langchain.com/docs/?utm_source=thinkingelixir&utm_medium=shownotes) – Langchain JS docs and introduction to the project
- https://python.langchain.com/docs/get_started/introduction.html (https://python.langchain.com/docs/get_started/introduction.html?utm_source=thinkingelixir&utm_medium=shownotes) – Python version of the docs
- Be agentic - allow a language model to interact with its environment
- https://github.com/orthagonal/langchainex (https://github.com/orthagonal/langchainex?utm_source=thinkingelixir&utm_medium=shownotes) – Existing Elixir library called langchainex.
- https://twitter.com/josevalim/status/1668726716947222528 (https://twitter.com/josevalim/status/1668726716947222528?utm_source=thinkingelixir&utm_medium=shownotes) – José talked about OpenAI's new function support
- https://openai.com/blog/function-calling-and-other-api-updates (https://openai.com/blog/function-calling-and-other-api-updates?utm_source=thinkingelixir&utm_medium=shownotes) – OpenAI blog announcing official function calling support
- https://dscout.com/ (https://dscout.com/?utm_source=thinkingelixir&utm_medium=shownotes)
- David is thinking about Oban and data migrations
- https://fly.io/phoenix-files/safe-ecto-migrations/ (https://fly.io/phoenix-files/safe-ecto-migrations/?utm_source=thinkingelixir&utm_medium=shownotes) – David wrote a guide on how to run Safe Ecto Migrations for production systems
- https://github.com/fly-apps/safe-ecto-migrations (https://github.com/fly-apps/safe-ecto-migrations?utm_source=thinkingelixir&utm_medium=shownotes) – Guide to Safe Ecto Migrations on Github
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @ThinkingElixir@genserver.social (https://genserver.social/ThinkingElixir)
- Email the show - show@thinkingelixir.com (mailto:show@thinkingelixir.com)
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @brainlid@genserver.social (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @dbern@genserver.social (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @cadebward@genserver.social (https://genserver.social/cadebward)

159: Langchain with Elixir and Safe Ecto Migrations

Title
159: Langchain with Elixir and Safe Ecto Migrations
Copyright
Release Date

flashback