Zep.Graph.Observations (Zep v1.0.0)

Copy Markdown View Source

Observations - standalone, timestamped notes attached directly to a user's or graph's graph outside of the thread/episode ingestion flow.

Summary

Functions

Adds an observation to a user's or graph's graph.

Lists observations for a user's or graph's graph, paginated.

Functions

add(client_or_opts, content, opts \\ [])

@spec add(Zep.Client.t() | keyword(), String.t(), keyword()) ::
  {:ok, term()} | {:error, term()}

Adds an observation to a user's or graph's graph.

list(client_or_opts, opts \\ [])

@spec list(
  Zep.Client.t() | keyword(),
  keyword()
) :: {:ok, term()} | {:error, term()}

Lists observations for a user's or graph's graph, paginated.