{"id":27618066,"url":"https://github.com/langurmonkey/gaiasky-ai-assistant","last_synced_at":"2025-04-23T04:59:56.885Z","repository":{"id":284701730,"uuid":"955786479","full_name":"langurmonkey/gaiasky-ai-assistant","owner":"langurmonkey","description":"AI assistant for Gaia Sky using local Ollama models and RAG with the Gaia Sky documentation site and the home page ","archived":false,"fork":false,"pushed_at":"2025-03-27T07:42:40.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T04:59:53.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/langurmonkey.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":"2025-03-27T07:39:09.000Z","updated_at":"2025-03-27T07:42:43.000Z","dependencies_parsed_at":"2025-03-27T08:44:20.380Z","dependency_job_id":null,"html_url":"https://github.com/langurmonkey/gaiasky-ai-assistant","commit_stats":null,"previous_names":["langurmonkey/gaiasky-ai-assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langurmonkey%2Fgaiasky-ai-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langurmonkey%2Fgaiasky-ai-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langurmonkey%2Fgaiasky-ai-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langurmonkey%2Fgaiasky-ai-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langurmonkey","download_url":"https://codeload.github.com/langurmonkey/gaiasky-ai-assistant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372919,"owners_count":21419722,"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":[],"created_at":"2025-04-23T04:59:56.318Z","updated_at":"2025-04-23T04:59:56.880Z","avatar_url":"https://github.com/langurmonkey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gaia Sky AI assistant\n\nThis project implements an AI assistant for Gaia Sky. It consists of a RAG setup that scrapes the Gaia Sky documentation and home page, transforms it to text, does the embedding to vectors, and persists them to Chroma DB. Then, a chatbot is provided to query any Ollama model with relevant context.\n\nThis project is described in the following blog post:\n\nhttps://tonisagrista.com/blog/2025/gaiasky-ai-assistant\n\n## Running\n\nIn order to run it, clone the repository and set up the virtual environment with `pipenv`:\n\n```bash\n# Install dependencies\npipenv install\n# Enter the virtual environment\npipenv shell\n```\n\nThen, run the `gsai.py` script. Use the `--scrape` flag the first time so that the websites are scraped and the database is populated and saved to disk.\n\n```bash\n# Scrape websites, create embeddings, store to disk\ngsai.py --scrape\n```\n\nOnce the websites have been scraped, you can run the chatbot by launching the program with no arguments.\n\n```bash\n# Run the chatbot\ngsai.py\n```\n\nSet the temperature with `-t`, and the number of results with `-k`. When in doubt, use the `-h` argument to show the help.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangurmonkey%2Fgaiasky-ai-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flangurmonkey%2Fgaiasky-ai-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flangurmonkey%2Fgaiasky-ai-assistant/lists"}