Skip to content

Commit cc1fca0

Browse files
authored
Merge pull request #145 from jingfelix/fix/async-client-embed-annotation
fix: annotation in AsyncClient.embedding
2 parents 8b91188 + 2ac751f commit cc1fca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ollama/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ async def embeddings(
474474
prompt: str = '',
475475
options: Optional[Options] = None,
476476
keep_alive: Optional[Union[float, str]] = None,
477-
) -> Sequence[float]:
477+
) -> Mapping[str, Sequence[float]]:
478478
response = await self._request(
479479
'POST',
480480
'/api/embeddings',

0 commit comments

Comments
 (0)