Conversation

Two turns

chat sends one turn. Call it again on the same agent to continue.

The second call is a new user message to the same agent.

Example

from praisonai import Agent

agent = Agent(instructions="You are a concise tutor.")
print(agent.chat("Explain an agent in one sentence."))
print(agent.chat("Now give one example."))

Try it Yourself

Example explained

  • chat — One user message. start is the other entry point you have already used.

Reference: documentation