# Initialise the Composio Tool Setcomposio_toolset = ComposioToolSet()# Register the GitHub app with the right settingstools = composio_toolset.get_tools(apps=[App.GITHUB])# Create and configure the Julep agentagent = julep_client.agents.create(name="Jessica",about="Tech entrepreneur with a focus on sustainability and AI.",default_settings={"temperature": 0.7,"top_p": 1,"min_p": 0.01,"presence_penalty": 0,"frequency_penalty": 0,"length_penalty": 1.0,"max_tokens": 150},model="gpt-4-turbo",tools=tools,)
3
Execute the Task via Julep Agent
about = """Sam, a software developer, is passionate about impactful tech.At the tech fair, he seeks investors and collaborators for his project."""user = julep_client.users.create( name="Sam", about=about,)situation_prompt = "You are at a tech fair seeking innovative projects."session = julep_client.sessions.create(user_id=user.id, agent_id=agent.id, situation=situation_prompt)user_msg = "Could you star the GitHub repository composiohq/composio?"response = julep_client.sessions.chat( session_id=session.id, messages=[ {"role": "user", "content": user_msg, "name": "Sam"} ], recall=True, remember=True)