embedding2bytes#

langchain_community.vectorstores.vdms.embedding2bytes(embedding: List[float] | None) bytes | None[source]#

Convert embedding to bytes.

Parameters:

embedding (List[float] | None)

Return type:

bytes | None