getsentry / getsentry/sentry-python
huggingface_hub: Instrument feature_extraction (embeddings)
Đang mở
Improvement
Integration: HuggingFace
Python
Spans
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 669
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 213
Mô tả
`InferenceClient.feature_extraction()` is the HuggingFace equivalent of embeddings. The SDK has `OP.GEN_AI_EMBEDDINGS` defined and both OpenAI and Cohere instrument their embedding methods. This is a meaningful gap for users who use HF for embeddings. Should cover both sync `InferenceClient` and async `AsyncInferenceClient`.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.