Search code examples
microsoft-graph-apimicrosoft-teams

Teams Copilot plugin search calls api per letter. Can we restrict to 3 letters before calling api?


If I type M, Mi, Mic, Micr, Micro ... in the copilot plugin search, our API gets hit nine times before the user types Microsoft.

Is there a way we can restrict the search API request to be hit after 3 letters?


Solution

  • If you use ME and type something, it will call backend multiple times based on the speed you type.

    If you type just one character and wait, it will call API, so it is by design behavior.

    Regarding your ME not working in Outlook, Kindly check if you have enabled Outlook channel or check if you are using correct version of Outlook to test it.