subbu
LangChain (a Python library to augment LLMs) has become quite popular among people building some cool AI tools. Agents and Memory are probably it’s most useful tools. Anybody building something similar in Elixir land?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 9- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
FaizanN
It would be cool to have such an initiative but it seems like a lot of work to have feature parity.
Do you have any ideas how it could be achieved faster and efficiently?
tensiondriven
I think it would be fine to take the python library as a dependency and provide basic interop by copying the API. I know Google used some kind of code generation to create their Elixir deps for the massive Google API - not sure how they went about it, but in theory one could use codegen to do this.
Or put ChatGPT on the job; use AutoGPT to generate an Elixir library. (Though in my experience ChatGPT isn’t the best with Elixir.)
noshaymarauda
It’s awful for elixir in my experience as well. So what do we do here? Elixir purging interop not the best but elixir is too good to not have open access to langchain. What are you guys gonna do instead? Just use python?
abhinavs
I recently completed the langchain course on deepLearning.ai - while to me, the API seemed unnecessarily tedious and complex, but use-cases it solves are essential. In fact, I have been asked for a few similar things in a product I’m building on top of openai.
What is the community’s take on a library like langchain and what’s Elixir’s way of implementing the API?
(I did see langchainex project on github - it seems promising, however, I felt it to be very Pythonish)
rafidude
I had spent a few weeks/months learning Elixir in 2022. After the release of ChatGPT, I started developing Large Language Model (LLM) based AI applications. Given that my knowledge of Elixir was limited, I chose to use a Python based library called LangChain.
LangChain is a reasonably well-designed wrapper or abstraction around existing Python libraries that makes developing LLM based applications easier. The difficult/tricky part of creating LangChain is the various prompts baked into its various functions.
I believe creating/releasing a port of LangChain in Elixir could greatly help the ecosystem.
Any thoughts?
subbu
OpenAI released function calls a couple days ago, it solves most of the probelms LangChain was solving, but more elegantly. You can call external functions/API from within your app using this. This allows you to call OpenAI recursively as well. Here are some examples:
https://twitter.com/maccaw/status/1669367224694607875
Jose Valim tweeted about live streaming this. I really hope he covers this:
https://twitter.com/josevalim/status/1668726716947222528?s=20
foucist
LangChain also works with Llama.cpp and other OpenAI alternatives or self-hosted LLMs. so I think it makes sense to have something similar for elixir. If we can make it easy to work with other LLMs and be more performant than LangChain, that would be very attractive indeed!
ErionS
I came across an interesting library called Train that implements some of the core concepts from LangChain in Elixir.
neilberkman
also see: Langchain - An Elixir LangChain-like library for integrating with LLMs like ChatGPT