You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
improvement: better UX for AI context items (#6649)
AI Context Improvements
- Improved table context format: added sample values for columns and
inline formatting
- Styling of Resource's attached when using the agent (support
text/plain, markdown, and images)
- Reorganized completion sections with explicit ranking system (boosts
dont apply across sections, so need to rank the sections)
- Hide empty datasources from context menu
Various UI fixes
- Added hover states and improved visual hierarchy for resource and
resource-link blocks
- Implemented image preview popover for image resource links
- Added overflow handling to prevent horizontal scrolling in user
messages and tool notifications
- Fixed truncation for long accordion titles and adjusted z-index for
session tabs
exports[`TableContextProvider > formatContext > should format context for table without columns > no-columns-table-context 1`] =`
22
-
"<dataname="no_columns"source="memory">
23
-
Shape: 100 rows, 3 columns</data>"
24
-
`;
19
+
exports[`TableContextProvider > formatContext > should format context for table without columns > no-columns-table-context 1`] =`"<dataname="no_columns"source="memory">Shape: 100 rows, 3 columns</data>"`;
25
20
26
21
exports[`TableContextProvider > formatContext > should format context for table without shape info > no-shape-table-context 1`] =`
27
-
"<dataname="no_shape"source="memory">
28
-
Columns:
29
-
- id: integer
30
-
- name: string
31
-
- active: boolean</data>"
22
+
"<dataname="no_shape"source="memory">Columns:
23
+
id (integer) - samples: [sample_id_1, sample_id_2]
24
+
name (string) - samples: [sample_name_1, sample_name_2]
25
+
active (boolean) - samples: [sample_active_1, sample_active_2]</data>"
32
26
`;
33
27
34
28
exports[`TableContextProvider > getItems > should handle dataframe tables with variable names > dataframe-table 1`] =`
0 commit comments