mirror of
https://github.com/kharonsec/ollama-python
synced 2026-05-10 00:52:32 +02:00
Merge pull request #145 from jingfelix/fix/async-client-embed-annotation
fix: annotation in AsyncClient.embedding
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user