Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add sample code to measure latency on TextEmbeddingModel

Offen
#11,404 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Es ist keine Datei und kein Test angegeben. Beginne damit, vorhandene TextEmbeddingModel-Beispiele im Repository zu finden, und orientiere dich an deren Einstiegspunkten und Konventionen. Erledigt ist die Aufgabe, wenn ein neues Beispiel den angegebenen Text N-mal sendet, jede Anfrage misst und die Latenzen des 50., 95. und 99. Perzentils ausgibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

priority: p3 samples triage me type: feature request

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

The issue you're having must be related to a file in this repository. We are unable to provide assistance for issues unrelated to samples in this repository.

Please include as much information as possible:

Is your feature request related to a problem? Please describe.

Customer is looking for an authoritative way to properly measure the latency on a given model of TextEmbeddingModel

Describe the solution you'd like.

I would like to contribute by adding a new file with a code to send a given text N times, measure the time on each request and grouping them in percentiles 50, 95 and 99.

Describe alternatives you've considered.

I have not thought on any other alternative.

Additional context.

This is useful for those early adapters who want to make sure and confirm that this is indeed a reliable solution for the enterprise.

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Vorherrschende Sprache
Jupyter Notebook
Sterne
8.1k
Forks
6.7k
Ø Merge
4 T. 4 Std.
Gemergte PRs (30 T.)
8

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GoogleCloudPlatform/python-docs-samples

Alle Issues in GoogleCloudPlatform/python-docs-samples

Ähnliche Issues

Weitere Issues zu Machine Learning

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.