AI Assistant (Pro feature)
Last updated
Last updated
The Cost Calculator Builder plugin includes a powerful AI Assistant integrated directly into the Formula field. This feature leverages OpenAI’s GPT model, allowing users to create complex formulas by simply writing prompts in plain English.
The AI Assistant takes the hassle out of writing formulas by translating your instructions into a fully functional calculation. Whether you’re creating a simple arithmetic formula or a more complex conditional expression, the AI handles it for you.
Please note that using OpenAI’s API is NOT free. Users need to have an active subscription that suits their usage requirements.
Go to the https://platform.openai.com/api-keys and login to the system:
If you have not done it before, you might be asked to verify your phone number.
Click on the Create new secret key button:
Set the parameters as above, name your project according to your needs, and click on Create Secret Key:
Copy the generated Secret Key:
Follow Cost Calculator Global Settings > AI Formula and paste the key to the designated area. Save the changes:
If this is your first time using the AI Assistant within the calculator, you can paste the API key directly into the calculator as well, and it will be saved for future uses:
And you are done, happy using:
OpenAI charges for its API based on usage, so if you haven’t already set up a payment method for billing, you’ll need to do so. Otherwise, the API key you created won’t function.
To begin, click the settings (cog) icon in the top right corner of the API keys screen:
On the opened page move to the Billing tab and click on Add Payment Details:
Enter your card information and billing:
Set up the payment amount and/or automatic recharge settings according to your needs, and initiate the payment:
Now that you’ve set up billing, it’s a good idea to set usage limits to control your monthly API spending. Simply click Limits in the left menu, set your desired monthly budget, and choose an email notification threshold according to your needs. Finally, click Save to apply your settings.