Contents Menu Expand Light mode Dark mode Auto light/dark mode
Council 0.0.9
Light Logo Dark Logo
Council 0.0.9

Introduction

  • Welcome
  • Community
  • Key Features
  • Key Concepts

Getting Started

  • Quickstart
  • First Example

Use Cases

  • Multi Chain Agent
  • LlamaIndex integration
  • Langchain LLM integration

Tutorials

  • Marketing Assistant
  • Financial Analyst Agent
  • Research Writing Assistant

Reference

  • Agents
    • Agent
    • AgentResult
  • Chains
    • Chain
  • Contexts
    • AgentContext
    • ChainContext
    • ChainHistory
    • ChatHistory
    • ChatMessage
    • ChatMessageKind
    • IterationContext
    • MessageCollection
    • ScoredChatMessage
    • SkillContext
  • Controllers
    • BasicController
    • ControllerBase
    • ExecutionUnit
    • LLMController
  • Evaluators
    • BasicEvaluator
    • EvaluatorBase
    • LLMEvaluator
  • LLM
    • AzureLLM
    • AzureLLMConfiguration
    • LLMBase
    • LLMConfigurationBase
    • LLMMessage
    • LLMMessageRole
    • OpenAILLM
    • OpenAILLMConfiguration
  • Runners
    • Budget
    • Errors
    • If
    • LoopRunnerBase
    • Parallel
    • ParallelFor
    • RunnerBase
    • RunnerExecutor
    • Sequential
    • SkillRunnerBase
  • Scorers
    • LLMSimilarityScorer
    • ScorerBase
    • ScorerException
  • Skills
    • Google
      • GoogleNewsSkill
      • GoogleSearchSkill
    • LLMSkill
    • SkillBase
  • Utils
    • Option
    • OptionException

Contributing

  • Contributing
Back to top
Edit this page

If#

class council.runners.If(predicate: Callable[[ChainContext, Budget], bool], runner: RunnerBase)[source]#

Bases: RunnerBase

Runner that executes only if the predicate returns True

Next
LoopRunnerBase
Previous
Errors
Made with Furo
On this page
  • If
    • If