mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
fix: Set provider_id in NVIDIA notebook when registering dataset (#3472)
# What does this PR do? When registering a dataset for NVIDIA, the DatasetsRoutingTable expects `nvidia` to be passed via the `provider_id` [here](https://github.com/llamastack/llama-stack/blob/main/llama_stack/core/routing_tables/datasets.py#L61). This PR fixes a notebook to correctly use `provider_id`. <!-- If resolving an issue, uncomment and update the line below --> Closes #3308 ## Test Plan Manually execute the notebook steps to verify the dataset is registered. Co-authored-by: Jash Gulabrai <jgulabrai@nvidia.com>
This commit is contained in:
parent
9fe8097ca4
commit
ac1414b571
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@
|
||||||
" metadata={\n",
|
" metadata={\n",
|
||||||
" \"format\": \"json\",\n",
|
" \"format\": \"json\",\n",
|
||||||
" \"description\": \"Tool calling xLAM dataset in OpenAI ChatCompletions format\",\n",
|
" \"description\": \"Tool calling xLAM dataset in OpenAI ChatCompletions format\",\n",
|
||||||
" \"provider\": \"nvidia\"\n",
|
" \"provider_id\": \"nvidia\"\n",
|
||||||
" }\n",
|
" }\n",
|
||||||
")\n",
|
")\n",
|
||||||
"print(response)"
|
"print(response)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue