{"id":22864107,"url":"https://github.com/samarthpandeydev/chat-with-website","last_synced_at":"2025-07-10T02:38:42.549Z","repository":{"id":238111967,"uuid":"795900814","full_name":"samarthpandeydev/chat-with-website","owner":"samarthpandeydev","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-05T17:49:55.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T13:51:41.571Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samarthpandeydev.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-05-04T11:16:01.000Z","updated_at":"2024-05-05T17:49:58.000Z","dependencies_parsed_at":"2024-05-04T12:27:14.847Z","dependency_job_id":"411eaf1d-897e-4365-a3a1-58f71af9548b","html_url":"https://github.com/samarthpandeydev/chat-with-website","commit_stats":null,"previous_names":["samarthpandeydev/chat-with-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samarthpandeydev%2Fchat-with-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samarthpandeydev%2Fchat-with-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samarthpandeydev%2Fchat-with-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samarthpandeydev%2Fchat-with-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samarthpandeydev","download_url":"https://codeload.github.com/samarthpandeydev/chat-with-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246446389,"owners_count":20778790,"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":"2024-12-13T11:19:10.694Z","updated_at":"2025-03-31T09:29:22.785Z","avatar_url":"https://github.com/samarthpandeydev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chat-with-website\nSimple Streamlit as well as Chainlit app to have interaction with your website URL.\n\n### Chat with your documents 🚀\n- [OpenAI model](https://platform.openai.com/docs/models) as Large Language model\n- [Ollama](https://ollama.ai/) and `mistral` as Large Language model\n- [LangChain](https://python.langchain.com/en/latest/modules/models/llms/integrations/huggingface_hub.html) as a Framework for LLM\n- [Streamlit](https://streamlit.io/) as well as [Chainlit](https://docs.chainlit.io/) for deploying.\n\n## System Requirements\n\nYou must have Python 3.9 or later installed. Earlier versions of python may not compile.  \n\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```\ngit clone https://github.com/samarthpandeydev/chat-with-website.git\ncd chat-with-website\n```\n\n2. Rename example.env to .env with `cp example.env .env`and input the OpenAI API key as follows. Get OpenAI API key from this [URL](https://platform.openai.com/account/api-keys). You need to create an account in OpenAI webiste if you haven't already.\n   ```\n   OPENAI_API_KEY=your_openai_api_key\n   ```\n\n   For langsmith, take the environment variables from [LangSmith](https://smith.langchain.com/) website\n   \n3. Create a virtualenv and activate it\n   ```\n   python3 -m venv .venv \u0026\u0026 source .venv/bin/activate\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   streamlit run chat_with_website_openai.py\n   streamlit run chat_with_website_ollama.py\n   ```\n\n6. For chainlit, use the following command in your terminal.\n```\npython3 ingest.py #for ingesting\nchainlit run main.py #for chainlit ui\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamarthpandeydev%2Fchat-with-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamarthpandeydev%2Fchat-with-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamarthpandeydev%2Fchat-with-website/lists"}