langchain/experimental/autonomous_agents/baby_agi/baby_agi.py/BabyAGI/execute_task
class BabyAGI:    def execute_task(self, objective: str, task: str, k: int = 5) -> str:
        """Execute a task."""
        context = self._get_top_tasks(query=objective, k=k)
        return self.execution_chain.run(
            objective=objective, context="\n".join(context), task=task
        )