For internal use only. External use is not supported at this time.
React Prompt Input components for Fluent AI React
PromptInput
is used to create a prompting experience when drafting a document. This component is especially useful when you have a dense experience, such as Microsoft Word, and the AI will interact with the content of this experience. ChatInput
, in contrast, is meant to hold a conversation with Copilot.
An example could be having a document that explains a scientific procedure of an experiment and you want Copilot to help you write a conclusion for this report. In this case you could press the copilot button and the PromptInput
will appear letting you type "Write a conclusion about this document" and from there you will continue drafting this conclusion either by adjusting your prompt or by accepting the written conclusion.