feat: integrate LazyLLM to provide more llm services #265
+501
−1
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.
Feature Overview
examples/example_5_with_lazyllm_client.pycovering conversation memory processing, skill extraction, and multimodal memory generation scenarios.tests/test_lazyllm.pyto verify LazyLLM backend configuration and basic functionalityCore Changes
1. New LazyLLM Client Implementation (
src/memu/llm/lazyllm_client.py)LazyLLMClientclass with a unified interface.qwenqwen-plus, providessummarize()methodqwen-vl-plus, providesvision()methodtext-embedding-v3, providesembed()methodqwen-audio-turbo, providestranscribe()method2. One New Example Programs
examples/example_5_with_lazyllm_client.py1. Multi-conversation file processing → Memory category generation
2. Workflow/agent logs → Skill extraction (task guidelines)
3. Document + image multimodal processing → Unified memory categories
examples/output/lazyllm_example/Testing Steps
Prerequisites
pip install lazyllmtests/test_lazyllm.py,Defautqwenexport MEMU_QWEN_API_KEY='your-api-key'Test Commands