PraisonAI - PraisonAI應用程式將AutoGen和CrewAI或類似的框架結合到一個低程式碼解決方案中,用於構建和管理多代理LLM系統,專注於簡單性,自定義性和可擴充套件性。
PraisonAI 應用程式將 AutoGen 和 CrewAI 或類似框架組合成一個低程式碼解決方案,用於構建和管理多代理 LLM 系統,重點關注簡單性、定製性和高效的人機協作。簡化各種 LLM 應用程式的多代理系統的建立和編排,強調易用性、定製和人工代理相互作用。
framework: crewai topic: Artificial Intelligence roles: screenwriter: backstory: 'Skilled in crafting scripts with engaging dialogue about {topic}.' goal: Create scripts from concepts. role: Screenwriter tasks: scriptwriting_task: description: 'Develop scripts with compelling characters and dialogue about {topic}.' expected_output: 'Complete script ready for production.'
|
在您的專案中包含 praisonai 包
from praisonai import PraisonAI
def basic(): # Basic Mode praison_ai = PraisonAI(agent_file=<font>"agents.yaml") praison_ai.main() def advanced(): # Advanced Mode with options praison_ai = PraisonAI( agent_file="agents.yaml", framework="autogen", ) praison_ai.main() def auto(): # Full Automatic Mode praison_ai = PraisonAI( auto="Create a movie script about car in mars", framework="autogen" ) print(praison_ai.framework) praison_ai.main()
if __name__ == "__main__": basic() advanced() auto()
|