Branch: refs/heads/waise
Home:
https://github.com/xwiki-contrib/application-ai-llm
Commit: 1183261385d48d50c20403be55005bfdc2f874ee
https://github.com/xwiki-contrib/application-ai-llm/commit/1183261385d48d50…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
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/IndexWorker.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/CurrentUserCollection.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/CurrentUserCollectionManager.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
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/rest/AbstractCollectionResource.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/internal/rest/DefaultCollectionsResource.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/rest/DefaultDocumentResource.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/rest/JSONCollection.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/META-INF/components.txt
Log Message:
-----------
LLMAI-40: Add basic document indexing and querying support
* Add new CollectionManager and Collection implementations that check rights for the
current user and use them in the REST API.
* Construct document references directly instead of resolving strings.
* Add exceptions to a lot of method signatures.
* Clone the collection document before any modification.