Package com.polarion.platform.ai.llm
Interface ILlmProvider
public interface ILlmProvider
Represents a provider for Large Language Model (LLM) services.
- Since:
- 3.25.12
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the unique identifier of this LLM provider.getLlm(ILlmContext context) Creates an LLM instance configured using the specified context.
-
Method Details
-
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
Creates an LLM instance configured using the specified context.- Throws:
LlmConfigurationException- if the provider configuration is invalid or incomplete
-