pseudo-code for fluent text generation service call

This commit is contained in:
Adam Wilson
2025-07-11 15:51:01 -06:00
parent a647060644
commit 36820f9c54
2 changed files with 57 additions and 22 deletions
@@ -6,19 +6,19 @@ from src.text_generation.domain.abstract_guidelines_processed_completion import
class AbstractGenerativeAiSecurityGuidelinesService(abc.ABC):
@abc.abstractmethod
def for_prompt(self, prompt: str):
raise NotImplementedError
return self
@abc.abstractmethod
def skip_guidelines(self):
raise NotImplementedError
return self
@abc.abstractmethod
def use_chain_of_thought(self):
raise NotImplementedError
return self
@abc.abstractmethod
def use_examples_from_rag(self):
raise NotImplementedError
return self
@abc.abstractmethod
def apply(self) -> AbstractGuidelinesProcessedCompletion: