Commit 7140502
feat(nlq): add modelId to OpenAI NLQ configuration (#27789)
* feat(nlq): add modelId to OpenAI NLQ configuration
Mirrors the bedrock provider, which already exposes a modelId for query
transformation alongside its embeddingModelId. The OpenAI provider only
had embeddingModelId, leaving the chat-completions model hardcoded in
the client. Adding modelId here lets operators pick the chat model
(e.g. gpt-4o-mini, gpt-4o) per deployment without code changes.
* Update generated TypeScript types
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 0d44cfb commit 7140502
3 files changed
Lines changed: 13 additions & 0 deletions
File tree
- openmetadata-spec/src/main/resources/json/schema/configuration
- openmetadata-ui/src/main/resources/ui/src/generated
- configuration
- settings
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2314 | 2314 | | |
2315 | 2315 | | |
2316 | 2316 | | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
2317 | 2321 | | |
2318 | 2322 | | |
2319 | 2323 | | |
| |||
0 commit comments