July 16, 2021 by Zilliz
Open-source communities are creative and collaborative spaces. In that vein, the Milvus open-source community recently created MilMil—a Milvus FAQ chatbot built by and for Milvus users. MilMil is available 24/7 at Milvus.io to answer common questions about Milvus, the world's most advanced open-source vector database.
This question answering system not only helps solve common problems Milvus users encounter more quickly, but identifies new problems based on user submissions. MilMil's database includes questions users have asked since the project was first released under an open-source license in 2019. Questions are stored in two collections, one for Milvus 1.x and earlier and another for Milvus 2.0.
MilMil is currently only available in English.
MilMil relies on the sentence-transformers/paraphrase-mpnet-base-v2 model to obtain vector representations of the FAQ database, then Milvus is used for vector similarity retrieval to return semantically similar questions.
First, the FAQ data is converted into semantic vectors using BERT, a natural language processing (NLP) model. The embeddings are then inserted into Milvus and each one assigned a unique ID. Finally, the questions and answers are inserted into PostgreSQL, a relational database, together with their vector IDs.
When users submit a question, the system converts it into a feature vector using BERT. Next it searches Milvus for five vectors that are most similar to the query vector and retrieves their IDs. Finally, the questions and answers that correspond with the retrieved vector IDs are returned to the user.
See the question answering system project in the Milvus bootcamp to explore the code used to build AI chatbots.
To chat with MilMil, navigate to any page on Milvus.io and click the bird icon in the lower-right corner. Type your question into the text input box and hit send. MilMil will get back to you in milliseconds! Additionally, the dropdown list in the upper-left corner can be used to switch between technical documentation for different versions of Milvus.
After submitting a question, the bot immediately returns three questions that are semantically similar to the query question. You can click "See answer" to browse potential answers to your question, or click "See more" to view more questions related to your search. If a suitable answer is unavailable, click "Put in your feedback here" to ask your question along with an email address. Help from the Milvus community will arrive shortly!
Give MilMil a try and let us know what you think. All questions, comments, or any form of feedback are welcome.