AI for Auto suggestion in text field

0
Hello Team,   I am trying to implement auto suggestions in text field using AI. For e.g. If I enter Mendix is low code platform, As I type Mendix it should auto suggest remaining sentence.  I did Open AI Configuration. AI is totally new for me. I am bit confused which will be the starting point? Do I need to create KnowledgeBase using PGVector? (I tried to create container using Docker and will connect it with Postgre PGAdmin).    Do I need ML Kit?   Please suggest steps to proceed further.
asked
2 answers
1

Hi Sidheshwari,

as per you usecase you need two things

1) LLM - OpenAI, Aws bedrock, Azure OpenAI which could give you intelligent text output based

2)Knowledge base - It is vector database where your data (based on which suggestion will be there on typing) will be stored as vector

vector provides semantic search based on context

 

Since you have already done OpenAI config, now you need Vector DB

OpenAI provides embedding api which converts your data to vector and store in db

 

please find below modules

PgVector

 

answered
0

Hi, 

docker is easiest one. You can also try postgres locally, it gives you more control as well.

 

You can also refer to this article for adoption of AI and simple use case AI Agents in mendix - Practical guide

answered