llama-stack-mirror/llama_stack/apis
Dinesh Yeduguru c23363d561
Add ability to query and export spans to dataset (#574)
This PR adds two new methods to the telemetry API:
1) Gives the ability to query spans directly instead of first querying
traces and then using that to get spans
2) Another method save_spans_to_dataset, which builds on the query spans
to save it on dataset.

This give the ability to saves spans that are part of an agent session
to a dataset.

The unique aspect of this API is that we dont require each provider of
telemetry to implement this method. Hence, its implemented in the
protocol class itself. This required the protocol check to be slightly
modified.
2024-12-05 21:07:30 -08:00
..
agents Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
batch_inference Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
common [Evals API][4/n] evals with generation meta-reference impl (#303) 2024-10-25 13:12:39 -07:00
datasetio Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
datasets unregister API for dataset (#507) 2024-12-03 21:18:30 -08:00
eval Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
eval_tasks Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
inference Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
inspect Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
memory Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
memory_banks Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
models Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
post_training Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
safety Fix up safety client for versioned API (#573) 2024-12-05 14:13:49 -08:00
scoring Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
scoring_functions Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
shields Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00
synthetic_data_generation Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
telemetry Add ability to query and export spans to dataset (#574) 2024-12-05 21:07:30 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
resource.py Enable sane naming of registered objects with defaults (#429) 2024-11-12 11:18:05 -08:00
version.py Fix the pyopenapi generator avoid potential circular imports 2024-11-18 23:37:52 -08:00