{"id":24714228,"url":"https://github.com/avisionh/sqlgpt","last_synced_at":"2025-12-30T22:15:09.690Z","repository":{"id":219649863,"uuid":"749227177","full_name":"avisionh/sqlgpt","owner":"avisionh","description":"Translating natural language into a query and then executing it on a database","archived":false,"fork":false,"pushed_at":"2024-07-08T13:24:52.000Z","size":143,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T08:16:00.724Z","etag":null,"topics":["chatgpt","langchain","ollama","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avisionh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-27T23:47:47.000Z","updated_at":"2024-10-23T12:06:43.000Z","dependencies_parsed_at":"2024-01-28T23:25:49.466Z","dependency_job_id":"8eb2ee43-15e5-48f0-a73e-8bd30dbda841","html_url":"https://github.com/avisionh/sqlgpt","commit_stats":null,"previous_names":["avisionh/sqlgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avisionh%2Fsqlgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avisionh%2Fsqlgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avisionh%2Fsqlgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avisionh%2Fsqlgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avisionh","download_url":"https://codeload.github.com/avisionh/sqlgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924991,"owners_count":20532898,"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","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":["chatgpt","langchain","ollama","sql"],"created_at":"2025-01-27T08:16:03.872Z","updated_at":"2025-12-30T22:15:09.642Z","avatar_url":"https://github.com/avisionh.png","language":"Python","readme":"# sqlgpt\nTranslating natural language into a query and then executing this in a database.\n\n## Getting started\nDownload Ollama from the official website [here](https://ollama.com/download).\n\nIn your terminal, download Llama 3 via `ollama pull llama3` (takes ~30 mins to download).\n\nCreate a service account key for the project in GCP that you want to access [here](https://cloud.google.com/iam/docs/keys-create-delete). Then store this in as `profiles/gcp_service_account_key.json`.\n\nNow set-up the project by running the following:\n```commandline\nmake setup-local\n```\n\n## Interacting with chatbot\nTo ask the Llama3 a question about your data, run the following in your terminal:\n```commandline\npoetry run streamlit run app.py\n```\n\n## Docker\nTo build the Docker container and image for this, run the below:\n```commandline\ndocker-compose up\n```\nWhen not in use, run:\n```commandline\ndocker-compose down\n```\n\nYou can inspect the actual container via:\n```commandline\ndocker container list\n# find the ID of your docker container\ndocker exec -it \u003ccontainer_id\u003e bash\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favisionh%2Fsqlgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favisionh%2Fsqlgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favisionh%2Fsqlgpt/lists"}