Skip to content

Invoke search-based message extension after users press enter #1557

Open
@yuting1008

Description

Hi,

I am building a search-based message extension. Currently, the extension is invoked whenever the user is typing. This results in multiple queries being sent to the system for each keystroke. For example, if the user types "Azure," the system receives queries for "Az," "Azur," and "Azure."

This behavior can lead to:

  • Unnecessary system load due to redundant API calls.
  • Performance issues affecting user experience.

Is it possible to invoke the search-based message extension only after the user presses Enter, instead of triggering it on every keystroke?

Any guidance or best practices would be greatly appreciated. Thanks!

Activity

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

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions