Added new demo

This commit is contained in:
ShubhamSaboo 2024-11-28 17:01:48 -06:00
parent 30582309c2
commit 055e09b48e
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,12 @@
from phi.agent import Agent
from phi.model.ollama import Ollama
from phi.playground import Playground, serve_playground_app
reasoning_agent = Agent(name="Reasoning Agent", model=Ollama(id="qwq:32b"), markdown=True)
# UI for Reasoning agent
app = Playground(agents=[reasoning_agent]).get_app()
# Run the Playground app
if __name__ == "__main__":
serve_playground_app("local_ai_reasoning_agent:app", reload=True)