License Chatbot is a conversational AI designed to assist developers and users in understanding various software licenses. Software licensing is a critical aspect of software development, and a lack of knowledge can lead to potential copyright and compliance issues. This chatbot provides answers to questions related to different licenses used in software development.
The chatbot provides information about the following licenses:
- MIT License
- Apache License
- ISC License
- GNU General Public License (GPL)
- Mozilla Public License (MPL)
- zlib License
- BSD License
- Server Side Public License (SSPL)
- GNU Affero General Public License (AGPL)
- GNU Lesser General Public License (LGPL)
- Eclipse Public License (EPL)
- Common Development and Distribution License (CDDL)
- Artistic License
- The Unlicense
- Boost Software License
- University of Illinois/NCSA Open Source License (NCSA License)
- Common Public License (CPL)
- Microsoft Public License
- Open Software License (OSL)
-
Data Collection:
We have curated a dataset consisting of frequently asked questions and answers related to the supported licenses. -
Model Fine-Tuning:
A language model (LLM) was fine-tuned using the collected dataset to improve its performance in answering license-related queries accurately. -
User Interface:
A web-based interface is built using Streamlit to provide an easy-to-use platform for interacting with the chatbot.
To set up the chatbot, follow these steps:
-
Clone the repository:
git clone <[repository_link](https://github.com/purushottam22/Chatbot-for-license-using-fine-tune-llm/tree/main)> cd <Chatbot-for-license-using-fine-tune-llm>
-
Install the required Python modules:
pip install -r requirements.txt
-
Navigate to the
Model
folder:cd Model
-
Start the chatbot UI using Streamlit:
streamlit run prediction_on_fine_tune.py
-
Open the link provided in the terminal to access the chatbot interface in your web browser.
- Interactive Q&A: Get instant answers to your questions about different software licenses.
- Comprehensive Coverage: Covers a wide range of open-source and proprietary licenses.
- User-Friendly Interface: Simple and intuitive interface for easy interaction.
- Addition of more licenses and related questions.
- Integration with additional language models for better performance.
- Support for multi-language queries.
Contributions are welcome! Feel free to submit a pull request or open an issue if you have suggestions for improvement.
By using this chatbot, developers can ensure they understand the licensing implications of the software they use, avoiding legal risks and fostering compliance with open-source and proprietary licensing terms.