Commit 6e4703f
feat: Add support for Excel files (#323)
* feat: add support for reading XLSX files
* feat: add pandas excel dependencies
* fix: prevent lambda function from capturing loop variable in EmbeddingIndexer
* Use Executor.submit() args
* feat: renamed XlsxReader with ExcelReader for broader Excel file support
* refactor: renaming XlsxSplitter and fixing mypy errors
* refactor: rename config classes for consistency
* Update release version to dev-testing
* Cast TextNodes directly
* Simplify model_source if-else
* Remove implicit port conversion in config_to_env to stringify of None
* Improve Qdrant configuration and performance with environment variables and gRPC support
* Remove unused environment variables and hardcode embedding concurrency and boto3 max pool connections
* minor fixes for configuration
* Reduce EmbeddingIndexer batch size and add botocore config to BedrockModelProvider
* Adjust batch size in EmbeddingIndexer based on reader type to prevent Qdrant timeouts
* Add support for CSVReader in EmbeddingIndexer and adjust batch size accordingly
* Refactor batch sizes and sampling for EmbeddingIndexer and SummaryIndexer to improve performance with tabular documents
* Enhance ExcelReader to handle empty workbooks and ensure JSON serialization compatibility
* Enhance ExcelReader to handle null dataframes and improve JSON serialization
* fix: Use non-depracated `map` function over `applymap` in ExcelReader
* Refactor batch sizes in EmbeddingIndexer and SummaryIndexer to use Qdrant-safe batches
* Adjust batch sizes in LlamaIndexQdrantVectorStore
* fix: mypy errors
* Update release version to dev-testing
* Refactor Qdrant configuration and ExcelReader for improved performance and compatibility
* fix: more mypy issues
* Update release version to dev-testing
* Enable Git LFS for prebuilt artifacts
* merge origin/main
* Update prebuilt artifacts with new versions
* Update batch sizes for Qdrant vector store and indexing
* fix: Increase memory for application to allow excel use cases
* Update llm-service/app/ai/indexing/readers/base_reader.py
Co-authored-by: mliu-cloudera <[email protected]>
* Update llm-service/app/config.py
Co-authored-by: mliu-cloudera <[email protected]>
* Update llm-service/app/ai/vector_stores/qdrant.py
Co-authored-by: mliu-cloudera <[email protected]>
* Update llm-service/app/ai/indexing/embedding_indexer.py
Co-authored-by: mliu-cloudera <[email protected]>
* fix: minor fixes and adjustments for consistency
* refactor: simplify batch size logic in embedding and summary indexers
* Update llm-service/app/ai/indexing/readers/base_reader.py
Co-authored-by: mliu-cloudera <[email protected]>
* Update llm-service/app/ai/indexing/readers/base_reader.py
Co-authored-by: mliu-cloudera <[email protected]>
* Update llm-service/app/ai/indexing/summary_indexer.py
Co-authored-by: mliu-cloudera <[email protected]>
* refactor: reverting variable name batch_size to max_samples
* Update .DS_Store file in llm-service directory
---------
Co-authored-by: Michael Liu <[email protected]>
Co-authored-by: actions-user <[email protected]>1 parent 64e1a14 commit 6e4703f
File tree
21 files changed
+2356
-1822
lines changed- backend/src/main/resources
- llm-service
- app
- ai
- indexing
- readers
- vector_stores
- services
- amp_metadata
- models/providers
- prebuilt_artifacts
- scripts
- ui/src/api
21 files changed
+2356
-1822
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
102 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
103 | 115 | | |
104 | 116 | | |
105 | 117 | | |
| |||
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
128 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
129 | 144 | | |
130 | 145 | | |
131 | | - | |
132 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
133 | 152 | | |
134 | | - | |
| 153 | + | |
135 | 154 | | |
136 | 155 | | |
137 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
16 | 36 | | |
17 | 37 | | |
18 | 38 | | |
| |||
70 | 90 | | |
71 | 91 | | |
72 | 92 | | |
| 93 | + | |
| 94 | + | |
73 | 95 | | |
| 96 | + | |
74 | 97 | | |
75 | | - | |
| 98 | + | |
| 99 | + | |
76 | 100 | | |
| 101 | + | |
77 | 102 | | |
78 | | - | |
| 103 | + | |
79 | 104 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 105 | + | |
86 | 106 | | |
87 | 107 | | |
88 | 108 | | |
| |||
97 | 117 | | |
98 | 118 | | |
99 | 119 | | |
100 | | - | |
| 120 | + | |
101 | 121 | | |
102 | 122 | | |
103 | 123 | | |
104 | 124 | | |
105 | | - | |
| 125 | + | |
106 | 126 | | |
107 | 127 | | |
108 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments