Commit graph

3 commits

Author SHA1 Message Date
jinli.yl
78b993f830 refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
jinli.yl
c7fc8255b1 refactor(core): move core module to core_old and update import paths 2026-01-21 16:34:09 +08:00
jinli.yl
af52c0cc04 feat(embedding): add embedding model framework with OpenAI implementation
- Create BaseEmbeddingModel abstract class with async/sync interfaces
- Implement OpenAIEmbeddingModel for asynchronous operations
- Implement OpenAIEmbeddingModelSync for synchronous operations
- Add automatic batching and retry logic for embedding operations
- Add VectorNode embedding functionality for content indexing
- Update type hints in LLM modules to use generic list instead of List
- Refactor LiteLLMSync class documentation and type annotations
- Add comprehensive async and sync unit tests for embedding models
- Add unit tests for BaseContext attribute access patterns
2025-12-31 11:00:57 +08:00