`huggingface_hub`: Set request parameters

Aperta
#7,993 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #8061 di @ansh-rohilla — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
huggingface, python

Direzione di ricerca

Find the huggingface_hub integration in the Python SDK and trace where it records request attributes. Start by checking the existing instrumentation tests for request configuration. Add the listed attributes when provided, and confirm the tests cover each supported parameter.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Improvement Python Spans

Set these attributes if available

#### Configuration Attributes

| Attribute | Required |
|---|---|
| `gen_ai.request.max_tokens` | Required if provided |
| `gen_ai.request.seed` | Required if provided |
| `gen_ai.request.frequency_penalty` | Required if provided |
| `gen_ai.request.presence_penalty` | Required if provided |
| `gen_ai.request.temperature` | Required if provided |
| `gen_ai.request.top_p` | Required if provided |
| `gen_ai.request.top_k` | Required if provided |
Lingua principale
Python
Stelle
2.2k
Fork
713
Merge medio
1g 16m
PR unite (30g)
113

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-python

Tutte le issue di getsentry/sentry-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.