{"id":23885708,"url":"https://github.com/bhivgadearav/nebula-chatbot","last_synced_at":"2026-05-08T15:03:18.050Z","repository":{"id":270721174,"uuid":"911245599","full_name":"bhivgadearav/nebula-chatbot","owner":"bhivgadearav","description":"This project is an AI chatbot application built using Langchain \u0026 Streamlit. It leverages OpenAI's GPT-4o-mini model to provide intelligent and context-aware responses. The application supports multiple chat sessions and allows users to input their OpenAI API key for personalized interactions.","archived":false,"fork":false,"pushed_at":"2025-01-03T14:30:57.000Z","size":3591,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T03:28:40.280Z","etag":null,"topics":["chatbot","langchain","openai-api","python","streamlit"],"latest_commit_sha":null,"homepage":"https://nebula-chatbot.onrender.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/bhivgadearav.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":"2025-01-02T15:15:09.000Z","updated_at":"2025-01-16T08:52:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc2d9aa9-0ba9-4915-b771-7ea12982e789","html_url":"https://github.com/bhivgadearav/nebula-chatbot","commit_stats":null,"previous_names":["bhivgadearav/nebula-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bhivgadearav/nebula-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhivgadearav%2Fnebula-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhivgadearav%2Fnebula-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhivgadearav%2Fnebula-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhivgadearav%2Fnebula-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhivgadearav","download_url":"https://codeload.github.com/bhivgadearav/nebula-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhivgadearav%2Fnebula-chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264726769,"owners_count":23654494,"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","langchain","openai-api","python","streamlit"],"created_at":"2025-01-04T05:53:24.513Z","updated_at":"2026-05-08T15:03:13.004Z","avatar_url":"https://github.com/bhivgadearav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eNebula Chatbot\u003c/h1\u003e\n    \u003cimg src=\"./src/pubic/robot.jpg\" alt=\"Nebula Logo\" width=\"250\"/\u003e\n\u003c/div\u003e\n\n## Description\nThis project is an AI chatbot application built using Streamlit. It leverages OpenAI's GPT-4o-mini model to provide intelligent and context-aware responses. The application supports multiple chat sessions and allows users to input their OpenAI API key for personalized interactions.\n\n## Features\n- Multiple chat sessions management\n- User-friendly interface with Streamlit\n- Secure API key input\n- Context-aware responses using GPT-4o-mini\n\n## Libraries and Tools Used\n- [LangChain](https://www.langchain.com/)\n- [Streamlit](https://streamlit.io/)\n- [OpenAI GPT-4o-mini](https://platform.openai.com/)\n- [python-dotenv](https://pypi.org/project/python-dotenv/)\n\n## Installation\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/yourusername/ai-chatbot.git\n    cd ai-chatbot\n    ```\n2. Create a virtual enviorment:\n    ```bash\n    python -m venv venv\n    ```\n3. Activate the virtual enviorment:\n    ```bash\n    venv/Scripts/activate\n    ```\n4. Install the required packages:\n    ```bash\n    pip install -r requirements.txt\n    ```\n5. Create a `.env` file in the root directory and add your OpenAI API key and Langchain API key:\n    ```env\n    OPENAI_API_KEY=your_openai_api_key\n    LANGCHAIN_API_KEY=your_langchain_api_key\n    ```\n\n## Running the Project\nTo run the application, use the following command:\n```bash\nstreamlit run src/app.py\n```\n\n## Modules and Components\n- **config.py**: Manages configuration settings and environment variables.\n- **session_manager.py**: Handles session management and chat history.\n- **chatbot.py**: Implements the core chatbot functionality using LangChain components.\n- **app.py**: Main Streamlit application file that coordinates between different components.\n\n## Folder Structure\n- **/script**: Contains just the script for running the chatbot without ui with explanation on how everythin works. It is exactly the same as I write while creating it without ui for instructions and any related references.\n- **/src**: Contains the main application files.\n  - **config.py**: Configuration management.\n  - **session_manager.py**: Session management.\n  - **chatbot.py**: Chatbot logic.\n  - **app.py**: Streamlit application.\n\n## Contributing\nContributions are welcome! Please follow these steps:\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes.\n4. Commit your changes (`git commit -m 'Add new feature'`).\n5. Push to the branch (`git push origin feature-branch`).\n6. Open a pull request.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhivgadearav%2Fnebula-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhivgadearav%2Fnebula-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhivgadearav%2Fnebula-chatbot/lists"}