How can I add AI to my app… Any suggestions?

I’m trying to add AI to an app I’ve built. It’s an ecommerce app using Laravel and MySQL. Here are a couple of features I’m thinking about:

  • Natural language search: For example, if a user says ‘Show me customers aged 30 from Europe’, the system would look through my data and show matching results.

  • A recommendation system: The app would suggest products to customers based on things they’ve bought before.

I was thinking of using the ChatGPT API, but I’ve heard that it could involve sharing my data. What other APIs should I check out, or are there any open-source projects I could use? What tutorials or resources would be helpful for someone new to AI?

I’ve never added AI to anything before, but I do know Laravel and a little bit of Java.

Welcome to the forum!

Guidelines for posting educational requests


Please follow these guidelines for your post:

  • Be detailed and clear – more info is better.
  • If asking for resources, be as descriptive as possible.
  • If offering resources, try to give a simple explanation.
  • Include links to videos, notebooks, repos, or any useful material.
Thanks for posting! If you have any questions, feel free to ask the moderators.

I am a bot. This message was posted automatically. If you need help, just contact the forum moderators.

You should check out the AI section on this forum. They’ll have plenty of tips on what you’re trying to do.

You’ll need a good user interface, an LLM API, and an agent that can search the database using user data.

The AI model might be able to guide you through setting this up if you have some basic coding skills.

There are also some pre-made agents that are almost ready to go with a little tweaking.

I’m not sure if you’d need to share your data with anyone. You might be able to set up an LLM to search your database directly and show results to users.

For recommendations, though, AI might not be necessary. You could store the categories of products people buy and use simple code to recommend the most popular ones. Or, if you want something fancier, you could use an algorithm that looks at multiple categories and recommends the best matching items.