Dave Aitel
import yaml def process_yaml(): with open("config.yaml") as file: return yaml.safe_load(file) config_data = process_yaml() openai_api_key = config_data["openai"]["api_key"] anthropic_api_key = config_data["anthropic"]["api_key"] import os os.environ["OPENAI_API_KEY"] = openai_api_key os.environ["ANTHROPIC_API_KEY"] = anthropic_api_key os.environ["CONTROLFLOW_DEFAULT_LLM"] = "anthropic/claude-3-5-sonnet-20240620"
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.