diff --git a/docs/agents/llm-agents.md b/docs/agents/llm-agents.md index 799cd09c5c..fe9c7251a3 100644 --- a/docs/agents/llm-agents.md +++ b/docs/agents/llm-agents.md @@ -141,7 +141,7 @@ tells the agent: 1. Identify the country name from the user's query. 2. Use the `get_capital_city` tool to find the capital. 3. Respond clearly to the user, stating the capital city. - Example Query: "What's the capital of {country}?" + Example Query: "What's the capital of {{country}}?" Example Response: "The capital of France is Paris." """, # tools will be added next @@ -161,7 +161,7 @@ tells the agent: 1. Identify the country name from the user's query. 2. Use the \`getCapitalCity\` tool to find the capital. 3. Respond clearly to the user, stating the capital city. - Example Query: "What's the capital of {country}?" + Example Query: "What's the capital of {{country}}?" Example Response: "The capital of France is Paris." `, // tools will be added next @@ -190,7 +190,7 @@ tells the agent: 1. Identify the country name from the user's query. 2. Use the `get_capital_city` tool to find the capital. 3. Respond clearly to the user, stating the capital city. - Example Query: "What's the capital of {country}?" + Example Query: "What's the capital of {{country}}?" Example Response: "The capital of France is Paris." """) // tools will be added next diff --git a/examples/go/snippets/agents/llm-agents/snippets/main.go b/examples/go/snippets/agents/llm-agents/snippets/main.go index 0d53acfd2f..b7d3e14f46 100644 --- a/examples/go/snippets/agents/llm-agents/snippets/main.go +++ b/examples/go/snippets/agents/llm-agents/snippets/main.go @@ -64,7 +64,7 @@ When a user asks for the capital of a country: 1. Identify the country name from the user's query. 2. Use the 'get_capital_city' tool to find the capital. 3. Respond clearly to the user, stating the capital city. -Example Query: "What's the capital of {country}?" +Example Query: "What's the capital of {{country}}?" Example Response: "The capital of France is Paris."`, // tools will be added next }) diff --git a/examples/kotlin/snippets/agents/llm-agent/CapitalAgent.kt b/examples/kotlin/snippets/agents/llm-agent/CapitalAgent.kt index 468c64073b..77be30a9ed 100644 --- a/examples/kotlin/snippets/agents/llm-agent/CapitalAgent.kt +++ b/examples/kotlin/snippets/agents/llm-agent/CapitalAgent.kt @@ -51,7 +51,7 @@ fun main() = 1. Identify the country name from the user's query. 2. Use the `getCapitalCity` tool to find the capital. 3. Respond clearly to the user, stating the capital city. - Example Query: "What's the capital of {country}?" + Example Query: "What's the capital of {{country}}?" Example Response: "The capital of France is Paris." """.trimIndent(), ),