execute
abstract suspend fun execute(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor> = emptyList()): 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
tools
Optional list of tools that can be used by the LLM
model
The LLM model to use