GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples
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.
- 主要语言
- Jupyter Notebook
- 星标
- 8.1k
- 派生
- 6.7k
- 平均合并
- 4 天 2 小时
- 30 天内合并 PR
- 16
描述
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_
贡献指南
评估
这个 Issue 还没有评估数据。