getsentry / getsentry/sentry-python
huggingface_hub: Instrument feature_extraction (embeddings)
未关闭
Improvement
Integration: HuggingFace
Python
Spans
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 669
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 213
描述
`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`.
贡献指南
评估
这个 Issue 还没有评估数据。