Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Genearative AI: RAG sample's corpus_name can be either a full file path or the user can pass a corpus id and the file id to the method.

Aperta
#12,658 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@kweinmeister ci sta già lavorando.

Dal 1/10/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

samples
          Note: this can be either a full file path or the user can pass a corpus id and the file id to the method.

From the library:

Args

name
Either a full RagFile resource name must be provided, or a RagCorpus name and a RagFile name must be provided. Format:

    ``projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}``
    or ``{rag_file}``.

corpus_name
If name is not a full resource name, an existing RagCorpus name must be provided. Format:

    ``projects/{project}/locations/{location}/ragCorpora/{rag_corpus}``
    or ``{rag_corpus}``.

Originally posted by @holtskinner in https://github.com/GoogleCloudPlatform/python-docs-samples/pull/12612#discussion_r1768829715

Lingua principale
Jupyter Notebook
Stelle
8.1k
Fork
6.7k
Merge medio
4g 4h
PR unite (30g)
8

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 GoogleCloudPlatform/python-docs-samples

Tutte le issue di GoogleCloudPlatform/python-docs-samples

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.