Package org.machanism.machai.bindex


package org.machanism.machai.bindex
MongoDB-backed persistence and semantic retrieval for Bindex metadata.

This package contains the MongoDB integration used to register, store, and retrieve Bindex documents.

Core responsibilities:

  • Persistence: storing a serialized Bindex JSON payload in a MongoDB document field (see BindexRepository.BINDEX_PROPERTY_NAME).
  • Registration: inserting (or replacing) Bindexes enriched with classification facets and a vector embedding used for semantic search.
  • Semantic retrieval: classifying a free-text query via an LLM, embedding that classification, and running MongoDB vector search to find relevant Bindexes.

Main entry points:

  • Picker for registering and semantically searching Bindexes.
  • BindexRepository for CRUD-style access to stored Bindex documents.
  • Classes
    Class
    Description
    MongoDB-backed repository for persisting and retrieving Bindex documents.
    Performs Bindex registration, lookup, and semantic retrieval using embeddings and MongoDB.