acrolink

acrolink

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.

Showing Posts 1 to 7

arcyfelix

arcyfelix

I just Googled Elixir chatgpt and got this:

Seems like it suits your requirements.

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

Thank you all, I appreciate that.

acrolink

acrolink OP

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

acrolink

acrolink OP

In the meantime, I have started experimenting with langchain. So far so good.

waseigo

waseigo

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

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
Onor.io
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
jaybe78
Hello, I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter). The diffic...
New
Trolleger
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
widianto
I think I’ve found a small improvement I could contribute to <%= web_namespace %>.CoreComponents (installer/templates/phx_web/compo...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews