Forum in maintenance, we will back soon 🙂
AI mathematical calculator on WordPress using php
I am trying to create an online calculator for solving mathematical problems using AI. I took as a basis your article contained in the link https://learnwithhasan.com/create-ai-tools-with-wordpress/. So the question arises where to get my API key?
@mathros No OpenAI automatically generates an OpenAI key for you.
At first, I think you have a free trial(not sure). But you usually purchase some credits and use them.Â
For more info, check OpenAI's pricing.
@mathros If you want to start for free you can use Gemini API Key instead of OpenAI. However you'll need to update the code so that it calls the Gemini API.
The following error occurs when trying to solve a mathematical equation.
"An error occurred: API request failed. Response: { "error": { "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors .", "type": "insufficient_quota", "param": null, "code": "insufficient_quota" } }"
I don't quite understand what the initial quota is and how I could exceed it if I started the calculator for the first time
@mathros The quota is the number of credits you charged. So, to keep using the API, you'll have to recharge your account with extra credits.
-
Connect Streamlit to WordPress: Monetize with Custom API Endpoints and Credits System - Building out the wordpress woocommerce store
3 months ago
-
WordPress 5 minutes chatbot dont work for me
5 months ago
-
error Oops! Something went wrong. Please try again
7 months ago
-
Adding UI Files (HTML + CSS + JS) To WordPress
8 months ago
-
How-to in WordPress? Find and replace
9 months ago