execute
open suspend override fun execute(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<Message.Response>(source)
Executes a prompt and returns a list of response messages.
Return
List of response messages
Parameters
prompt
The prompt to execute
model
The LLM model to use
tools
Optional list of tools that can be used by the LLM