mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
infra: temp skip oai embeddings test (#25148)
This commit is contained in:
parent
a4086119f8
commit
0b4608f71e
@ -2,6 +2,7 @@
|
||||
|
||||
import numpy as np
|
||||
import openai
|
||||
import pytest
|
||||
|
||||
from langchain_openai.embeddings.base import OpenAIEmbeddings
|
||||
|
||||
@ -32,6 +33,7 @@ def test_langchain_openai_embeddings_dimensions() -> None:
|
||||
assert len(output[0]) == 128
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="flaky")
|
||||
def test_langchain_openai_embeddings_equivalent_to_raw() -> None:
|
||||
documents = ["disallowed special token '<|endoftext|>'"]
|
||||
embedding = OpenAIEmbeddings()
|
||||
@ -46,6 +48,7 @@ def test_langchain_openai_embeddings_equivalent_to_raw() -> None:
|
||||
assert np.isclose(lc_output, direct_output).all()
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="flaky")
|
||||
async def test_langchain_openai_embeddings_equivalent_to_raw_async() -> None:
|
||||
documents = ["disallowed special token '<|endoftext|>'"]
|
||||
embedding = OpenAIEmbeddings()
|
||||
|
Loading…
Reference in New Issue
Block a user