yusyus
b475b51ad1
feat: Add custom embedding pipeline (Task #17)
- Multi-provider support (OpenAI, Local)
- Batch processing with configurable batch size
- Memory and disk caching for efficiency
- Cost tracking and estimation
- Dimension validation
- 18 tests passing (100%)
Files:
- embedding_pipeline.py: Core pipeline engine
- test_embedding_pipeline.py: Comprehensive tests
Features:
- EmbeddingProvider abstraction
- OpenAIEmbeddingProvider with pricing
- LocalEmbeddingProvider (simulated)
- EmbeddingCache (memory + disk)
- CostTracker for API usage
- Batch processing optimization
Supported Models:
- text-embedding-ada-002 (1536d, $0.10/1M tokens)
- text-embedding-3-small (1536d, $0.02/1M tokens)
- text-embedding-3-large (3072d, $0.13/1M tokens)
- Local models (any dimension, free)
Week 2: 8/9 tasks complete (89%)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 13:48:05 +03:00
..
2026-02-07 13:39:43 +03:00
2026-01-31 17:03:40 +03:00
2026-02-03 21:37:54 +03:00
2026-01-17 17:48:15 +00:00
2026-02-05 22:08:37 +03:00
2026-02-05 22:08:37 +03:00
2026-02-05 22:18:27 +03:00
2026-01-17 23:25:12 +03:00
2026-02-03 21:37:54 +03:00
2026-02-03 21:37:54 +03:00
2026-01-31 21:30:00 +03:00
2026-01-31 14:56:00 +03:00
2026-02-02 21:06:01 +03:00
2026-01-17 23:25:12 +03:00
2026-01-17 17:29:21 +00:00
2026-02-03 21:37:54 +03:00
2026-02-04 21:16:13 +03:00
2026-02-07 13:48:05 +03:00
2026-02-04 10:14:20 +01:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:25:12 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:25:12 +03:00
2026-02-02 21:06:01 +03:00
2026-01-27 21:10:40 +03:00
2026-01-31 22:17:19 +03:00
2026-02-07 13:42:14 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-02-04 21:01:40 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:56:24 +03:00
2026-01-18 00:01:30 +03:00
2026-02-05 23:50:02 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 17:48:15 +00:00
2026-02-07 13:45:01 +03:00
2026-01-17 17:29:21 +00:00
2026-02-07 13:39:43 +03:00
2026-02-05 22:18:27 +03:00
2026-01-31 21:30:00 +03:00
2026-01-27 21:11:21 +03:00
2026-01-17 23:33:34 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:25:12 +03:00
2026-02-03 21:37:54 +03:00
2026-01-17 17:48:15 +00:00
2026-02-07 13:39:43 +03:00
2026-01-17 17:48:15 +00:00
2026-02-03 21:37:54 +03:00
2026-01-17 23:25:12 +03:00
2026-01-18 00:01:30 +03:00
2026-01-27 21:10:40 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 22:54:40 +03:00
2026-01-17 22:54:40 +03:00