evolving_ideas.strategies.scamper

evolving_ideas.strategies.scamper

Classes

ScamperMethod

A strategy for the SCAMPER brainstorming technique.

Module Contents

class evolving_ideas.strategies.scamper.ScamperMethod(llm_responder: evolving_ideas.infra.responder.LLMResponder, builder: evolving_ideas.prompts.builder.PromptBuilder | None = None, chat_logger: evolving_ideas.interface.presenters.ChatLogger | None = None)

Bases: evolving_ideas.strategies.base.MethodStrategy

A strategy for the SCAMPER brainstorming technique.

SCAMPER_STEPS = ['Substitute', 'Combine', 'Adapt', 'Modify', 'Put to another use', 'Eliminate', 'Reverse']
run(role: str, task: str, context: str) dict

Abstract method to run the strategy with the given parameters.

Parameters:
  • role (str) – The role of the AI.

  • task (str) – The task to be performed.

  • context (str) – Context for the idea.

Returns:

A dictionary containing the results of the strategy.

Return type:

dict