fixml.modules.workflow.runners.base
Classes
Abstract base class for running langchain pipelines. |
|
Abstract base class for runners which will involve prompt injections |
Module Contents
- class fixml.modules.workflow.runners.base.PipelineRunner
Bases:
abc.ABCAbstract base class for running langchain pipelines.
This class object assembles prompt and to obtain response from LLMs.
- abstract run()
- class fixml.modules.workflow.runners.base.PromptInjectionRunner(llm: langchain_core.language_models.LanguageModelLike, prompt_format: fixml.modules.workflow.prompt_format.PromptFormat, repository: fixml.modules.code_analyzer.repo.Repository, checklist: fixml.modules.checklist.checklist.Checklist)
Bases:
PipelineRunner,abc.ABCAbstract base class for runners which will involve prompt injections from checklists and files from a repository. i.e. class object to use a prompt template, constructing a complete prompt by injecting context such as checklist items and test files, then pass the prompt to LLM.