You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/integration_tests/test_ovhcloud.py

9 lines
287 B
Python

from langchain_community.embeddings.ovhcloud import OVHCloudEmbeddings
def test_ovhcloud_embed_documents() -> None:
llm = OVHCloudEmbeddings(model_name="multilingual-e5-base")
docs = ["Hello", "World"]
output = llm.embed_documents(docs)
assert len(output) == len(docs)