Vald(
self,
embedding: Embeddings,
host: str = 'localhost',
port: intVald vector database.
To use, you should have the vald-client-python python package installed.
Example:
.. code-block:: python
from langchain_community.embeddings import HuggingFaceEmbeddings from langchain_community.vectorstores import Vald
model_name = "sentence-transformers/all-mpnet-base-v2" texts = ['foo', 'bar', 'baz'] vald = Vald.from_texts( texts=texts, embedding=HuggingFaceEmbeddings(model_name=model_name), host="localhost", port=8080, skip_strict_exist_check=False, )