Skip to content

Conversation

hsm207
Copy link
Contributor

@hsm207 hsm207 commented May 4, 2023

Motivation and Context

  1. Why is this change required?
    because calling the memory record's embedding property throws RecursionError: maximum recursion depth exceeded
  2. What problem does it solve?
    calling the memory record's embedding property throws RecursionError: maximum recursion depth exceeded
  3. What scenario does it contribute to?
    people calling the embedding attribute of a memory memory record
  4. If it fixes an open issue, please link to the issue here.
    NA

Description

return the attribute instead of the property

Contribution Checklist

@github-actions github-actions bot added the python Pull requests for the Python Semantic Kernel label May 4, 2023
@hsm207 hsm207 marked this pull request as ready for review May 4, 2023 09:19
Copy link
Contributor

@shawncal shawncal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find! Thank you

@shawncal shawncal force-pushed the memory-record-loop branch from 5d439f5 to ec9fc0e Compare May 6, 2023 04:20
@shawncal shawncal enabled auto-merge (squash) May 6, 2023 04:21
@shawncal shawncal merged commit 5145182 into microsoft:main May 6, 2023
@hsm207 hsm207 deleted the memory-record-loop branch May 6, 2023 08:27
codebrain pushed a commit to searchpioneer/semantic-kernel that referenced this pull request May 16, 2023
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]>
dehoward pushed a commit to lemillermicrosoft/semantic-kernel that referenced this pull request Jun 1, 2023
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants