Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorporating code review fix. #16

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 20 additions & 25 deletions frontend/src/__mocks__/mockNimResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,26 @@ export const mockNimImages = (): ConfigMapKind =>
name: 'nvidia-nim-images-data',
namespace: 'opendatahub',
data: {
alphafold2:
'{' +
' "name": "alphafold2",' +
' "displayName": "AlphaFold2",' +
' "shortDescription": "A widely used model for predicting the 3D structures of proteins from their amino acid sequences.",' +
' "namespace": "nim/deepmind",' +
' "tags": [' +
' "1.0.0"' +
' ],' +
' "latestTag": "1.0.0",' +
' "updatedDate": "2024-08-27T01:51:55.642Z"' +
' }',
'arctic-embed-l':
'{' +
' "name": "arctic-embed-l",' +
' "displayName": "Snowflake Arctic Embed Large Embedding",' +
' "shortDescription": "NVIDIA NIM for GPU accelerated Snowflake Arctic Embed Large Embedding inference",' +
' "namespace": "nim/snowflake",' +
' "tags": [' +
' "1.0.1",' +
' "1.0.0"' +
' ],' +
' "latestTag": "1.0.1",' +
' "updatedDate": "2024-07-27T00:38:40.927Z"' +
' }',
alphafold2: JSON.stringify({
name: 'alphafold2',
displayName: 'AlphaFold2',
shortDescription:
'A widely used model for predicting the 3D structures of proteins from their amino acid sequences.',
namespace: 'nim/deepmind',
tags: ['1.0.0'],
latestTag: '1.0.0',
updatedDate: '2024-08-27T01:51:55.642Z',
}),
'arctic-embed-l': JSON.stringify({
name: 'arctic-embed-l',
displayName: 'Snowflake Arctic Embed Large Embedding',
shortDescription:
'NVIDIA NIM for GPU accelerated Snowflake Arctic Embed Large Embedding inference',
namespace: 'nim/snowflake',
tags: ['1.0.1', '1.0.0'],
latestTag: '1.0.1',
updatedDate: '2024-07-27T00:38:40.927Z',
}),
},
});

Expand Down