Merged
Conversation
# Conflicts: # src/KoalaWiki/KoalaWiki.csproj
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces significant changes to the
KoalaWikiproject, focusing on the integration of Mem0 capabilities, removal of outdated code, and updates to dependencies and configurations. The most notable changes include adding support for Mem0-based functionality, replacing theBuildCodeIndexclass withMem0Rag, and updating project dependencies to align with new features.Mem0 Integration:
Mem0Ragclass to implement Mem0-based background processing for document and code indexing, including parallel processing and error handling. (src/KoalaWiki/Mem0/Mem0Rag.cs)OpenAIOptionsto include configurations for Mem0, such as enabling Mem0 functionality, API key, and endpoint. (src/KoalaWiki/Options/OpenAIOptions.cs) [1] [2]RagFunctionimplementation with Mem0-based search functionality, introducingMem0Clientfor vector search operations. (src/KoalaWiki/Functions/RagFunction.cs)Code Cleanup and Removal:
BuildCodeIndexclass, which previously handled code indexing using OpenAI embeddings. (src/KoalaWiki/CodeMap/BuildCodeIndex.cs)EmbeddingModelproperty fromEnhancedCodeIndexerand related configurations. (src/KoalaWiki/CodeMap/EnhancedCodeIndexer.cs)Dependency Updates:
Mem0.NETpackage to support Mem0 integration and updated versions of several dependencies, includingModelContextProtocol.AspNetCoreandScalar.AspNetCore. (src/KoalaWiki/KoalaWiki.csproj) [1] [2]src/KoalaWiki/KoalaWiki.csproj)Miscellaneous Changes:
MCPExtensionsto useCallToolResultinstead ofCallToolResponseand updated response handling. (src/KoalaWiki/MCP/MCPExtensions.cs)GenerateDocumentAsyncmethod inWarehouseTool. (src/KoalaWiki/MCP/Tools/WarehouseTool.cs)These changes collectively enhance the project by introducing Mem0-based capabilities, streamlining code, and ensuring compatibility with updated dependencies.