adk_llm behaviour (erlang_adk v0.1.0)

View Source

Summary

Functions

Dispatch the call to the specified provider.

Types

config/0

-type config() :: map().

memory/0

-type memory() :: [map()].

tools/0

-type tools() :: [module()].

Callbacks

generate/3

-callback generate(Config :: config(), Memory :: memory(), Tools :: tools()) ->
                      {ok, binary() | string()} | {tool_calls, list()} | {error, term()}.

Functions

generate(Config, Memory, Tools)

Dispatch the call to the specified provider.