pnp / pnp/proxy-samples

Mock sample: HuggingFace Inference API

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
No language data
Stars
35
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Description

Create a mock sample for the HuggingFace Inference API.

Why

  • Popular platform for accessing ML models
  • Growing use in RAG and AI applications
  • API costs and rate limits during development
  • Enables consistent testing with predictable responses

Suggested endpoints to mock

  • Text generation
  • Embeddings
  • Image generation
  • Model info endpoints
  • Rate limiting and queue responses

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reviewing existing mock samples in the repository and the Dev Proxy mock format, then cover the listed HuggingFace endpoints and predictable rate-limit and queue responses. Done means a sample provides consistent mock behavior for the proposed API areas.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface
Domain
api, machine-learning, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.