Hello all,
Thank you for taking the time to read my post, I have wasted hours and hours trying to figure this out!
If anybody can possibly tell me how in the world I can call the API as well as have it return the "step-by-step" instructions for each query (if available of course) I would be beyond grateful!!! I hope I didn't just waste 60 bucks for nothing!
I have been messing around with it for probably over 30-40 hours and cannot get any of the useful info returned, such as: podstate, step-by-step solution, etc. I can get the result returned, but have messed with many of the various "Parameters" to return what I need or want it to, and have had no luck. I can get it to return most items, but not the pod that has access to, or can see, the "step-by-step" solution. Please help!!
I am a pro member, I actually got the pro membership specifically for this reason. I use wolfram in OpenAI and I love it, and now I want to integrate it into my "tutor" workflow to study for various math exams, tests, among many other mathematics applied use cases.
If mathmatica can call the API for step by step, why wouldn't the standard WolframAlpha API? I have tried many of the API's, and the only two that do somewhat well are the "converstaional" and the "full results" but neither is returning anything that has to do with the "step-by-step" solution, nor any pods that can see or return any info regarding these pods/subpods.
Just so you can all see, this is an example of one of the many http get requests I have made and sent to the API. Dont be too critical on it, as I am merely trying to tinker to get it to return the output that I am in desperate need of!
Thank you all again for your time and I look very very forward to reading any responses I may get. I am very eager to put this project to rest!
HTTP Request Example:
// Define the API endpoint and parameters
const apiUrl = 'http://api.wolframalpha.com/v2/query';
const appid = 'MY_APP_ID';
const input = `${$json.message.content.equation} step-by-step`;
const format = 'plaintext,mathml';
const output = 'JSON';
// Construct the full URL with query parameters
const url = `${apiUrl}?appid=${appid}&input=${encodeURIComponent(input)}&format=${format}&output=${output}`;
try {
// Perform the HTTP GET request
const response = await this.helpers.httpRequest({
method: 'GET',
url: url,
json: true,
});
return [
{
json: response,
},
];
} catch (error) {
// Handle any errors that occur during the request
throw new Error(`HTTP Request failed: ${error.message}`);
}