llama-stack-mirror/llama_stack/apis/tools
ehhuang 25fddccfd8
feat: tool outputs metadata (#1155)
Summary:

Allows tools to output metadata. This is useful for evaluating tool
outputs, e.g. RAG tool will output document IDs, which can be used to
score recall.

Will need to make a similar change on the client side to support
ClientTool outputting metadata.

Test Plan:

LLAMA_STACK_CONFIG=fireworks pytest -s -v
tests/client-sdk/agents/test_agents.py
2025-02-21 13:15:31 -08:00
..
__init__.py build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
rag_tool.py feat: tool outputs metadata (#1155) 2025-02-21 13:15:31 -08:00
tools.py feat: tool outputs metadata (#1155) 2025-02-21 13:15:31 -08:00