Packages

Generative AI Wrapper: access multiple apis through single standardized interface.

Current section

Files

Jump to
genai lib gen_ai graph node.ex
Raw

lib/gen_ai/graph/node.ex

defmodule GenAI.Graph.Node do
@vsn 1.0
defstruct [
identifier: nil,
content: nil,
vsn: @vsn
]
defimpl GenAi.Graph.NodeProtocol do
def apply(node, state)
def apply(_, state) do
{:ok, state}
end
end
end