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.
@kweinmeister đang làm issue này rồi.
Từ ngày 1/10/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 8.1k
- Fork
- 6.7k
- Merge trung bình
- 4 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 8
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GoogleCloudPlatform/python-docs-samples
-
samples
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
samples
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
samples
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
samples
GoogleCloudPlatform/python-docs-samples#14117 · 1 người được giao ·
-
samples
GoogleCloudPlatform/python-docs-samples#14091 · 1 người được giao ·