{"id":31629777,"url":"https://github.com/snxtyle/rag-enhanced-content-generator-and-draft-polisher","last_synced_at":"2026-05-09T16:47:12.850Z","repository":{"id":300760036,"uuid":"999367460","full_name":"snxtyle/RAG-Enhanced-Content-Generator-and-Draft-Polisher","owner":"snxtyle","description":"This is a Content Refiner Model which will help freelancers or the employees to prompt their draft and get a polished refined output draft that is professional and clean.","archived":false,"fork":false,"pushed_at":"2025-06-23T12:28:27.000Z","size":167,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T22:43:22.621Z","etag":null,"topics":["artificial-intelligence","content-generator","llm","python","rag"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snxtyle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T06:35:09.000Z","updated_at":"2025-06-23T12:28:30.000Z","dependencies_parsed_at":"2025-06-23T13:32:36.512Z","dependency_job_id":"e291e553-4984-4bb7-8400-f7ed7baf1789","html_url":"https://github.com/snxtyle/RAG-Enhanced-Content-Generator-and-Draft-Polisher","commit_stats":null,"previous_names":["kurai-sx/rag-enhanced-content-generator-and-draft-polisher","snxtyle/rag-enhanced-content-generator-and-draft-polisher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/snxtyle/RAG-Enhanced-Content-Generator-and-Draft-Polisher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snxtyle%2FRAG-Enhanced-Content-Generator-and-Draft-Polisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snxtyle%2FRAG-Enhanced-Content-Generator-and-Draft-Polisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snxtyle%2FRAG-Enhanced-Content-Generator-and-Draft-Polisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snxtyle%2FRAG-Enhanced-Content-Generator-and-Draft-Polisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snxtyle","download_url":"https://codeload.github.com/snxtyle/RAG-Enhanced-Content-Generator-and-Draft-Polisher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snxtyle%2FRAG-Enhanced-Content-Generator-and-Draft-Polisher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686633,"owners_count":26028325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","content-generator","llm","python","rag"],"created_at":"2025-10-06T21:57:01.121Z","updated_at":"2025-10-06T21:57:05.562Z","avatar_url":"https://github.com/snxtyle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Campaign Draft Generator + Polisher (RAG + ChromaDB + OpenAI)\n\nThis is a Streamlit-based tool that allows content creators to either:\n- 🪄 **Generate** a full campaign story from a simple idea and category, or\n- 📝 **Polish** an existing draft using SOP guidelines, past campaigns, and banned keyword filters.\n\nIt uses:\n- **OpenAI GPT-4** for generation + refinement\n- **ChromaDB** for storing and retrieving past content contextually\n- **LangChain** for chunking and embedding logic\n\n---\n\n## 🎯 Use Cases\n\n- Crowdfunding platforms like Donatekart, Milaap, Ketto\n- NGOs creating stories across categories like Medical, Hunger, Elderly, Animals, Education\n- Freelancers or content teams streamlining campaign creation\n\n---\n\n## ✨ Features\n\n- 🪄 **Generate from Idea**: Create new stories from a category + objective\n- 🧠 **RAG-Based Polishing**: Retrieve examples and SOPs based on category and refine the draft accordingly\n- ❌ **Banned Keyword Filtering**: Enforces content compliance using rule-based PDF\n- 🔄 **Self-Learning**: Saves polished outputs to ChromaDB for better future retrieval\n- 💬 Built using **Streamlit** UI\n\n---\n\n## 🚀 Installation\n\n```bash\ngit clone https://github.com/YOUR_USERNAME/campaign-draft-tool.git\ncd campaign-draft-tool\npip install -r requirements.txt\n```\n## ⚙️ Usage\n```bash\nstreamlit run app.py\n```\n\n## 📃 License\nSuraj's License – free to use and modify.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnxtyle%2Frag-enhanced-content-generator-and-draft-polisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnxtyle%2Frag-enhanced-content-generator-and-draft-polisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnxtyle%2Frag-enhanced-content-generator-and-draft-polisher/lists"}