From 2614111b79e0737c169d682fe99d9fcecaa1ba82 Mon Sep 17 00:00:00 2001 From: Seobs Date: Tue, 24 Feb 2026 10:39:20 +0900 Subject: [PATCH] fix: remove duplicate content in structured output docs --- .../concepts/agents/structured-output.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/docs/user-guide/concepts/agents/structured-output.md b/docs/user-guide/concepts/agents/structured-output.md index 195a7983..1d6cefe5 100644 --- a/docs/user-guide/concepts/agents/structured-output.md +++ b/docs/user-guide/concepts/agents/structured-output.md @@ -141,22 +141,6 @@ In the event there is an issue with parsing the structured output, Strands will ### Related Documentation -#### After (Recommended) - -```python -# New approach - recommended -result = agent("John is 30 years old", structured_output_model=PersonInfo) -print(result.structured_output.name) # Access via structured_output field -``` - -### Best Practices - -- **Keep models focused**: Define specific models for clear purposes -- **Use descriptive field names**: Include helpful descriptions with `Field` -- **Handle errors gracefully**: Implement proper error handling strategies with fallbacks - -### Related Documentation - Refer to Pydantic documentation for details on: - [Models and schema definition](https://docs.pydantic.dev/latest/concepts/models/)