Skip to main content

chat

Method
This is a method of the Agent class in the agent module.
Chat with the agent.

Signature

Parameters

Any
required
Text query that WILL be stored in chat_history
Any
default:"1.0"
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
default:"False"
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
No description available.
Any
default:"False"
No description available.
Any
default:"False"
No description available.
Any
Optional list of image/file paths that are ephemeral (used for THIS turn only, NEVER stored in history).
Any
Optional tool choice mode (‘auto’, ‘required’, ‘none’). ‘required’ forces the LLM to call a tool before responding. …other args…

Returns

Any
The result of the operation.

Uses

  • get_context_emitter
  • _trace_emitter.agent_start
  • _trace_emitter.agent_end

Used By

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4908

Chat Feature

Conversation Stores