@fluentui-copilot/react-prompt-input
TypeScript icon, indicating that this package has built-in type declarations

0.10.3 • Public • Published

@fluentui-copilot/react-prompt-input

For internal use only. External use is not supported at this time.

React Prompt Input components for Fluent AI React

PromptInput vs ChatInput

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @fluentui-copilot/react-prompt-input

Weekly Downloads

1,916

Version

0.10.3

License

MIT

Unpacked Size

400 kB

Total Files

46

Last publish

Collaborators

  • justslone
  • micahgodbolt
  • uifabricteam