llama-stack/llama_stack/apis
Ashwin Bharambe 2e5bfcd42a
Update Telemetry API so OpenAPI generation can work (#640)
We cannot use recursive types because not only does our OpenAPI
generator not like them, even if it did, it is not easy for all client
languages to automatically construct proper APIs (especially considering
garbage collection) around them. For now, we can return a `Dict[str,
SpanWithStatus]` instead of `SpanWithChildren` and rely on the client to
reconstruct the tree.

Also fixed a super subtle issue with the OpenAPI generation process
(monkey-patching of json_schema_type wasn't working because of import
reordering.)
2024-12-16 13:00:14 -08:00
..
agents [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
batch_inference Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
common [2/n][torchtune integration] implement job management and return training artifacts (#593) 2024-12-13 15:00:04 -08:00
datasetio [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
datasets [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -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 [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
inspect [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
memory [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
memory_banks [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
models [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
post_training [2/n][torchtune integration] implement job management and return training artifacts (#593) 2024-12-13 15:00:04 -08:00
safety [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
scoring [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
scoring_functions [/scoring] add ability to define aggregation functions for scoring functions & refactors (#597) 2024-12-11 10:03:42 -08:00
shields [tests] add client-sdk pytests & delete client.py (#638) 2024-12-16 12:04:56 -08:00
synthetic_data_generation Add version to REST API url (#478) 2024-11-18 22:44:14 -08:00
telemetry Update Telemetry API so OpenAPI generation can work (#640) 2024-12-16 13:00:14 -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