Skip to main content

achat

AsyncMethod
This is a method of the AutoRagAgent class in the auto_rag_agent module.
Async version of chat. Currently wraps sync version. Can be extended for true async.

Signature

async def achat(message: str) -> str

Parameters

message
str
required
No description available.

Returns

Returns
str
The result of the operation.

Uses

  • asyncio.get_event_loop
  • loop.run_in_executor
  • chat

Used By

Source

View on GitHub

praisonaiagents/agents/auto_rag_agent.py at line 380