Skip to content

huggingface_hub: Instrument feature_extraction (embeddings) #5847

@ericapisani

Description

@ericapisani

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.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions