Developer Knowledge API

借助 Developer Knowledge API,您可以访问 Google 的开发者知识。

服务:developerknowledge.googleapis.com

创建 RPC 客户端存根需要名为 developerknowledge.googleapis.com 的服务。

google.developers.knowledge.v1.DeveloperKnowledge

方法
AnswerQuery 使用接地生成功能回答查询。
BatchGetDocuments 检索多个文档,每个文档都包含完整的 Markdown 内容。
GetDocument 检索单个文档,其中包含完整的 Markdown 内容。
SearchDocumentChunks 在 Google 的开发者文档中搜索开发者知识。

google.developers.knowledge.v1alpha.DeveloperKnowledge

方法
AnswerQuery 使用接地生成功能回答查询。
BatchGetDocuments 检索多个文档,每个文档都包含完整的 Markdown 内容。
GetDocument 检索单个文档,其中包含完整的 Markdown 内容。
SearchDocumentChunks 在 Google 的开发者文档中搜索开发者知识。