Skip to content

azure-search-documents 12.1.0b1 no longer exports KnowledgeRetrievalReasoningEffort from azure.search.documents.indexes.models #47872

Description

@pamelafox

Package Name
azure-search-documents

Package Version
12.1.0b1

Operating System
macOS

Python Version
3.14

Describe the bug
KnowledgeRetrievalReasoningEffort is no longer publicly importable from azure.search.documents.indexes.models in 12.1.0b1.

The preview KnowledgeBase docs still reference retrieval_reasoning_effort as using this type, but the symbol is not actually exported from the public models namespace.

To Reproduce

  1. Install azure-search-documents==12.1.0b1
  2. Run:
from azure.search.documents.indexes.models import KnowledgeRetrievalReasoningEffort
print(KnowledgeRetrievalReasoningEffort)

Expected behavior
KnowledgeRetrievalReasoningEffort should be publicly exported from azure.search.documents.indexes.models.

Actual behavior
The import fails.

Screenshots
N/A

Additional context
This creates a mismatch between the preview documentation and the actual public Python surface. If the intended pattern is now to pass string values directly, the docs should reflect that. Otherwise, the enum should be exported again.

Metadata

Metadata

Assignees

Labels

SearchService AttentionWorkflow: This issue is responsible by Azure service team.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions