Libraries for AI driven chat-bot?

Hello,

I am looking for Elixir libraries to build a chat / recommendations bot. It should be AI driven (Open AI or Gemini) accelerated by data (about locations and businesses) stored in RDBMS.

Thank you.

I just Googled Elixir chatgpt and got this:

Seems like it suits your requirements.

1 Like

I’m aware of 3 libraries at the moment:

  • langchain | Hex - I didn’t try this one myself, but looking at the docs it has a lot of stuff that’ll help with tools calls. That’d be my first choice.
  • instructor | Hex - This one is mostly for structured outputs, but can be useful nonetheless. Make sure to check out the main branch, as all the juicy recent changes haven’t been published yet
  • instructor_lite | Hex my fork of instructor. I’d say if you find yourself struggling to write custom stuff with instructor, take a look at this one. It’s simpler and easier to embed into your own code.
2 Likes

Check out instructor_ex - even if it doesn’t do quite what you want it should provide some inspiration / examples:

1 Like

Thank you all, I appreciate that.