azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest exposes max_output_documents in docs, but nothing on documentation

未關閉
#48,880 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
58/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
azure, python
領域
documentation

研究方向

從 KnowledgeBaseRetrievalRequest 文件頁面及其內容來源 docs-ref-autogen/azure-search-documents/azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.yml 開始。將文件中記錄的屬性與 azure-search-documents 12.1.0b1 進行比較,重點關注 max_output_documents 和報告中顯示的其他選項。完成的標準是:可用的要求選項在產生的文件中得到準確呈現,並且報告的八項行為得到釐清。

由索引模型根據 Issue 內容生成。

描述

Search Service Attention
Type of issue

Code doesn't work

Description

Trying to query an Az AI Search KnowledgeBase, using max_output_documents parameter (see attached image). It doesn't work, responses are restricted to 8 items in output list.

Image

Further, this option and a host of other options from this screenshot are not even visible in documentation at: KnowledgeBaseRetrievalRequest Class

We are using

azure-search-documents 12.1.0b1

Page URL

https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.knowledgebases.models.knowledgebaseretrievalrequest?view=azure-python

Content source URL

https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/docs-ref-autogen/azure-search-documents/azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.yml

Document Version Independent Id

a41b5505-fffb-320a-4896-4f3cf7523d13

Platform Id

9fd583f0-23f7-3148-e325-b2d4037397cc

Article author

@lmazuel

Metadata
  • ID: 0fb3656f-e3c9-38d5-f7f4-e7f454536535
  • PlatformId: 9fd583f0-23f7-3148-e325-b2d4037397cc
主要語言
Python
星號
5.6k
分支
3.4k
平均合併
1 天 22 小時
30 天內合併 PR
189

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Azure/azure-sdk-for-python 的其他 Issue

查看 Azure/azure-sdk-for-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。