this post was submitted on 27 Oct 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 11 months ago
MODERATORS
 

Database question /answer with link

We have a community app with groups and would like to build a search function where users can ask: when is the next event, give me the messages posted by Erik, where can I find …

The information is stored in a table: post-test, posted-by etc.

We do not want to use OpenAI or any external apis. Is something like llama index too powerful or are there other solutions for this? And we want to receive the postId to direct the use to the post

top 2 comments
sorted by: hot top controversial new old
[–] AppointmentPatient98@alien.top 1 points 11 months ago

Regular llama might already work well. You can generate query with schema. Openai api is much cheaper if you don't have much scale.

[–] DBAdvice123@alien.top 1 points 10 months ago

I use Astra.datastax.com. It's built on Cassandra so it has the scale and latency requirements that would be needed. They also have a lot of great framework integrations. This video walks you through how to do what you're asking about: https://www.youtube.com/watch?v=wOAV3He6y4c