evolving_ideas.strategies.scamper ================================= .. py:module:: evolving_ideas.strategies.scamper .. autoapi-nested-parse:: evolving_ideas.strategies.scamper Classes ------- .. autoapisummary:: evolving_ideas.strategies.scamper.ScamperMethod Module Contents --------------- .. py:class:: ScamperMethod(llm_responder: evolving_ideas.infra.responder.LLMResponder, builder: Optional[evolving_ideas.prompts.builder.PromptBuilder] = None, chat_logger: Optional[evolving_ideas.interface.presenters.ChatLogger] = None) Bases: :py:obj:`evolving_ideas.strategies.base.MethodStrategy` A strategy for the SCAMPER brainstorming technique. .. py:attribute:: SCAMPER_STEPS :value: ['Substitute', 'Combine', 'Adapt', 'Modify', 'Put to another use', 'Eliminate', 'Reverse'] .. py:method:: run(role: str, task: str, context: str) -> dict Abstract method to run the strategy with the given parameters. :param role: The role of the AI. :type role: str :param task: The task to be performed. :type task: str :param context: Context for the idea. :type context: str :return: A dictionary containing the results of the strategy. :rtype: dict