Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(dataset-items): add placeholder text for new items (#8228)

Nimarbce026d8b219
diff --git a/web/src/features/datasets/components/NewDatasetItemForm.tsx b/web/src/features/datasets/components/NewDatasetItemForm.tsx
index e8ed6486c0..cecac01d3c 100644
--- a/web/src/features/datasets/components/NewDatasetItemForm.tsx
+++ b/web/src/features/datasets/components/NewDatasetItemForm.tsx
@@ -279,6 +279,9 @@ export const NewDatasetItemForm = (props: {
value={field.value}
onChange={field.onChange}
minHeight={200}
+ placeholder={`{
+ "question": "What is the capital of England?"
+}`}
/>
</FormControl>
<FormMessage />
@@ -297,6 +300,9 @@ export const NewDatasetItemForm = (props: {
value={field.value}
onChange={field.onChange}
minHeight={200}
+ placeholder={`{
+ "answer": "London"
+}`}
/>
</FormControl>
<FormMessage />