Source code for purrfectmeow.meeze.base

import numpy
from typing import List
from langchain_core.documents import Document

from purrfectmeow.meeze.vectorstore import SimpleInMemoryVectorStore

[docs] class WichienMaat: """ A ligthweight and efficient vector-based semantic search utility for document retrieval. This class for performing similarity searches between a query embedding and a set of document embeddings. Ideal for use cases involving small- to medium-scale semantic search applications, it abstracts the search logic while maintaining flexibility and interpretability of results. """