Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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.

Open
#12,658 0 comments 0 reactions 2 assignees View on GitHub

Maintainers usually reply within 5 days

@kweinmeister is already working on this.

Since Oct 1, 2024.

Assessment

This issue has not been assessed yet.

Description

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

Dominant language
Jupyter Notebook
Stars
8.1k
Forks
6.7k
Avg merge
4d 12h
Merged PRs (30d)
9

Getting set up

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.

More from GoogleCloudPlatform/python-docs-samples

All issues in GoogleCloudPlatform/python-docs-samples

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.