{"id":23592807,"url":"https://github.com/tushar2704/gemmachat","last_synced_at":"2025-11-04T10:30:34.137Z","repository":{"id":225184855,"uuid":"765267276","full_name":"tushar2704/GemmaChat","owner":"tushar2704","description":"GemmaChat- A smart chat with running Gemma model locally via Ollama on windows.","archived":false,"fork":false,"pushed_at":"2024-03-01T20:16:01.000Z","size":199,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T08:16:45.612Z","etag":null,"topics":["chainlit","data-science","deep-learning","llmops","llms","machine-learning","nlp","python","tushar2704"],"latest_commit_sha":null,"homepage":"https://tushar-aggarwal.com","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/tushar2704.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-02-29T15:42:33.000Z","updated_at":"2024-05-28T11:49:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"69221ea1-10ed-47b4-afc8-e47d7ffcdaa2","html_url":"https://github.com/tushar2704/GemmaChat","commit_stats":null,"previous_names":["tushar2704/gemmachat"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tushar2704%2FGemmaChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tushar2704%2FGemmaChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tushar2704%2FGemmaChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tushar2704%2FGemmaChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tushar2704","download_url":"https://codeload.github.com/tushar2704/GemmaChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239432754,"owners_count":19637798,"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":["chainlit","data-science","deep-learning","llmops","llms","machine-learning","nlp","python","tushar2704"],"created_at":"2024-12-27T08:15:50.599Z","updated_at":"2025-11-04T10:30:34.105Z","avatar_url":"https://github.com/tushar2704.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GemmaChat\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n![CSS](https://img.shields.io/badge/CSS3-1572B6.svg?style=for-the-badge\u0026logo=CSS3\u0026logoColor=white)\n![HTML](https://img.shields.io/badge/HTML5-E34F26.svg?style=for-the-badge\u0026logo=HTML5\u0026logoColor=white)\n![Markdown](https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge\u0026logo=markdown\u0026logoColor=white)\n![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge\u0026logo=visual-studio-code\u0026logoColor=white)\n\n\nSmart Chat using Gemma model via Ollama, LangChain and Chainlit\n\nComing up:Deployment, more feature and custom UI\n\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/tushar2704/GemmaChat.git\n   cd GemmaChat\n   ```\n\n2. Create a virtualenv and activate it\n   ```\n   python3 -m venv .venv \u0026\u0026 source .venv/bin/activate\n   ```\n\n3. OPTIONAL - 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   ```\n\n4. Run the following command in the terminal to install necessary python packages:\n   ```\n   pip install -r requirements.txt\n   ```\n\n5. Run the following command in your terminal to start the chat UI:\n   ```\n   chainlit run main.py\n   ```\n## System Prompt used for testing\n\n```\nPlease act as an expert in providing smart chat responses. Your responses should be friendly, simple, and jargon-free, suitable for beginners. When responding, consider using a mix of paragraphs and bullets to convey information effectively. Topics to cover include:\n- Introduction to smart chat responses\n- Importance of tone in chat interactions\n- Tips for maintaining a friendly demeanor\n- Examples of beginner-friendly responses\n- Strategies for engaging users effectively\n- Handling common challenges in chat conversations\n\n- Include examples of tone variations (e.g., formal, casual, informative)\n- Provide guidance on adapting responses based on user input\n- Suggest ways to personalize responses for different users\n- Offer insights on building rapport through chat interactions\n- Explain the significance of active listening in chat responses\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftushar2704%2Fgemmachat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftushar2704%2Fgemmachat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftushar2704%2Fgemmachat/lists"}