{"id":13910607,"url":"https://github.com/misbahsy/chat-your-data-self-hosted","last_synced_at":"2025-04-15T21:35:13.907Z","repository":{"id":71771404,"uuid":"598829809","full_name":"misbahsy/chat-your-data-self-hosted","owner":"misbahsy","description":"This repo guides you through building a chatbot on your own data with self hosted LLM","archived":false,"fork":false,"pushed_at":"2023-02-14T02:22:25.000Z","size":119,"stargazers_count":90,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T01:34:44.029Z","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/misbahsy.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}},"created_at":"2023-02-07T22:16:11.000Z","updated_at":"2024-12-16T01:07:53.000Z","dependencies_parsed_at":"2023-04-25T21:03:33.477Z","dependency_job_id":null,"html_url":"https://github.com/misbahsy/chat-your-data-self-hosted","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"misbahsy/chat-your-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misbahsy%2Fchat-your-data-self-hosted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misbahsy%2Fchat-your-data-self-hosted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misbahsy%2Fchat-your-data-self-hosted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misbahsy%2Fchat-your-data-self-hosted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/misbahsy","download_url":"https://codeload.github.com/misbahsy/chat-your-data-self-hosted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249158215,"owners_count":21222079,"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-08-07T00:01:37.693Z","updated_at":"2025-04-15T21:35:13.890Z","avatar_url":"https://github.com/misbahsy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Chat-Your-Data\n\nCreate a ChatGPT like experience over your custom docs using [LangChain](https://github.com/hwchase17/langchain). This repo can help you use models hosted on HuggingFace for embedding and for text generation.\n\nThe explanation of [this blog post](https://blog.langchain.dev/tutorial-chatgpt-over-your-data/) can help you understand the reason for different files and the steps involved. We will primarily replace OpenAI API with huggingface based models.\n\n## Environment Variable\nPlease set huggingface token as `huggingfacehub_api_token=[your-token]`. Token can be generated in the HuggingFace account settings.\n\n\n## Ingest data\n\nIngestion of data is done over the `state_of_the_union.txt` file. \nTherefore, the only thing that is needed is to be done to ingest data is run `python ingest_data.py`\n\n## Query data\nCustom prompts are used to ground the answers in the state of the union text file.\n\n## Running the Application\n\nBy running `python app.py` from the command line you can easily interact with your ChatGPT over your own data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisbahsy%2Fchat-your-data-self-hosted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisbahsy%2Fchat-your-data-self-hosted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisbahsy%2Fchat-your-data-self-hosted/lists"}