requestLLMForceOneToolBlocking
fun requestLLMForceOneToolBlocking(message: String, tool: ERROR CLASS: Symbol not found for ToolDescriptor): ERROR CLASS: Symbol not found for Message.Assistant(source)
Sends a request to the LLM (Large Language Model) system using a specified tool, ensuring the use of exactly one tool in the response generation process.
Return
The response generated by the LLM system as a Message.Response object.
Parameters
message
The input message or prompt to be processed by the LLM.
tool
The specific tool descriptor that defines the tool to be used.
fun requestLLMForceOneToolBlocking(message: String, tool: ERROR CLASS: Symbol not found for Tool<*, *>): ERROR CLASS: Symbol not found for Message.Assistant(source)
Sends a request to the LLM (Large Language Model) forcing the use of a specified tool and returns the response.
Return
A Message.Response object containing the result from the LLM after processing the request.
Parameters
message
The message to be sent to the LLM.
tool
The tool that the LLM is forced to use in processing the message.