Documentation
¶
Overview ¶
Package team implements namespaced team memory sharing. Team memories are stored in the global DB (~/.yaad/yaad.db) with a team_id namespace. Private memories stay in the project DB; shared memories are promoted to the team namespace.
Index ¶
- func InjectTeamContext(eng *engine.Engine, teamStore *storage.Store, teamID, query string, limit int) ([]*storage.Node, error)
- func ListTeamMemories(store *storage.Store, teamID string) ([]*storage.Node, error)
- func Share(src *storage.Store, dst *storage.Store, in ShareInput) (*storage.Node, error)
- type ShareInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectTeamContext ¶
func InjectTeamContext(eng *engine.Engine, teamStore *storage.Store, teamID, query string, limit int) ([]*storage.Node, error)
InjectTeamContext adds team memories to a recall result.
func ListTeamMemories ¶
ListTeamMemories returns all memories for a given team_id from the global store.
Types ¶
Click to show internal directories.
Click to hide internal directories.