ReMe/reme_ai/core/embedding
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
..
__init__.py feat(embedding): add embedding model framework with OpenAI implementation 2025-12-31 11:00:57 +08:00
base_embedding_model.py feat(embedding): add embedding model framework with OpenAI implementation 2025-12-31 11:00:57 +08:00
openai_embedding_model.py feat(embedding): add embedding model framework with OpenAI implementation 2025-12-31 11:00:57 +08:00
openai_embedding_model_sync.py feat(embedding): add embedding model framework with OpenAI implementation 2025-12-31 11:00:57 +08:00