Intel’s Visual Data Management System (VDMS) is a storage solution for efficient access of big-”visual”-data that aims to achieve cloud scale by searching for relevant visual data via visual metadata stored as a graph and enabling machine friendly enhancements to visual data for faster access. VDMS is licensed under MIT. For more information on VDMS
, visit this page, and find the LangChain API reference here.
VDMS supports:
langchain-vdms
integration package and deploy a VDMS server via the publicly available Docker image.
For simplicity, this notebook will deploy a VDMS server on local host using port 55555.
VDMS
without any credentials.
To enable automated tracing of your model calls, set your LangSmith API key:
add_documents
does not check whether the ids are unique. For this reason, use upsert
to delete existing id entries prior to adding.
id
. Here, all documents are removed since no ID is provided.
k=3
) related to a query and also return the score along with the document.
k=3
) related to a query and also return the score along with the document.
k=3
) related to a query and also return the score along with the document.
get_by_constraints
method. A dictionary is used to filter metadata. Here we retrieve the document where langchain_id = "2"
and remove it from the vector store.
NOTE: id
was generated as additional metadata as an integer while langchain_id
(the internal ID) is an unique string for each entry.
id
to filter for a range of IDs since it is an integer.