from aiopslab import Orchestrator class Agent:     def __init__(self, prob, instructs, apis):         self.prompt = self.set_prompt(prob, instructs,

AIOpsLab: Building AI agents for autonomous clouds

submited by
Style Pass
2024-12-23 14:30:05

from aiopslab import Orchestrator class Agent: def __init__(self, prob, instructs, apis): self.prompt = self.set_prompt(prob, instructs, apis) self.llm = GPT4() async def get_action(self, state: str) -> str: return self.llm.generate(self.prompt + state) #initialize the orchestrator orch = Orchestrator() pid = "misconfig_app_hotel_res-mitigation-1" prob_desc, instructs, apis = orch.init_problem(pid) #register and evaluate the agent agent = Agent(prob_desc, instructs, apis) orch.register_agent(agent, name="myAgent") asyncio.run(orch.start_problem(max_steps=10))

Microsoft research podcast Collaborators: Silica in space with Richard Black and Dexter Greene College freshman Dexter Greene and Microsoft research manager Richard Black discuss how technology that stores data in glass is supporting students as they expand earlier efforts to communicate what it means to be human to extraterrestrials. Listen now Opens in a new tab

Collaborators: Silica in space with Richard Black and Dexter Greene College freshman Dexter Greene and Microsoft research manager Richard Black discuss how technology that stores data in glass is supporting students as they expand earlier efforts to communicate what it means to be human to extraterrestrials. Listen now

Leave a Comment