Skip to content

Commit a7ee2fc

Browse files
committed
fix: Z.AI manifest and class description typo
1 parent fca1e70 commit a7ee2fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

models/z_ai/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
type: plugin
22
version: 0.0.1
3-
author: langenius
3+
author: langgenius
44
name: z_ai
55
created_at: '2024-09-20T00:13:50.29298939-04:00'
66
description:

models/z_ai/models/text_embedding/text_embedding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class ZhipuAITextEmbeddingModel(_CommonZhipuaiAI, TextEmbeddingModel):
1212
"""
13-
Model class for ZhipuAI text embedding model.
13+
Model class for Z.AI text embedding model.
1414
"""
1515

1616
def _invoke(
@@ -72,7 +72,7 @@ def validate_credentials(self, model: str, credentials: dict) -> None:
7272
raise CredentialsValidateFailedError(str(ex))
7373

7474
def embed_documents(self, model: str, client: ZhipuAiClient, texts: list[str]) -> tuple[list[list[float]], int]:
75-
"""Call out to ZhipuAI's embedding endpoint.
75+
"""Call out to Z.AI's embedding endpoint.
7676
7777
Args:
7878
texts: The list of texts to embed.

0 commit comments

Comments
 (0)