-
Notifications
You must be signed in to change notification settings - Fork 480
feat(dotAI): Dot AI LangChain4J integration (First provider/OpenAI) #35150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 29 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
26c8c61
feat(dotAI): replace OpenAIClient with LangChain4J abstraction layer …
ihoffmann-dot 48f268b
feat(dotAI): remove legacy config support, require providerConfig
ihoffmann-dot 0e56d8c
test(dotAI): add unit and integration tests for LangChain4J client layer
ihoffmann-dot 5179db3
fix(dotAI): change BOOL+hidden params to STRING in dotAI.yml
ihoffmann-dot 86057b1
fix(dotAI): remove legacy hidden params from dotAI.yml
ihoffmann-dot 3a5387c
fix(dotAI): update dotAI.yml description to reflect LangChain4J integ…
ihoffmann-dot ebbeaf1
fix(dotAI): remove legacy OpenAI model validation from AIAppValidator
ihoffmann-dot 3de8a67
fix(dotAI): update /completions/config to reflect providerConfig-base…
ihoffmann-dot cfdd3cf
fix(dotAI): support maxCompletionTokens for o-series OpenAI models
ihoffmann-dot bfa54d1
fix(dotAI): replace legacy getApiKey guard with isEnabled in ImageRes…
ihoffmann-dot 6a1213d
refactor(dotAI): remove dead OpenAI model-fetch flow from AIModels
ihoffmann-dot 80820a6
fix(dotAI): handle base64 image responses for models that don't retur…
ihoffmann-dot 07f7bc1
fix(dotAI): send text content (not token IDs) to LangChain4J embeddin…
ihoffmann-dot d79b37c
fix(dotAI): skip token encoding guard when model not in jtokkit registry
ihoffmann-dot 46028c2
fix(dotAI): add missing IPUtils import in AIModelsTest
ihoffmann-dot abe115e
refactor(dotAI): PR review comments fixes
ihoffmann-dot e01cb46
refactor(dotAI): extract build helper in LangChain4jModelFactory to r…
ihoffmann-dot d9078de
refactor(dotAI): remove unused loadModels, activateModels and getAvai…
ihoffmann-dot ba7f173
refactor(dotAI): convert ProviderConfig to Immutables interface
ihoffmann-dot 805fc7d
fix(dotAI): update unit tests for ProviderConfig Immutables migration
ihoffmann-dot 14c417f
fix(dotAI): remove broken test methods for removed AIModels methods
ihoffmann-dot 433c9c8
fix(dotAI): address Claude bot security and correctness review comments
ihoffmann-dot 91ca878
fix(dotAI): remove maximumSize from model caches, keep TTL only
ihoffmann-dot 92fae06
refactor(dotAI): remove dead AIModels and AIModelFallbackStrategy
ihoffmann-dot fe8cb0d
fix(dotAI): address remaining PR review comments
ihoffmann-dot 52085fb
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 30b0a59
fix(dotAI): address remaining PR review comments
ihoffmann-dot 598dac9
fix(dotAI): migrate integration tests to providerConfig flow
ihoffmann-dot 4dd52e3
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 61a4c35
refactor(dotAI): address remaining PR review comments
ihoffmann-dot c5f873a
refactor(dotAI): address remaining PR review comments
ihoffmann-dot 31cb86e
test(dotAI): fix WireMock stubs and CompletionsAPI for LangChain4J co…
ihoffmann-dot b44c35b
feat(dotAI): validate required ProviderConfig fields in LangChain4jMo…
ihoffmann-dot 1d537af
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 17fd32a
test(dotAI): add missing validation tests to LangChain4jModelFactoryTest
ihoffmann-dot 18c5b44
fix(dotAI): remove legacy fields from config endpoint, fix providerCo…
ihoffmann-dot 5fcd079
feat(dotAI): remove model/temperature params from workflow actionlets
ihoffmann-dot b1145dc
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 62d2e05
fix(dotAI): address PR review comments (dimensions, maxTokens, isEnab…
ihoffmann-dot 111db46
feat(dotAI): implement streaming chat via LangChain4J StreamingChatModel
ihoffmann-dot 07252a4
fix(dotAI): use plain ObjectMapper for providerConfig redaction to av…
ihoffmann-dot 924f6b2
fix(dotAI): use plain ObjectMapper in AppConfig, add isEnabled diagno…
ihoffmann-dot 7fd1b4f
fix(dotAI): check providerConfig instead of apiKey for config warning…
ihoffmann-dot f3e1d0f
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 86e1776
fix(dotAI): allow unquoted control chars in providerConfig JSON parsing
ihoffmann-dot 4fbb6a4
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 27cc6ee
fix(ai): strip control chars from providerConfig before JSON parse
ihoffmann-dot a39bf1c
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot b1dea4c
test(ai): add AppConfigTest for providerConfig JSON parsing with embe…
ihoffmann-dot 4aaa0fd
fix(ai): sanitize providerConfig at construction time so all consumer…
ihoffmann-dot 9e61911
debug(ai): log providerConfig snippet around parse error position
ihoffmann-dot 1822dc8
fix(ai): restore DotObjectMapperProvider and remove diagnostic logging
ihoffmann-dot 9e6a393
fix(ai): address PR review comments on LangChain4J integration
ihoffmann-dot c4421e5
fix(ai): replace new ObjectMapper() with DotObjectMapperProvider in C…
ihoffmann-dot febd3d7
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 92be76c
fix(ai): update Postman stubs and collection for LangChain4J migration
ihoffmann-dot fb72963
fix(ai): make imageSize optional in dotAI.yml
ihoffmann-dot df7d464
fix(ai): update WireMock body patterns for LangChain4J JSON spacing
ihoffmann-dot 9acf22e
fix(ai): relax embedding count assertion to greaterThan(0)
ihoffmann-dot aefd7da
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 7587479
fix(ai): relax search result assertions to handle identical WireMock …
ihoffmann-dot 2684167
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 0ca23c2
fix(ai): add missing openAiResponse fields and relax seo assertion
ihoffmann-dot ca551a5
fix(ai): update config endpoint and test to reflect new providerConfi…
ihoffmann-dot ff423a1
fix(ai-tests): convert SSE stubs to JSON, add stream-specific variant…
ihoffmann-dot 6b094dd
fix(ai-tests): fix WireMock stub priority and pattern for AIViewToolT…
ihoffmann-dot d6b5788
fix(dotAI): apply PR review fixes (SSE double newline, null modelName…
ihoffmann-dot 258dc17
Merge branch 'main' into dot-ai-langchain-integration
fabrizzio-dotCMS 1632c7e
Merge branch 'main' into dot-ai-langchain-integration
fabrizzio-dotCMS af6109b
fix(dotAI): address PR review comments - stale logs, NPE, model overr…
ihoffmann-dot c79ac52
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot d426c74
fix(dotAI): address PR review comments - temperature guard, dead toke…
ihoffmann-dot 2a3fa03
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot 9525fc8
Merge branch 'main' into dot-ai-langchain-integration
fabrizzio-dotCMS 4dbf79e
fix(dotAI): warn on temperature <= 0 in prompt()
ihoffmann-dot 871cbda
fix(dotAI): add missing Logger import in CompletionsAPIImpl
ihoffmann-dot 9e82c57
Merge branch 'main' into dot-ai-langchain-integration
ihoffmann-dot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.