Commit graph

1 commit

Author SHA1 Message Date
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