_Ahmed
((Mr. Koder))
March 20, 2025, 1:01pm
21
I have already added this feature in this topic of MIT app inventor
But I don’t update this topic here in kodular yet
1 Like
I guess websearch requires an extension update. I already purchased, can you send me the update?
_Ahmed
((Mr. Koder))
March 22, 2025, 12:41am
24
Two new fantastic features added to the ChatGPT extension
Now this extension is the most advanced extension in the whole community that creates chat conversation with chat GPT models via chat GPT API
1. Web search
Allow models to search the web for the latest information before generating a response.
2. Structured Outputs
Ensure responses adhere to a JSON schema.
_Ahmed:
The RequestCustomStructuredOutput function allows you to send a prompt to an OpenAI model and receive a response structured according to a custom JSON schema. This ensures that the model’s output adheres to a specific format, facilitating easier parsing and integration into applications.
apiKey (String): Your OpenAI API key for authentication.
modelName (String): The identifier of the OpenAI model to use (e.g., “gpt-4o-2024-08-06”).OpenAI
systemInstruction (String): Instructions provided to the model to set context or behavior.
userRequest (String): The user’s input or query that the model will respond to.
customSchema (String): A JSON-formatted string defining the desired structure of the model’s output. you can get your customized Schema from here
The RequestCustomStructuredOutputVision function
Description:
Sends a prompt to an OpenAI model using both text and image inputs. This function accepts a custom JSON schema to structure the output and supports image sources provided as URLs or local file paths (which are encoded in Base64).
Parameters:
apiKey (String): Your OpenAI API key.
modelName (String): The identifier of the model (e.g., “gpt-4o-2024-08-06”).
systemInstruction (String): Instructions to set the context for the model.
userRequest (String): The main text prompt from the user.
customSchema (String): A JSON-formatted string defining the expected structure of the model’s response.
imageSources (YailList): A list of image source strings. Each item can be either a URL (starting with “http://” or “https://”) or a local file path.
Events:
RespondedToCustomStructuredOutput(String response): Triggered when the model returns a response adhering to the custom schema. The response parameter contains the structured data as a JSON string.
CustomStructuredOutputError(String errorMessage): Triggered when an error occurs during the request. The errorMessage parameter provides details about the issue.
Considerations:
Schema Validation: Ensure that the customSchema parameter is a valid JSON schema. An invalid schema may result in errors or unexpected behavior.
Model Compatibility: Verify that the specified modelName supports structured outputs. For instance, models like gpt-4o-2024-08-06 are designed to adhere strictly to provided schemas.
And ChatGPT is api is the most costly api
Tools, Extensions and Newsletters powered by @techxsarthak
Browse my extensions here . Subscribe to my MIT AI2 newsletter for free here .
2 Likes
_Ahmed
((Mr. Koder))
March 22, 2025, 2:50am
26
Does your extension has the ability to create continuous chat context or streaming support?
A
I have already developed Gemini extension which has a very big quote in the free plan with fantastic and advanced features .
It’s a very good alternative!
[Gemini]
The Gemini extension for AI2 interacts with Google Gemini-Pro & Gemini-Pro-Vision models (used by Bard) for text generation and streaming.
Features of the Gemini Extension for AI2:
[_- visual selection (1)]
Gemini API Text Generation: Use various Gemini models.
Image Generation: Create new images from text prompts.
Image Editing: Modify existing images via text (path/Base64).
Streaming Text Generation: Real-time, interactive responses.
Vision Support: Text from images, vid…
2 Likes
_Ahmed
((Mr. Koder))
March 22, 2025, 4:44am
28
I am just asking to know the features, I don’t mean to be the who you imagine form asking my question
Cool ! I am waiting for this great update!
1 Like
_Ahmed
((Mr. Koder))
May 30, 2025, 6:06pm
33
This should be a list of dictionaries, not just a dictionary
so add list block before the dictionary block like this below :
This method show how to form a continous chat
2 Likes
_Ahmed
((Mr. Koder))
June 7, 2025, 10:29pm
34
ChatGPT extension updated by adding new models
you can now use these models :
gpt-4.1
gpt-4.1-mini
gpt-4.1-nano
o3
o4-mini