mirror of https://github.com/hwchase17/langchain
Convert numpy arrays to lists in HuggingFaceEmbeddings (#714)
`SentenceTransformer` returns a NumPy array, not a `List[List[float]]` or `List[float]` as specified in the interface of `Embeddings`. That PR makes it consistent with the interface.pull/720/head
parent
97c3544a1e
commit
d4f719c34b
Loading…
Reference in New Issue