Branch: refs/heads/main
Home: https://github.com/xwiki-contrib/ai-llm
Commit: 3c9958599bfc2866b0466b66bf8546ca644af091
https://github.com/xwiki-contrib/ai-llm/commit/3c9958599bfc2866b0466b66bf85…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/RAGChatRequestFilter.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/AbstractChatRequestFilter.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatMessage.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatModel.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatRequest.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatRequestFilter.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatRequestParameters.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatResponse.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/ChatRequestConverter.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/ChatResponseConverter.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/FilteringOpenAIChatModel.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/OpenAIChatModel.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/rest/DefaultChatCompletionsResource.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChoice.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChunk.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChunkChoice.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionRequest.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionResult.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatMessage.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Context.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Usage.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/rest/ChatCompletionsResource.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/resources/META-INF/components.txt
Log Message:
-----------
LLMAI-45: Create a new Java API for chat models
* Add classes for the OpenAI chat completion API in our own code instead of relying on a dependency as the dependency is not updated anymore and we need our own extensions.
* Use these new classes also in internal APIs and remove the conversion steps.
Commit: 52f51928aecaf2342016d39cbd6630aefade4fd7
https://github.com/xwiki-contrib/ai-llm/commit/52f51928aecaf2342016d39cbd66…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChoice.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChunk.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionChunkChoice.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionRequest.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatCompletionResult.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/ChatMessage.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Context.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Usage.java
Log Message:
-----------
LLMAI-45: Create a new Java API for chat models
* Fix Jackson serialization of the new Java API
Commit: 04281aae00aafd2f113f0c72780031a3c84fbb45
https://github.com/xwiki-contrib/ai-llm/commit/04281aae00aafd2f113f0c727800…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/ChatModel.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/AbstractModel.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultChatModelManager.java
Log Message:
-----------
LLMAI-45: Create a new Java API for chat models
* Filter invalid chat models that don't have a valid server configuration
Commit: 99e0a85e2e74f3602a4e29e5bd099d76a8eff5fb
https://github.com/xwiki-contrib/ai-llm/commit/99e0a85e2e74f3602a4e29e5bd09…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/RAGChatRequestFilter.java
Log Message:
-----------
LLMAI-49: Query support
* Add sources to non-streaming responses.
Commit: 4ffb6a09ed4c66ab29de583ff43cf07c4b098f52
https://github.com/xwiki-contrib/ai-llm/commit/4ffb6a09ed4c66ab29de583ff43c…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/CollectionManager.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/SolrConnector.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/AiLLMSolrCoreInitializer.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/RAGChatRequestFilter.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResource.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/rest/JSONCollection.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/AuthorizationManagerDescriptor.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsClass.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsSheet.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTemplate.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Context.java
Log Message:
-----------
LLMAI-48: API for authorization
* Remove the rightsCheckMethodParam as it isn't needed.
* Introduce a new AuthorizationManagerBuilder role.
* Add support for dynamically defined authorization parameters in the REST API.
* Add support for setting authorization parameters in the UI with a custom sheet and XClass to store them depending on the chosen authorization method.
* Use the Context class in the whole code that deals with results from Solr.
* Store the collection name in the context.
* Change the collection field in Solr to only contain a single value and add a migration to change the type.
* Filter results in the collection manager based on the configured authorization manager.
* Add a public authorization method.
Commit: d6030872179b993124c9acbad8e0970cab0c121c
https://github.com/xwiki-contrib/ai-llm/commit/d6030872179b993124c9acbad8e0…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/ExternalAuthorizationConfiguration.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequest.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequestBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/JWTUser.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/LDAPUser.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/PublicAuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
A application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilderTest.java
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M application-ai-llm-index/application-ai-llm-index-ui/pom.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
A application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationClass.xml
A application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationSheet.xml
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/HttpClientFactory.java
Log Message:
-----------
LLMAI-48: API for authorization
* Move authorization-related classes into an authorization package
* Add a new "external" authorization manager that queries an external API.
* Make the HttpClientFactory usable in other packages.
Compare: https://github.com/xwiki-contrib/ai-llm/compare/3cf74bc61a39...d6030872179b
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications
Branch: refs/heads/waise
Home: https://github.com/xwiki-contrib/ai-llm
Commit: 4ffb6a09ed4c66ab29de583ff43cf07c4b098f52
https://github.com/xwiki-contrib/ai-llm/commit/4ffb6a09ed4c66ab29de583ff43c…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/CollectionManager.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/SolrConnector.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/AiLLMSolrCoreInitializer.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/RAGChatRequestFilter.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResource.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/rest/JSONCollection.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/AuthorizationManagerDescriptor.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsClass.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsSheet.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTemplate.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Context.java
Log Message:
-----------
LLMAI-48: API for authorization
* Remove the rightsCheckMethodParam as it isn't needed.
* Introduce a new AuthorizationManagerBuilder role.
* Add support for dynamically defined authorization parameters in the REST API.
* Add support for setting authorization parameters in the UI with a custom sheet and XClass to store them depending on the chosen authorization method.
* Use the Context class in the whole code that deals with results from Solr.
* Store the collection name in the context.
* Change the collection field in Solr to only contain a single value and add a migration to change the type.
* Filter results in the collection manager based on the configured authorization manager.
* Add a public authorization method.
Commit: d6030872179b993124c9acbad8e0970cab0c121c
https://github.com/xwiki-contrib/ai-llm/commit/d6030872179b993124c9acbad8e0…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManager.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/ExternalAuthorizationConfiguration.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
R application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequest.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequestBuilder.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/JWTUser.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/LDAPUser.java
A application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/PublicAuthorizationManagerBuilder.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
A application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilderTest.java
M application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M application-ai-llm-index/application-ai-llm-index-ui/pom.xml
M application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
A application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationClass.xml
A application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationSheet.xml
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/HttpClientFactory.java
Log Message:
-----------
LLMAI-48: API for authorization
* Move authorization-related classes into an authorization package
* Add a new "external" authorization manager that queries an external API.
* Make the HttpClientFactory usable in other packages.
Compare: https://github.com/xwiki-contrib/ai-llm/compare/99e0a85e2e74...d6030872179b
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications