View Source HyperLLM.Provider behaviour (hyper_llm v0.4.0)

Defines the behaviour that all provider modules must implement.

Summary

Callbacks

completion(messages, config)

@callback completion(messages :: [any()], config :: map()) ::
  {:ok, String.t() | {:error, String.t()}}

model_supported?(t)

@callback model_supported?(String.t()) :: boolean()