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

Open
#48,880 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, python
Domain
documentation

Research direction

Start with the KnowledgeBaseRetrievalRequest documentation page and its content source, docs-ref-autogen/azure-search-documents/azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.yml. Compare the documented properties with azure-search-documents 12.1.0b1, focusing on max_output_documents and the other options shown in the report. Done means the available request options are accurately exposed in the generated documentation and the reported eight-item behavior is clarified.

Written by the indexing model from the issue text.

Description

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
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 22h
Merged PRs (30d)
189

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-sdk-for-python

All issues in Azure/azure-sdk-for-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.