getsentry / getsentry/sentry-python
huggingface_hub: Instrument feature_extraction (embeddings)
Ouverte
Improvement
Integration: HuggingFace
Python
Spans
- Langage dominant
- Python
- Étoiles
- 2.2k
- Forks
- 669
- Merge moyen
- 1 j 1 h
- PR mergées (30 j)
- 213
Description
`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`.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.