Commit d183c4b
feat: Add support for data labeling in UI (feast-dev#5409)
* Add GenAI documentation page to Introduction section
Co-Authored-By: Francisco Javier Arceo <[email protected]>
* Move GenAI page to getting-started directory and update SUMMARY.md
Co-Authored-By: Francisco Javier Arceo <[email protected]>
* Update SUMMARY.md
* Update genai.md
* Add unstructured data transformation and Spark integration details to GenAI documentation
Co-Authored-By: Francisco Javier Arceo <[email protected]>
* Update genai.md
* Add document labeling functionality to Feast UI
- Create dedicated document labeling page for RAG text chunk annotation
- Add DocumentLabelingPage.tsx with text selection and highlighting
- Implement backend endpoint for reading document files
- Add document labeling infrastructure with DocumentLabel class
- Support relevant/irrelevant labeling for RAG retrieval improvement
- Include navigation integration and proper UI routing
- Follow existing Feast UI patterns and design conventions
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Apply Python code formatting for document labeling files
- Format Python files according to ruff standards
- Fix whitespace and import ordering issues
- Ensure compliance with Feast coding standards
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Fix Python test file formatting for CI lint check
- Format 9 test files according to ruff standards
- Resolve lint-python CI failure in PR feast-dev#27
- Ensure all Python code meets formatting requirements
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Add light blue highlighting for selected text before labeling
- Show light blue background when text is selected for labeling
- Clean up temporary highlights when label is applied
- Improve user experience with visual feedback for text selection
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Fix formatting issues for CI checks
- Apply ruff formatting to feast/type_map.py
- Apply prettier formatting to DocumentLabelingPage.tsx
- Ensure all code follows project formatting standards
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Fix Python formatting issues for CI compliance
- Apply ruff formatting to 21 Python files
- Resolve lint-python CI failure by ensuring all files meet formatting standards
- Files reformatted: feast/feature_store.py, feast/feature_view.py, and 19 others
- Maintain code quality and consistency across the codebase
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Fix text selection errors by replacing DOM manipulation with React state management
- Remove problematic range.surroundContents() logic that conflicted with React's virtual DOM
- Replace manual DOM manipulation with pure React state management approach
- Add light blue highlighting for temporary text selection using conditional rendering
- Change file path from absolute to relative path (./src/test-document.txt)
- Improve text selection reliability and follow React best practices
- Resolve 'Failed to execute removeChild' errors during text selection
Signed-off-by: Devin AI <devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Francisco Javier Arceo <[email protected]>
Co-Authored-By: Francisco Javier Arceo <[email protected]>
---------
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 6b05153 commit d183c4b
File tree
16 files changed
+656
-2
lines changed- docs/getting-started
- sdk/python/feast
- ui/src
- custom-tabs
- document-labeling-tab
- pages
- document-labeling
- utils/custom-tabs
16 files changed
+656
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
69 | 161 | | |
70 | 162 | | |
71 | 163 | | |
| |||
104 | 196 | | |
105 | 197 | | |
106 | 198 | | |
107 | | - | |
108 | 199 | | |
109 | 200 | | |
110 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
359 | 378 | | |
360 | 379 | | |
361 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
139 | 153 | | |
140 | 154 | | |
141 | 155 | | |
| |||
157 | 171 | | |
158 | 172 | | |
159 | 173 | | |
| 174 | + | |
| 175 | + | |
160 | 176 | | |
0 commit comments