acrolink

acrolink

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.

Marked As Solved

martosaur

martosaur

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.

Also Liked

arcyfelix

arcyfelix

I just Googled Elixir chatgpt and got this:

Seems like it suits your requirements.

al2o3cr

al2o3cr

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

https://github.com/thmsmlr/instructor_ex

acrolink

acrolink

@martosaur @al2o3cr @arcyfelix

Thanks for sharing, all helpful. I will tell you more about our needs so you can hopefully help me to choose better between the different libraries.

We are building a chat-bot which should help people choose a restaurant to dine at or to order food delivery. Users will be authenticated and data from previous chats will be stored in RDBMS in order to fine-tune future suggestions by the chat-bot.

The chat session will have stages:

A. Understand if users want to dine at a restaurant or want to order delivery.
B. Understand cuisine type / preference of user.
C. Provider suggestions based on AI or/and data about restaurants we have at RDBMS.
D. Help user make an order online using 3rd party API’s

What do you think, which library can suit these needs better? Thank you.

Last Post!

waseigo

waseigo

In case you are using self-hosted LLMs with ollama, I’ve written this API wrapper: ollamex | Hex

Where Next?

Popular in Questions Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New

Other popular topics 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
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
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
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40165 209
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New

We're in Beta

About us Mission Statement