{"id":19514668,"url":"https://github.com/seven-33/langchain-chat","last_synced_at":"2025-04-26T06:30:38.875Z","repository":{"id":166364549,"uuid":"631629649","full_name":"Seven-33/langchain-chat","owner":"Seven-33","description":"langchain-chat is an AI-driven Q\u0026A system that leverages OpenAI's GPT-4 model and FAISS for efficient document indexing. It loads and splits documents from websites or PDFs, remembers conversations, and provides accurate, context-aware answers based on the indexed data. Easy to set up and extend.","archived":false,"fork":false,"pushed_at":"2023-04-23T16:18:01.000Z","size":443,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T08:22:26.220Z","etag":null,"topics":["chatbot","chatbots","embedding-model","embedding-models","embedding-python","embedding-similarity","faiss","faiss-backend","gpt-3","gpt-4","gpt-j","gpt35turbo","langchain","language-python","pinecone"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Seven-33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-23T16:17:19.000Z","updated_at":"2023-12-14T06:55:04.000Z","dependencies_parsed_at":"2023-05-31T02:45:13.138Z","dependency_job_id":null,"html_url":"https://github.com/Seven-33/langchain-chat","commit_stats":null,"previous_names":["seven-33/langchain-chat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seven-33%2Flangchain-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seven-33%2Flangchain-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seven-33%2Flangchain-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seven-33%2Flangchain-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seven-33","download_url":"https://codeload.github.com/Seven-33/langchain-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250943886,"owners_count":21511643,"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":["chatbot","chatbots","embedding-model","embedding-models","embedding-python","embedding-similarity","faiss","faiss-backend","gpt-3","gpt-4","gpt-j","gpt35turbo","langchain","language-python","pinecone"],"created_at":"2024-11-10T23:37:15.643Z","updated_at":"2025-04-26T06:30:38.013Z","avatar_url":"https://github.com/Seven-33.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# langchain-chat\n\nlangchain-chat is a powerful AI-driven Q\u0026A system that leverages OpenAI's GPT-4 model to provide relevant and accurate\nanswers to user queries. The system indexes documents from websites or PDF files using FAISS (Facebook AI Similarity\nSearch) and offers a convenient interface for interacting with the data.\n\n## Features\n\n- Load and split documents from websites or PDF files\n- Index documents using FAISS for efficient similarity search\n- Utilize OpenAI's GPT-4 to generate human-like responses\n- Remember previous conversations and provide context-aware answers\n- Easy to set up and extend\n\n## Installation\n\n1. Clone the repository\n2. Create a virtual environment\n    ```bash\n    python -m venv venv\n    ```\n3. Activate the virtual environment\n    ```bash\n    source venv/Scripts/activate\n    ```\n4. Install the dependencies\n    ```bash\n    pip install -r requirements.txt\n    ```\n5. Copy the `.env.example` file to `.env` and fill in the required values\n   ```bash\n   cp .env.example .env\n   ```\n   ```bash\n   OPEN_AI_KEY = \"sk-\"\n   WEBSITE_URLS=\"https://website1, https://website2\"\n   ```\n6. Run the application\n    ```bash\n    python with_faiss.py\n    ```\n\n## Example Images\n\n![Example 1](https://github.com/shamspias/langchain-chat/blob/main/images/conversation.PNG)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-33%2Flangchain-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseven-33%2Flangchain-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseven-33%2Flangchain-chat/lists"}