mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-08-27 21:40:30 +02:00
remove additional reflexion support
This commit is contained in:
@@ -20,11 +20,6 @@ class AbstractTextGenerationCompletionService(abc.ABC):
|
||||
"""Enable RAG context security guidelines"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
def with_reflexion_guardrails(self) -> 'AbstractTextGenerationCompletionService':
|
||||
"""Apply security guardrails using the reflexion technique"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
def is_chain_of_thought_enabled(self) -> bool:
|
||||
raise NotImplementedError
|
||||
@@ -33,10 +28,6 @@ class AbstractTextGenerationCompletionService(abc.ABC):
|
||||
def is_rag_context_enabled(self) -> bool:
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
def is_reflexion_enabled(self) -> bool:
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
def invoke(self, user_prompt: str) -> AbstractTextGenerationCompletionResult:
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user