systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks. from Building effective agents by Anthropic https://www.anthropic.com/engineering/building-effective-agents 7
= "You are a helpful assistant. Answer user questions concisely.", llmModel = OpenAIModels.Chat.GPT4o ) fun main() = runBlocking { val result = agent.run("Hello! How can you help me?") } ね、お手軽でしょ? 11
data class WeatherForecast( @property:LLMDescription("Temperature in Celsius") val temperature: Int, @property:LLMDescription("Weather conditions (e.g., sunny, cloudy, rainy)") val conditions: String, @property:LLMDescription("Chance of precipitation in percentage") val precipitation: Int ) 14