Syntropy.KnowledgeStore (syntropy v0.1.0)

Copy Markdown

ETS-backed scaffold knowledge store.

Summary

Functions

add(agent_id, item)

@spec add(String.t(), String.t()) :: :ok

add_many(agent_id, items)

@spec add_many(String.t(), [String.t()]) :: :ok

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_all(agent_id)

@spec get_all(String.t()) :: [String.t()]

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()