Skip to content

Properties#14

Open
augustas1 wants to merge 3 commits intomainfrom
properties
Open

Properties#14
augustas1 wants to merge 3 commits intomainfrom
properties

Conversation

@augustas1
Copy link
Copy Markdown
Collaborator

@augustas1 augustas1 commented May 4, 2026

Add properties support:

  • when adding memories
  • as a search filter
  • remove conversation_id as it's part of properties now

@augustas1 augustas1 requested a review from a team May 4, 2026 12:37
Copy link
Copy Markdown

@orca-security-eu orca-security-eu Bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Comment thread src/engram/_resources/memories.py Outdated
*,
query: str,
topics: list[str] | None = None,
topics: _Topics = None,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think we want to be using underscore (~private) types as type hints on what are meant to be external methods

Comment thread src/engram/_serialization/_builders.py Outdated
return {"conversation": conversation}


def _serialize_topic(topic: TopicSelector) -> str | dict[str, Any]:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could this be str | dict[str, str | None] I think? Just to avoid the Any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants