Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create custom GPT and use action to communicate with MAIDR API #373

Open
4 tasks done
sandeep-ps opened this issue Jan 26, 2024 · 3 comments
Open
4 tasks done
Assignees
Labels
enhancement New feature or request medium priority

Comments

@sandeep-ps
Copy link
Contributor

Feature Request

Description

Create a custom GPT using GPT Builder that can understand MAIDR JSON and use Action to let it communicate with MAIDR API.

Motivation

We want GPT to understand MAIDR JSON, generate that from the SVG file, and send it to MAIDR API to generate MAIDR-enabled HTML files.

Proposed Solution

Create a custom GPT using GPT builder and give examples of MAIDR SVG and JSON so that it can learn the expected format.

Additional Context

Add any additional context or screenshots about the feature request here.

Checklist

  • I have searched for similar feature requests and confirmed that this is a new request.
  • I have provided a clear and concise description of the feature.
  • I have explained the motivation behind this feature request.
  • I have outlined a proposed solution or ideas for implementing this feature.
  • [N/A] I have provided any additional context or screenshots if applicable.
@sandeep-ps sandeep-ps added enhancement New feature or request high priority labels Jan 26, 2024
@sandeep-ps sandeep-ps self-assigned this Jan 26, 2024
@sandeep-ps
Copy link
Contributor Author

I am working on creating a custom GPT. After providing couple of SVG examples, and the JSON format data, and other instructions related to this, it looks like the GPT is expecting text labels within the SVG element:

It appears that there are no text elements with IDs in the SVG file you provided, which is unusual for a typical bar chart SVG. Without these text elements, it's challenging to extract specific information such as the chart title, axis labels, and data values.

To proceed, I can attempt a different approach to analyze the SVG structure. This might involve looking for other elements that could potentially contain the necessary data for the MAIDR format JSON. Let's try this alternative method.

I will try to provide better instructions to the custom GPT and also try with other image file formats.

@sandeep-ps
Copy link
Contributor Author

I created two Custom GPTs and shared documentation containing URLs and configuration details with the team.

@sandeep-ps
Copy link
Contributor Author

Tasks after discussing with the team:

  1. Create a revised Custom GPT that uses PNG and JPEGs
  2. Find alternate means for Custom GPT to communicate with MAIDR API. This can be a base64 encoded string, but the MAIDR API expects SVG content. So, probably, some conversion needs to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium priority
Projects
None yet
Development

No branches or pull requests

2 participants