๐—ฆ๐—บ๐—ฎ๐—ฟ๐˜ ๐—ฆ๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐—ช๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด

I built a documentation site for an internal tool. Users wanted a search engine with understanding. They wanted to type a question and get the right answer.

Keyword search failed. It missed answers when users used different words. I tried NLP libraries. They added too much weight to the project. I tried local models. They needed a GPU for speed.

I stopped trying to host a model. I used an AI API instead.

Here is the process:

No fine-tuning needed. A good prompt and a few documents do the job.

The results:

Keep these tips in mind:

You do not need to be an expert to add AI. You only need the right API and a clear prompt.

Source: https://dev.to/__c1b9e06dc90a7e0a676b/i-needed-a-smart-search-so-i-called-an-ai-api-no-model-training-2aen