Jidoka.Memory.RecallRequest (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Request sent to a memory store before prompt assembly.

Summary

Types

t()

@type t() :: %Jidoka.Memory.RecallRequest{
  agent_id: binary(),
  limit: integer(),
  metadata: map(),
  query: binary(),
  scope: (:agent | :session) | binary(),
  session_id: nil | nil | binary()
}

Functions

new(attrs)

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs)

@spec new!(keyword() | map()) :: t()

schema()

@spec schema() :: Zoi.schema()