[xwiki-contrib/ai-llm] a91b00: LLMAI-82: The vector index isn't wiki-aware
Branch: refs/heads/main Home: https://github.com/xwiki-contrib/ai-llm Commit: a91b00b3e1bf46a5270fa4cf253df4d9022214d0 https://github.com/xwiki-contrib/ai-llm/commit/a91b00b3e1bf46a5270fa4cf253df... Author: Michael Hamann <[email protected]> Date: 2024-06-03 (Mon, 03 Jun 2024) Changed paths: M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Chunk.java M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/ChunkingUtils.java M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/IndexTaskConsumer.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/test/java/org/xwiki/contrib/llm/internal/rest/DefaultDocumentResourceTest.java Log Message: ----------- LLMAI-82: The vector index isn't wiki-aware * Add a wiki field to the vector index and the Chunk class. * Add wiki and collection to the id field. * Set the wiki field when indexing new content. * Set the wiki field when querying documents, but also still return chunks without the wiki field set. * Refactor the code to re-use constants. Commit: 9126f7ed5bec1da96d0a24dbc21625549b375d72 https://github.com/xwiki-contrib/ai-llm/commit/9126f7ed5bec1da96d0a24dbc2162... Author: Michael Hamann <[email protected]> Date: 2024-06-03 (Mon, 03 Jun 2024) Changed paths: M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java Log Message: ----------- [Misc] Improve the readability of the code * Extract some code into methods to increase the readability of the code. Compare: https://github.com/xwiki-contrib/ai-llm/compare/cc0c08b9537e...9126f7ed5bec To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications
participants (1)
-
XWiki Notifications