Azure / Azure/azure-sdk-for-python
azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest exposes max_output_documents in docs, but nothing on documentation
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 3.4k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 213
説明
### 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.
Further, this option and a host of other options from this screenshot are not even visible in documentation at: [KnowledgeBaseRetrievalRequest Class](https://learn.microsoft.com/en-us/python/api/azure-search-documents/azure.search.documents.knowledgebases.models.knowledgebaseretrievalrequest?view=azure-python)
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
コントリビューションガイド
調査の方向性
KnowledgeBaseRetrievalRequest のドキュメントページと、そのコンテンツソースである docs-ref-autogen/azure-search-documents/azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.yml から始めます。ドキュメント化されているプロパティを azure-search-documents 12.1.0b1 と比較し、max_output_documents とレポートに示されているその他のオプションに重点を置きます。生成されたドキュメントで利用可能なリクエストオプションが正確に公開され、報告されている8項目の動作が明確になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- documentation
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 58/100