{"id":16175465,"url":"https://github.com/app-generator/ai-processor","last_synced_at":"2026-03-18T18:15:34.338Z","repository":{"id":235534776,"uuid":"790873792","full_name":"app-generator/ai-processor","owner":"app-generator","description":"AI Processor - SQLite / DB information Extractor using Human Language | AppSeed","archived":false,"fork":false,"pushed_at":"2024-05-02T10:42:57.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:49:21.122Z","etag":null,"topics":["ai-for-databases","ai-ml-starter","ai-starter","ai-template","ml-starter","ml-template","openai-python","openai-sqlite","python-ai-starter","python-ml-starter","sqlite-to-ai"],"latest_commit_sha":null,"homepage":"https://github.com/app-generator/ai-processor","language":null,"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/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-04-23T17:25:53.000Z","updated_at":"2024-05-02T10:42:37.000Z","dependencies_parsed_at":"2024-05-02T10:54:13.990Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/ai-processor","commit_stats":null,"previous_names":["app-generator/ai-processor"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/ai-processor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fai-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fai-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fai-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fai-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/ai-processor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fai-processor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29286837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai-for-databases","ai-ml-starter","ai-starter","ai-template","ml-starter","ml-template","openai-python","openai-sqlite","python-ai-starter","python-ml-starter","sqlite-to-ai"],"created_at":"2024-10-10T04:44:53.639Z","updated_at":"2026-02-10T00:03:37.732Z","avatar_url":"https://github.com/app-generator.png","language":null,"readme":"# `DataBase` [AI Processor](https://github.com/app-generator/ai-processor)\n\nSimple tool that extracts information from an SQLite source using human language queries. The stack uses a `NextJs` frontend and a `Django` (API) for users management and OpenAI interface.  \n\n\u003cbr /\u003e\n\n\u003e Download Sources: private repository, for access contact [AppSeed](https://appseed.us/) \n\n```bash\n$ git clone https://github.com/app-generator/priv-ai-processor.git\n$ cd priv-ai-processor \n```\n\n\u003cbr /\u003e\n\n\u003e **Django** Backend\n\nEdit `backend/.env` and add you own `OpenAI API KEY`. \n\n```bash\n$ cd backend                       # change DIR to the backend code \n$ virtualenv env                   # create a new virtual environment  \n$ source env/bin/activate          # activate the VENV\n$ pip install -r requirements.txt  # install modules \n$ python manage.py makemigrations  # migrate DB\n$ python manage.py migrate         # apply DB changes \n$ python manage.py runserver       # Start the development Server \n```\n\nThe backend starts on Django's default address: `http://localhost:8000`\n\n\u003cbr /\u003e\n\n\u003e **NextJS** UI \n\n```bash\n$ cd frontend                # change DIR to the frontend code  \n$ npm install -g next        # Install NextJs globally\n$ npm i                      # install dependencies\n$ npm run dev                # Start the development Next Server\n```\n\n\u003cbr /\u003e\n\n## How to use the tool\n\n\u003e Create a new user or authenticate using the default one:\n\n- **user**     : `test`\n- **email**    : `test@appseed.us`\n- **password** : `pass`\n\n\u003e Add your own OPEN API Key \n\nAccess the settings page and save your OpenAI API key \n\n\u003e Upload a new SQLite file \n\nNavigate to the SQLite Uploads file and add a new file. Once uploaded, we can query start quering the database. \n\n\u003e Query the information using OpenAI console\n\nHere are some query samples: \n\n- `List all tables registered in the database`\n- `List all products starting with the cheapest`\n\nOnce another SQLite file is uploaded, we can query other specific questions. \n\n\u003cbr /\u003e\n\n## Tools\n\nOutside UI, we can query different sources like PDF files or distant APIs:\n\n```bash\n$ cd tools\n$ virtualenv env                   # create a new virtual environment  \n$ source env/bin/activate          # activate the VENV\n$ pip install -r requirements.txt  # install modules \n$ vi .env                          # Save OpenAI KEY\n$ python ai-over-api-meteo.py      # Extract METEO information using distant API\n$ python ai-over-pdf.py            # Extract information from a local PDF file\n\n```\n\n\u003cbr /\u003e\n\n## License\n\n[@EULA](https://github.com/app-generator/license-eula)\n\n\u003cbr /\u003e\n\n---\n`DataBase` [AI Processor](https://github.com/app-generator/ai-processor) - AI/ML Starter provideed **[AppSeed](https://appseed.us)**.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fai-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fai-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fai-processor/lists"}