-
Notifications
You must be signed in to change notification settings - Fork 61
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
MOST IMPORTANT: Add a repair flow #24
Comments
Example: The header is broken for this website |
i have the above issues could you please explain how to fix this |
Here is the possible approach i write code for :
|
That's a great approach @vikaswakde , but how will google vision identify the broken components. |
Google Cloud Vision API doesn't directly identify broken components or layout issues. Instead, it provides us with information about the contents of the image, which we then interpret to infer potential issues. Here's how it actually works:
This function infers potential issues by: this is just one possible way, |
@vikaswakde got it. |
@vikaswakde are u working on this? |
@pramaths I have proposed one possible approach, Otherwise, if you find, a more better and faster approach, you can raise the pr |
@vikaswakde why vision API from Google why not Claude vison API? |
hey @pramaths sorry for the late reply, but yes Claude's vision could be better suited for this project not Google's vision |
@vikaswakde are u able to extract images from given website? |
you mean screenshots ? not yet |
@vikaswakde I am able extract the images using playwright/puppeteer from the URL, now the problem is the API, to generate a new component we need paid API, free API doesn't work (tokens are not enough), with free plan |
|
Currently the tools work by splitting the project into js and html files
Sometimes some components get broken and show up with some issues when webpage is viewed.
You can view all generated websites here:
https://shipstation.ai/all
Check out as many websites as you can and spot whatever issues you find and a patttern of where AI is breaking or giving poor output.
Effectively, we need to add a "analyse and repair" website tool.
One of the approach for the tool is:
We need to aim to fix both visual aspect of things and try to fix broken carousels, buttons etc which are supposed to do work but dont. Text and other colors used should also have good contrast ration with the backgrounds as well. You
We are open to any other approach as well which is faster, smarter and more reliable.
The text was updated successfully, but these errors were encountered: