MicrosoftLearning / mslearn-knowledge-mining

Lab files for Azure AI Knowledge Mining modules
https://microsoftlearning.github.io/mslearn-knowledge-mining/
MIT License
76 stars 143 forks source link

Update search_query to use the correct parameter order #33

Closed phuongnamly closed 3 months ago

phuongnamly commented 5 months ago

Describe your changes

  1. Change from search_query(SearchTerms, SortOrder, FilterExpression) to search_query(SearchTerms, FilterExpression, SortOrder) to use the correct parameter order search_query(string searchText, string filterBy, string sortOrder)
  2. Within search_query, use the parameters instead of global variables