Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞[handle wikipedia disambiguation error with user selection] #447

Closed
MudadlaYogitha opened this issue Oct 24, 2024 · 0 comments
Closed

Comments

@MudadlaYogitha
Copy link

🐞 Bug Description

When a wikipedia.exceptions.DisambiguationError occurs, the program simply prints a list of disambiguation options without allowing the user to select an appropriate option. This results in a poor user experience, as the search cannot continue without manual intervention or retry.

💡 Expected Behavior

When a DisambiguationError occurs, the program should display a list of possible options to the user and prompt them to select the correct one. Once the user selects an option, the program should retry the search with the chosen term and display the summary accordingly.

📷 Screenshots

If applicable, add screenshots to help explain your problem.

🖥️ System Information

  • OS: [e.g., Windows, MacOS]
  • Python version: [e.g., 3.9]
  • Library versions: [e.g., 1.4.0]

📜 Additional Context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants