mirror of https://github.com/hwchase17/langchain
community: move test to integration tests (#23178)
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"}pull/23085/head^2
parent
4fe8403bfb
commit
ca798bc6ea
@ -0,0 +1,8 @@
|
||||
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)
|
Loading…
Reference in New Issue