Interface ILlmProvider


public interface ILlmProvider
Represents a provider for Large Language Model (LLM) services.
Since:
3.25.12
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the unique identifier of this LLM provider.
    Creates an LLM instance configured using the specified context.
  • Method Details

    • getId

      @NotNull String getId()
      Returns the unique identifier of this LLM provider.

      The identifier must follow these rules:

      • Can contain only letters, numbers and underscores ('_')
      • Must be unique among all the LLM providers in the system
    • getLlm

      @NotNull ILlm getLlm(@NotNull ILlmContext context)
      Creates an LLM instance configured using the specified context.
      Throws:
      LlmConfigurationException - if the provider configuration is invalid or incomplete