Skip to content

gitika123/Prompt-Cleaned-Data-Sample

Repository files navigation

🚀 Prompt2Data

Prompt2Data is a conversational AI tool that turns natural language prompts into structured data specifications. It helps automate dataset generation by capturing goals, schema, and metadata — starting with an intelligent prompt interpreter powered by Claude 4.

Devpost Link - https://devpost.com/software/prompt2data-autonomous-data-pipeline?ref_content=my-projects-tab&ref_feature=my_projects

Think of it as ChatGPT for dataset design and pipeline automation.


✨ Features

  • 🧠 Prompt-to-JSON task parsing using Claude 4 (Anthropic)
  • 💬 Continuous chat context using Streamlit
  • 📦 Outputs a fully structured spec: goal, data fields, location, time, format
  • 🔁 Remembers past instructions, updates specs incrementally
  • ✅ Plug-in ready for multi-agent expansion (dataset search, cleaning, etc.)

🧰 Tech Stack

  • Python 3.9+
  • Streamlit (for UI)
  • Anthropic Claude API (for intent parsing)
  • Dotenv (for API key handling)

🧑‍💻 Local Development Setup (Windows)

✅ Prerequisites


🛠 Step-by-Step Instructions

1. Clone the Repo

git clone https://github.com/your-username/Prompt2Data.git
cd Prompt2Data

2. Create a Virtual Environment

python -m venv venv
venv\Scripts\activate

3. Install Dependencies

pip install streamlit anthropic python-dotenv

4. Create .env File

In your root folder, add a new file called .env:

CLAUDE_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxx

5. Folder Structure Should Look Like:

Prompt2Data/
├── venv/
├── .env
├── intent_ui.py
├── intent_agent.py
├── requirements.txt

▶️ Run the App

streamlit run intent_ui.py

It will open a browser window at:
http://localhost:8501


💡 Example Prompts

I want data on housing prices and crime rates in California
Make it from 2010 to 2020
Output should be a CSV
Add air quality if available

Each message updates your task spec!


🤝 Contributing

PRs and ideas welcome — DM us or submit issues if you’d like to extend agents or plug in other APIs!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages