mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
[PR #114] [MERGED] modified embeddings return annotation #361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ollama/ollama-python/pull/114
Author: @N-Vlahovic
Created: 4/5/2024
Status: ✅ Merged
Merged: 4/24/2024
Merged by: @mxyng
Base:
main← Head:n-vlahovic/20240405-annotation-fix📝 Commits (1)
42f9f70modified embeddings return annotation📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
ollama/_client.py(+1 -1)📄 Description
Modified the annotation of the return statement in the
embeddingsendpoint fromSequence[float]toMapping[str, Sequence[float]].Reasoning:
{"embedding": [...]}🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.