mirror of
https://github.com/ollama/ollama-python.git
synced 2026-05-01 11:48:17 +08:00
fix: annotation in AsyncClient.embedding
Signed-off-by: jingfelix <jingfelix@outlook.com>
This commit is contained in:
parent
e403d748a3
commit
2ac751fb79
@ -474,7 +474,7 @@ class AsyncClient(BaseClient):
|
||||
prompt: str = '',
|
||||
options: Optional[Options] = None,
|
||||
keep_alive: Optional[Union[float, str]] = None,
|
||||
) -> Sequence[float]:
|
||||
) -> Mapping[str, Sequence[float]]:
|
||||
response = await self._request(
|
||||
'POST',
|
||||
'/api/embeddings',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user