Module de.seggebaeing.sqlanalyzer
Interface Promptable
- All Known Implementing Classes:
AbstractLLMHandler
,ClaudePromptHandler
,DeepSeekPromptHandler
,GeminiPromptHandler
,NumericalDummy
,OpenAIPromptHandler
,RateLimitedNumericalDummy
,RateLimitedSQLDummy
,SQLDummy
public interface Promptable
Abstraction for a component capable of generating output from a prompt.
Implementations represent different Large Language Model (LLM) providers or APIs that can process natural language input and return a response. Some implementations may act as dummies or mocks for testing or offline usage, mimicking the behavior of real models without calling an external service.
- Since:
- 1.0
- Author:
- Felix Seggebäing
-
Method Summary
-
Method Details
-
prompt
Generates a response based on the given input.- Parameters:
input
- the input text to processmodel
- the model identifierapiKey
- the API key used for authenticationtemperature
- the sampling temperature influencing creativity of responses- Returns:
- the generated response text
- Throws:
LLMException
- if the generation fails
-