Intro
How it works
Copilot.js is a library with two main roles:
-
Chat UI. It provides a customizable UI for your users to type commands.
-
Action generator. It provides a framework to generate and dispatch actions that accomplish the user's prompt. It works with any AI provider of your choice.
Let's illustrate how the Copilot architecture works, using an example drawing app.