mirror of
https://github.com/ollama/ollama-python.git
synced 2026-05-01 11:48:17 +08:00
modified embeddings return annotation
This commit is contained in:
parent
2fde317490
commit
42f9f70bae
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user