helpers/vector_db.py.dox.md
vector_db.py helper module.vector_db.py because this directory is intentionally flat.vector_db.py owns the runtime implementation.vector_db.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.MyFaiss (FAISS)
get_by_ids(self, ids: Sequence[str]) -> List[Document]async aget_by_ids(self, ids: Sequence[str]) -> List[Document]get_all_docs(self) -> dict[str, Document]VectorDB (no explicit base class)
async search_by_similarity_threshold(self, query: str, limit: int, threshold: float, filter: str=...)async search_by_metadata(self, filter: str, limit: int=...) -> list[Document]async insert_documents(self, docs: list[Document])async delete_documents_by_ids(self, ids: list[str])format_docs_plain(docs: list[Document]) -> list[str]cosine_normalizer(val: float) -> floatget_comparator(condition: str)agent, faiss, helpers, langchain.embeddings, langchain.storage, langchain_community.docstore.in_memory, langchain_community.vectorstores, langchain_community.vectorstores.utils, langchain_core.documents, simpleeval, typing.self.get_by_ids, agent.get_embedding_model, self._get_embeddings, faiss.IndexFlatIP, MyFaiss, get_comparator, self.db.get_all_docs, InMemoryByteStore, CacheBackedEmbeddings.from_bytes_store, self.db.asearch, comparator, guids.generate_id, zip, self.db.add_documents, self.db.aget_by_ids, simple_eval, self.embeddings.embed_query, InMemoryDocstore, self.db.adelete.No child DOX files.