getsentry / getsentry/sentry-python
huggingface_hub: Instrument feature_extraction (embeddings)
Aberta
Improvement
Integration: HuggingFace
Python
Spans
- Linguagem predominante
- Python
- Estrelas
- 2.2k
- Forks
- 669
- Merge médio
- 1d 1h
- PRs com merge (30d)
- 213
Descrição
`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`.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.