aexecute • AI Agent SDK

aexecute: Async execute prompt using the LLM.

aexecute

Async

Method

</div>

This is a method of the LLMRuntimeWrapper class in the resolve module.

Async execute prompt using the LLM.

Signature

python
async def aexecute(prompt: str) -> Any

Parameters

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • achat
  • asyncio.get_running_loop
  • loop.run_in_executor
  • chat

Source

View on GitHub

praisonaiagents/runtime/resolve.py at line 145