modified embeddings return annotation

This commit is contained in:
Niko 2024-04-05 11:56:16 +02:00
parent 2fde317490
commit 42f9f70bae

View File

@ -194,7 +194,7 @@ class Client(BaseClient):
prompt: str = '',
options: Optional[Options] = None,
keep_alive: Optional[Union[float, str]] = None,
) -> Sequence[float]:
) -> Mapping[str, Sequence[float]]:
return self._request(
'POST',
'/api/embeddings',