Skip to content

Commit

Permalink
fix: argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
hppRC committed Dec 9, 2024
1 parent 672e8ba commit 6428c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/embedders/test_dp_sbert.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_encode(self):
assert embeddings.shape == (OUTPUT_DIM,)

def test_encode_with_prompt(self):
embeddings = self.model.encode("任意のテキスト", prompt="プロンプト")
embeddings = self.model.encode("任意のテキスト", prefix="プロンプト")
assert isinstance(embeddings, np.ndarray)
assert embeddings.shape == (OUTPUT_DIM,)

Expand Down

0 comments on commit 6428c19

Please sign in to comment.