mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-15 19:38:57 +00:00
Tests failing on master with > FAILED tests/unit_tests/embeddings/test_ovhcloud.py::test_ovhcloud_embed_documents - ValueError: Request failed with status code: 401, {"message":"Bad token; invalid JSON"}
9 lines
287 B
Python
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)
|