{"id":26318999,"url":"https://github.com/wittyicon29/astogemma","last_synced_at":"2026-05-07T13:33:36.517Z","repository":{"id":224668644,"uuid":"763895331","full_name":"wittyicon29/AstoGemma","owner":"wittyicon29","description":"A completely local chat UI for any LLMs available on ollama using LangSmith and ChainLit","archived":false,"fork":false,"pushed_at":"2024-02-27T06:33:23.000Z","size":273,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T16:42:06.806Z","etag":null,"topics":["chainlit","langchain","langsmith","llms","ollama","python"],"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/wittyicon29.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,"zenodo":null}},"created_at":"2024-02-27T05:27:46.000Z","updated_at":"2024-11-10T02:28:33.000Z","dependencies_parsed_at":"2025-08-01T16:23:44.737Z","dependency_job_id":"df7809be-3d14-45a6-8f93-d3904bc9a4ef","html_url":"https://github.com/wittyicon29/AstoGemma","commit_stats":null,"previous_names":["wittyicon29/astogemma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wittyicon29/AstoGemma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wittyicon29%2FAstoGemma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wittyicon29%2FAstoGemma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wittyicon29%2FAstoGemma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wittyicon29%2FAstoGemma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wittyicon29","download_url":"https://codeload.github.com/wittyicon29/AstoGemma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wittyicon29%2FAstoGemma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32740071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["chainlit","langchain","langsmith","llms","ollama","python"],"created_at":"2025-03-15T15:17:15.923Z","updated_at":"2026-05-07T13:33:36.502Z","avatar_url":"https://github.com/wittyicon29.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AstoGemma\nA simple local UI for LLMs available on Ollama using Langchain, LangSmith API and ChainLit\nThis local user interface (UI) allows you to ask questions about astronomy using the powerful Gemma 7b language model built with Chainlit and Ollama.\n\n## What you can do with AstroGemma:\n- Ask questions about celestial objects, astronomical phenomena, space exploration, and more.\n- Get informative and comprehensive answers directly from the Gemma 7b model.\n- Explore various aspects of astronomy in an interactive and engaging way.\n\n## Requirements\n- You must have Python 3.10 or later installed. Earlier versions of python may not compile.\n- Ollama should be installed from the [Ollama](https://ollama.com/)\n- Pull the Gemma 7B model from the [Ollama Library](https://ollama.com/library)\nUisng the following command\n```bash\nollama run gemma:7b\n```\n## Steps to replicate \n\n1. Fork this repository and create a codespace in GitHub as I showed you in the youtube video OR Clone it locally.\n   ```\n   git clone https://github.com/wittyicon29/AstroGemma.git\n   cd AstroGemma\n   ```\n2. Create a virtualenv and activate it\n   ```\n   python3 -m venv .venv\n   .venv/Scripts/activate\n   ```\n3. Rename example.env to .env with `cp example.env .env`and input the environment variables from [LangSmith](https://smith.langchain.com/). You need to create an account in LangSmith website if you haven't already.\n   ``` \n   LANGCHAIN_TRACING_V2=true\n   LANGCHAIN_ENDPOINT=\"https://api.smith.langchain.com\"\n   LANGCHAIN_API_KEY=\"your-api-key\"\n   LANGCHAIN_PROJECT=\"your-project\"\n   ```\n4. Run the following command in the terminal to install necessary python packages:\n   ```\n   pip install -r requirements.txt\n   ```\n5. Run the following command in your terminal to start the chat UI:\n   ```\n   chainlit run gemma.py\n   ```\n\n  ![Screenshot 2024-02-27 112750](https://github.com/wittyicon29/AstoGemma/assets/99320225/c90e2dab-de8b-41a6-a7ec-272305305a2b)\n\n  ## Monitoring with LangSmith \n  ![image](https://github.com/wittyicon29/AstoGemma/assets/99320225/8716c5d4-a069-4aea-93f5-e3a992f7e6a2)\n\n  ## Additional Notes \n  - AstroGemma is still under development, and the accuracy of its responses may vary depending on the complexity of the question.\n  - It is recommended to frame your questions clearly and concisely for optimal results.\n  - For advanced users, the underlying code can be modified to customize the UI and integrate additional functionalities.\n\n## Docs\n- [Gemma](https://ai.google.dev/gemma/docs/model_card) as Large Language model via [Ollama](https://ollama.com/)\n- [LangChain](https://www.langchain.com/) as a Framework for LLM\n- [LangSmith](https://smith.langchain.com/) for developing, collaborating, testing, deploying, and monitoring LLM applications.\n- [Chainlit](https://docs.chainlit.io/langchain) for deploying.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwittyicon29%2Fastogemma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwittyicon29%2Fastogemma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwittyicon29%2Fastogemma/lists"}