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

NingWei_#617_Ai UI Designer for APIs_demo #761

Closed
wants to merge 2 commits into from

Conversation

AllenWn
Copy link
Contributor

@AllenWn AllenWn commented Apr 2, 2025

PR Description

Hi, this is Ning Wei, an applicant for Google Summer of Code 2025, applying for the project "AI UI Designer for APIs" under API Dash.
I've already submitted my proposal on the GSoC official platform.

This PR implements the Schema-Based UI Generator demo, which is the first core functionality in the project. The goal is to:

Parse a sample API response (JSON) to extract field structure (type, key, etc.)

Call LLM (ChatGPT) to recommend appropriate Flutter UI widgets (e.g., TextField, Switch, etc.) for each field

Dynamically render a beautiful Flutter UI based on the schema and AI suggestions

The current implementation uses OpenAI's GPT-3.5 API for prototyping and verification purposes.
It can be easily swapped with a local LLM (e.g., Ollama) during or after the project phase for cost-efficiency and offline deployment.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@AllenWn AllenWn changed the title Ai UI demo NingWei_#617_Ai UI Designer for APIs_demo Apr 2, 2025
@animator
Copy link
Member

animator commented Apr 3, 2025

Your PoC has been reviewed. Thanks for submitting it.

@animator animator closed this Apr 3, 2025
@AllenWn
Copy link
Contributor Author

AllenWn commented Apr 3, 2025

Hi @animator,
Thanks for reviewing my PoC! Let me know if there’s anything I can continue to work on or improve before contributor selection. I’m happy to take on more tasks or refine the current demo further if needed.
Also, if you have any suggestions or feedback on my submitted proposal, I’d really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI UI Designer for APIs
2 participants