langchain/libs/core/tests
Adrián Panella acddfc772e
core: allow artifact in create_retriever_tool (#28903)
Add option to return content and artifacts, to also be able to access
the full info of the retrieved documents.

They are returned as a list of dicts in the `artifacts` property if
parameter `response_format` is set to `"content_and_artifact"`.

Defaults to `"content"` to keep current behavior.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2025-01-03 22:10:31 +00:00
..
integration_tests core: Add ruff rules for PIE (#26939) 2024-09-27 12:08:35 -04:00
unit_tests core: allow artifact in create_retriever_tool (#28903) 2025-01-03 22:10:31 +00:00
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00