execute • AI Agent SDK

execute: Execute prompt using the LLM.

execute

Method

</div>

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

Execute prompt using the LLM.

Signature

python
def execute(prompt: str) -> Any

Parameters

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • chat

Used By

Source

View on GitHub

praisonaiagents/runtime/resolve.py at line 141