llama-stack-mirror/llama_stack/providers/registry
Rashmi Pawar e6bbf8d20b
feat: Add NVIDIA NeMo datastore (#1852)
# What does this PR do?
Implemetation of NeMO Datastore register, unregister API.

Open Issues: 
- provider_id gets set to `localfs` in client.datasets.register() as it
is specified in routing_tables.py: DatasetsRoutingTable
see: #1860

Currently I have passed `"provider_id":"nvidia"` in metadata and have
parsed that in `DatasetsRoutingTable`
(Not the best approach, but just a quick workaround to make it work for
now.)

## Test Plan
- Unit test cases: `pytest
tests/unit/providers/nvidia/test_datastore.py`
```bash
========================================================== test session starts ===========================================================
platform linux -- Python 3.10.0, pytest-8.3.5, pluggy-1.5.0
rootdir: /home/ubuntu/llama-stack
configfile: pyproject.toml
plugins: anyio-4.9.0, asyncio-0.26.0, nbval-0.11.0, metadata-3.1.1, html-4.1.1, cov-6.1.0
asyncio: mode=strict, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items                                                                                                                        

tests/unit/providers/nvidia/test_datastore.py ..                                                                                   [100%]

============================================================ warnings summary ============================================================

====================================================== 2 passed, 1 warning in 0.84s ======================================================
```

cc: @dglogo, @mattf, @yanxi0830
2025-04-28 09:41:59 -07:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
agents.py test: add unit test to ensure all config types are instantiable (#1601) 2025-03-12 22:29:58 -07:00
datasetio.py feat: Add NVIDIA NeMo datastore (#1852) 2025-04-28 09:41:59 -07:00
eval.py feat: Add NVIDIA Eval integration (#1890) 2025-04-24 17:12:42 -07:00
files.py feat(api): don't return a payload on file delete (#1640) 2025-03-25 17:12:36 -07:00
inference.py feat: Add watsonx inference adapter (#1895) 2025-04-25 11:29:21 -07:00
post_training.py feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
safety.py fix: Add 'accelerate' dependency to 'prompt-guard' (#1724) 2025-03-21 07:37:20 -07:00
scoring.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
telemetry.py test: add unit test to ensure all config types are instantiable (#1601) 2025-03-12 22:29:58 -07:00
tool_runtime.py chore: move embedding deps to RAG tool where they are needed (#1210) 2025-02-21 11:33:41 -08:00
vector_io.py feat: Qdrant inline provider (#1273) 2025-03-18 14:04:21 -07:00