GenAI.ModelMetadata.ProviderBehaviour behaviour (GenAI Core v0.2.0)

Link to this section Summary

Link to this section Callbacks

Link to this callback

get(scope, model_name)

@callback get(scope :: module(), model_name :: String.t()) ::
  {:ok, term()} | {:error, term()}
Link to this callback

get(scope, model_name, options)

@callback get(scope :: module(), model_name :: String.t(), options :: term()) ::
  {:ok, term()} | {:error, term()}

Link to this section Functions

Link to this function

get(handler, scope, model)

Link to this function

get(handler, scope, model, options)