{"id":26591739,"url":"https://github.com/thirza258/endorbit","last_synced_at":"2026-04-11T10:33:08.734Z","repository":{"id":282382354,"uuid":"942143713","full_name":"thirza258/endorbit","owner":"thirza258","description":"Endorbit (Flipkart Product Chatbot) | Build your Bot Submission","archived":false,"fork":false,"pushed_at":"2025-03-14T11:04:28.000Z","size":2581,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:37:35.701Z","etag":null,"topics":["api","chatbot","django-rest-framework","e-commerce","faiss-vector-database","open-source","openai","python","react","rest-api","retrieval","retrieval-augmented-generation","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://endorbit.vercel.app","language":"Jupyter Notebook","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/thirza258.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,"zenodo":null}},"created_at":"2025-03-03T16:37:19.000Z","updated_at":"2025-03-14T11:04:31.000Z","dependencies_parsed_at":"2025-03-14T10:29:11.610Z","dependency_job_id":"b3ce76e6-8da4-4370-b700-662f037d6500","html_url":"https://github.com/thirza258/endorbit","commit_stats":null,"previous_names":["thirza258/endorbit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thirza258/endorbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirza258%2Fendorbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirza258%2Fendorbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirza258%2Fendorbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirza258%2Fendorbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirza258","download_url":"https://codeload.github.com/thirza258/endorbit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirza258%2Fendorbit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":["api","chatbot","django-rest-framework","e-commerce","faiss-vector-database","open-source","openai","python","react","rest-api","retrieval","retrieval-augmented-generation","tailwindcss","typescript"],"created_at":"2025-03-23T14:19:43.391Z","updated_at":"2026-04-11T10:33:08.695Z","avatar_url":"https://github.com/thirza258.png","language":"Jupyter Notebook","readme":"# Endorbit\n\n## Overview\n\nEndorbit is an e-commerce bot that uses a Flipkart product dataset to recommend products based on your prompt. The bot is built with a tech stack that includes Faiss RAG and OpenAI embeddings for large-scale search and retrieval, and it uses Django REST framework to create its own API. The frontend is developed using React, TypeScript, and Tailwind CSS. The AI capabilities are powered by OpenAI, and the product data is sourced from a Kaggle dataset, which can be found [here](https://www.kaggle.com/datasets/PromptCloudHQ/flipkart-products).\n\nYou can also access the chatbot website from [website](https://endorbit.vercel.app/).\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/thirza258/endorbit.git\n    cd Build_your_bot\n    ```\n\n2. Install the required packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Create a `.env` file from the example:\n    ```bash\n    cp .env.example .env\n    ```\n\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone \u003crepository_url\u003e\n    cd Build_your_bot\n    ```\n\n2. Install the required packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Create a `.env` file from the example:\n    ```bash\n    cp .env.example .env\n    ```\n\n4. Apply database migrations:\n    ```bash\n    python manage.py migrate\n    ```\n\n5. Import research data:\n    ```bash\n    python manage.py import_research\n    ```\n\n6. Run the development server:\n    ```bash\n    python manage.py runserver\n    ```\n\n## Documentation\n\nFor more information, go to `/docs`.\n## API Documentation\n\n### Chat API\n\n**Endpoint:** `POST /api/v1/chat/`\n\n**Description:** This API endpoint processes user input and returns a recommended product based on the input.\n\n**Parameters:**\n\n- `input_user` (String): The input message from the user.\n\n**Response:**\n\n- `response` (String): The recommended product based on the user's input.\n\n**Request Example:**\n\n```json\n{\n    \"input_user\": \"I need a new phone\"\n}\n```\n\n**Success Response Example:**\n\n```json\n- HTTP/1.1 200 OK\n{\n    \"status\": 200,\n    \"message\": \"Success\",\n    \"data\": {\n        \"response\": \"Here are some recommended products\",\n        \"products\": [ {\n            \"product_name\": \"Samsung Galaxy M31\",\n            \"product_price\": \"₹16,499\",\n            \"product_rating\": \"4.3\",\n            \"product_url\": \"https://www.flipkart.com/samsung-galaxy-m31-space-black-64-gb\",\n            \"description\": \"Samsung Galaxy M31 (Space Black, 64 GB)\"\n            }\n        ]\n    }\n}\n```\n\n## Usage\n\nEndorbit will recommend products based on your input prompt using the Flipkart product dataset.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirza258%2Fendorbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirza258%2Fendorbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirza258%2Fendorbit/lists"}