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

オープン
#48,880 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 とレポートに示されているその他のオプションに重点を置きます。生成されたドキュメントで利用可能なリクエストオプションが正確に公開され、報告されている8項目の動作が明確になれば完了です。

索引モデルが 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時間
マージ済み PR(30日)
189

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/azure-sdk-for-python のほかの issue

Azure/azure-sdk-for-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。