Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssmith-pc committed Sep 13, 2024
1 parent d117b6f commit 819586d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/inference/test_rerank.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class TestInferencePluginRerank:
def test_rerank(api_key):
def test_rerank(self, api_key):
pc = Pinecone(api_key=api_key)

model = "bge-reranker-v2-m3"
Expand All @@ -21,7 +21,7 @@ def test_rerank(api_key):
assert isinstance(result.usage.rerank_units, int)
assert result.usage.rerank_units == 1

def test_rerank_grpc(api_key):
def test_rerank_grpc(self, api_key):
pc = PineconeGRPC(api_key=api_key)

model = "bge-reranker-v2-m3"
Expand Down

0 comments on commit 819586d

Please sign in to comment.