fabricatio_mock.models.mock_role
Mock class representing a test role with LLM capabilities.
This class combines the base Role class with LLM usage capabilities for testing purposes. It provides default implementations and test values for LLM-related attributes.
Classes
Test class combining Role and UseLLM functionality. |
|
Test class combining LLMTestRole and Propose functionality. |
Module Contents
- class fabricatio_mock.models.mock_role.LLMTestRole(/, **data: Any)[source]
Bases:
fabricatio_core.Role,fabricatio_core.capabilities.usages.UseLLMTest class combining Role and UseLLM functionality.
A concrete implementation of Role mixed with UseLLM capabilities for testing purposes.
- class fabricatio_mock.models.mock_role.ProposeTestRole(/, **data: Any)[source]
Bases:
LLMTestRole,fabricatio_core.capabilities.propose.ProposeTest class combining LLMTestRole and Propose functionality.