Zep.Graph.CustomInstructions (Zep v1.0.0)

Copy Markdown View Source

Custom entity/edge extraction instructions for a user's or graph's graph - free-text guidance steering what Zep extracts during ingestion (e.g. "always extract monetary amounts as Money-labeled nodes").

Summary

Functions

Returns the custom instructions currently set for a user's or graph's graph.

Sets (replaces) the custom instructions for a user's or graph's graph.

Functions

get(client_or_opts, opts \\ [])

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

Returns the custom instructions currently set for a user's or graph's graph.

set(client_or_opts, instructions, opts \\ [])

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

Sets (replaces) the custom instructions for a user's or graph's graph.