We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ca7dc commit cc0ab83Copy full SHA for cc0ab83
jigsawstack/embedding_v2.py
@@ -15,6 +15,9 @@ class EmbeddingV2Params(TypedDict):
15
url: NotRequired[str]
16
file_store_key: NotRequired[str]
17
token_overflow_mode: NotRequired[Literal["truncate", "error"]]
18
+ dimensions: NotRequired[int]
19
+ instruction: NotRequired[str]
20
+ query: NotRequired[bool]
21
speaker_fingerprint: NotRequired[bool]
22
23
@@ -44,7 +47,9 @@ def __init__(
44
47
@overload
45
48
def execute(self, params: EmbeddingV2Params) -> EmbeddingV2Response: ...
46
49
- def execute(self, blob: bytes, options: EmbeddingV2Params = None) -> EmbeddingV2Response: ...
50
+ def execute(
51
+ self, blob: bytes, options: EmbeddingV2Params = None
52
+ ) -> EmbeddingV2Response: ...
53
54
def execute(
55
self,
0 commit comments