HelgeSverre / mindwave

[WIP] 🧠 Toolkit for building AI features into your Laravel app.
https://mindwave.no
MIT License
68 stars 7 forks source link

How to use with data in mysql? #14

Closed faizananwerali closed 1 year ago

faizananwerali commented 1 year ago

I have many tables in MySQL, now I want to search in it by asking a question in the chatbot. How do I implement automatically adding data from MySQL to this? so the questions can be answered in the chatbot on this data.

Like I have the users table and User Model, which has around 30 columns. Now when clients or admins question any information from the users table in the chatbot then it should be able to answer it.

similarly it should be able to answer about all the tables in the database.

HelgeSverre commented 1 year ago

Working on a new release where this usecase will be easier, but essentially, you can do this today by using a custom tool that takes a aearch query as input, and returns a csv list of results from your database based on the search query.