Skip to content

Commit d374503

Browse files
authored
fix implementation to return embedding (microsoft#805)
calling the memory record's embedding property throws `RecursionError: maximum recursion depth exceeded` return the attribute instead of the property Signed-off-by: hsm207 <[email protected]>
1 parent 4a0e271 commit d374503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/semantic_kernel/memory/memory_record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(
5050

5151
@property
5252
def embedding(self) -> ndarray:
53-
return self.embedding
53+
return self._embedding
5454

5555
@staticmethod
5656
def reference_record(

0 commit comments

Comments
 (0)