Appsmith AI
This page provides information on creating queries with Appsmith AI, which allows you to configure applications with advanced AI features such as text generation, image classification, and sentiment analysis without the need for any API keys or datasource authentication.
Appsmith is committed to providing safe and responsible access to AI capabilities. Your prompts, outputs, embeddings, and data are not shared with other users and are never utilized to fine-tune models.
Connect Appsmith AI
Connection parameters
The following section is a reference guide that provides a complete description of all the parameters to connect to the datasource.
Files
You have the option to enhance text generation by uploading specific files for context. The maximum allowable file size is 20 MB; compress your file if the size exceeds 20 MB.
Submission of files is not mandatory, and you can use Appsmith AI without uploading any files.
For example, if you are working on a loan approval application and want to upload an SOP for insights into user preferences and financial details, the system uses the provided information to generate tailored recommendations and guidance.
Query Appsmith AI
The following section is a reference guide that provides a description of the available commands with their parameters to create Appsmith AI queries.
Generate text
The Generate Text action allows you to generate text based on specific prompts.
Prompt
This field allows you to input prompts for text generation. You can also add data from queries or JSObjects using mustache bindings {{}}
, like {{user_Input.text}}
.
Example:
- With file as context
- Without File
You are helpful assistant who can help loan agents with loan approval or rejection recommendations. Analyse the loan details and generate a recommendation based on the SOP document that you have access to.
Loan details:
Credit score: `{{tbl_users.selectedRow.creditscore}}`
DTI Ratio: `{{tbl_users.selectedRow.dtiratio}}`
Your response should contain a recommendation followed by a list of all reasons. The format should be:
Recommendation: `<your recommendation. Possible values: (Approve/Conditional Approve/Reject)>`
Reasons: `<your reasons>`
Write a creative product description for an electric car named RevaX, with the keywords- fast charging, 200 miles per single charge, compact, eco-friendly, economical. This is targeted towards a climate concious tech/EV enthusiast who enjoys driving. Also describe the benefits of this product in less than 80 words.
Use context from files
Enhance the quality of AI responses by selecting relevant files that provide context.
Upload your files through the datasource to enable the system to better understand and generate more accurate and context-aware responses.