-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPIK-242] Adjust FE page for dataset items and experiment items (#412)
- Loading branch information
1 parent
e30af50
commit e553bf2
Showing
19 changed files
with
307 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
export const DATASET_ITEM_1 = { | ||
input: { | ||
prompt: "What is the capital of France?", | ||
}, | ||
expected_output: { | ||
response: "The capital of France is Paris.", | ||
}, | ||
metadata: { | ||
test: true, | ||
version: 1, | ||
data: { | ||
input: { | ||
prompt: "What is the capital of France?", | ||
}, | ||
expected_output: { | ||
response: "The capital of France is Paris.", | ||
}, | ||
metadata: { | ||
test: true, | ||
version: 1, | ||
}, | ||
custom: "some_custom_dataset_id", | ||
}, | ||
source: "manual", | ||
} as const; | ||
|
||
export const DATASET_ITEM_2 = { | ||
input: { | ||
prompt: | ||
"Translate the following sentence into Spanish: 'Good morning, how are you?'", | ||
}, | ||
expected_output: { | ||
response: "Buenos días, ¿cómo estás?", | ||
data: { | ||
input: { | ||
prompt: | ||
"Translate the following sentence into Spanish: 'Good morning, how are you?'", | ||
}, | ||
expected_output: { | ||
response: "Buenos días, ¿cómo estás?", | ||
}, | ||
}, | ||
source: "sdk", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
...nts/pages/CompareExperimentsPage/CompareExperimentsPanel/CompareExperimentsDataViewer.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.