Recommend Pattern LLM • AI Agents Framework

recommend_pattern_llm: Use LLM to recommend the best workflow pattern with reasoning.

recommend_pattern_llm

Method

</div>

This is a method of the WorkflowAutoGenerator class in the auto module.

Use LLM to recommend the best workflow pattern with reasoning.

Signature

python
def recommend_pattern_llm(topic: Optional[str]) -> Any

Parameters

ParamField Optional[str]

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

Returns

ResponseField Any

Pattern with reasoning and confidence score

Source

View on GitHub

praisonai/auto.py at line 1776


Related Documentation