Skip to content

Commit

Permalink
Merge pull request #114 from N-Vlahovic/n-vlahovic/20240405-annotatio…
Browse files Browse the repository at this point in the history
…n-fix

modified embeddings return annotation
  • Loading branch information
mxyng authored Apr 25, 2024
2 parents 2fde317 + 42f9f70 commit d38fe12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ollama/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def embeddings(
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',
Expand Down

0 comments on commit d38fe12

Please sign in to comment.