langchain/docs/api_reference
Mason Daugherty 44bd6fe837
feat(core): content block factories + ids + docs + tests (#32316)
## Benefits

1. **Type Safety**: Compile-time validation of required fields and
proper type setting
2. **Less Boilerplate**: No need to manually set the `type` field or
generate IDs
3. **Input Validation**: Runtime validation prevents common errors
(e.g., base64 without MIME type)
4. **Consistent Patterns**: Standardized creation patterns across all
block types
5. **Better Developer Experience**: Cleaner, more intuitive API than
manual TypedDict construction. Also follows similar other patterns (e.g.
`create_react_agent`, `init_chat_model`
2025-07-31 11:12:00 -04:00
..
_extensions chore(docs): bump langgraph in docs & reformat all docs (#32044) 2025-07-15 15:06:59 +00:00
_static docs: sidebar-content-render (#30061) (#30062) 2025-03-01 15:30:41 -05:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
templates docs: add missing with_config method to Runnable templates API reference (#30560) 2025-03-31 10:08:02 -04:00
conf.py chore: update branch with changes from master (#32277) 2025-07-28 10:39:41 -04:00
create_api_rst.py feat(core): content block factories + ids + docs + tests (#32316) 2025-07-31 11:12:00 -04:00
guide_imports.json docs: reorganize contributing docs (#27649) 2024-10-25 22:41:54 +00:00
make.bat
Makefile
requirements.txt docs: ganalytics in api ref (#28697) 2024-12-12 23:55:59 +00:00