Skip to content

Mayyyk/ai-website-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered JSON Schema Editor

A Python-based application that uses OpenAI's GPT-4 to intelligently modify JSON schemas based on natural language requests.

Features

  • Intelligent Section Analysis: Uses GPT-4 to identify which sections of the JSON need modification based on user requests
  • JSON Processing: Validates and formats JSON modifications to ensure data integrity
  • Multi-Agent System: Employs multiple AI agents for different tasks:
    • Section Analyzer: Determines which parts of the JSON need changes
    • JSON Processor: Formats and validates JSON modifications
    • JSON Modifier: Implements changes while preserving the original structure

Current workflow explanation

So currently we've got two JSON files, the copy one is the full one but I'm using the modified one to work with, it has only hero section - I don't want to burn tokens by sending the full JSON every time. The most important thing is that it works - the modification get written into the input JSON file.

To-implement

Currently the system only works with the solution-section.json file. It should be able to work with any JSON file. Also, it'll overwrite the original file with the modified one and it'll be dynamically linked to the frontend.

And of course all of the other features like image input/output, etc...

How to run:

install requirements:

pip install -r requirements.txt

create .env file in the backend folder and add your OpenAI API key:

OPENAI_API_KEY=<your_openai_api_key>

run the script:

python backend/main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published