subbu

subbu

Any LangChain equivalent in Elixir?

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?

Most Liked

ErionS

ErionS

I came across an interesting library called Train that implements some of the core concepts from LangChain in Elixir.

tensiondriven

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.)

abhinavs

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)

Last Post!

Where Next?

Popular in Questions Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54921 245
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42533 114
New

We're in Beta

About us Mission Statement