Feline.Services.LLM behaviour (feline v0.1.0-rc.1)

Copy Markdown View Source

Behaviour for LLM services. Processes LLM context frames and produces text output frames (LLMTextFrame, LLMFullResponseStartFrame, etc.).

Summary

Callbacks

process_context(context, state)

@callback process_context(context :: term(), state :: term()) ::
  {:ok, output_frames :: [struct()], state :: term()}