Skip to main content

recommend_pattern_llm

Method
This is a method of the WorkflowAutoGenerator class in the auto module.
Use LLM to recommend the best workflow pattern with reasoning.

Signature

def recommend_pattern_llm(topic: str) -> PatternRecommendation

Parameters

topic
str
The task description (uses self.topic if not provided)

Returns

Returns
PatternRecommendation
Pattern with reasoning and confidence score