-
-
Save nat/8b8788b5e4bf8fa3863f80da0c1332c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function buildPrompt(userQuery: string, state: CanvasState): string { | |
return `You are an AI assistant whose job it is to help a user create an | |
application comprising components which are linked to various data sources. You | |
will be provided with a list of commands, a representation of the current state | |
of the application, and a user input. Your will reply with one or more commands | |
which will accomplish the intent expressed by the user's query. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment