This project aims to develop a multi-task application leveraging the power of Large Language Models (LLMs). The application will provide a variety of functionalities, allowing users to perform diverse tasks such as generating emails, summaries, audio and video summaries, answering questions, generating articles or blogs, and converting documents to text. The versatility of LLMs will enable users to streamline their workflow by using a single platform for multiple tasks.
Web Application: https://multi-task-llm-based-web-application.streamlit.app/
- Description: Automatically create a professional email based on a given subject and key points.
- Usage: Users input the subject and key reasons, and the application generates a well-structured email.
- Examples:

- Description: Compose articles or blog posts on specified topics with minimal input.
- Usage:
- Specify a Topic: Users begin by entering the main topic or title for the article or blog post.
- Provide Key Points: Users then list key points or subtopics they want to be covered in the content.
- Choose Length: Users can specify the desired length of the article or blog post (e.g., short, medium, long).
- Generate Content: The application uses the provided inputs to draft a comprehensive article or blog post.
- Examples:

- Description: Extracts text from multiple file formats, including PDFs, DOCs, and plain text files.
- Usage: Facilitates the extraction of readable text content from diverse document types, enabling further processing or analysis.
- Examples:

- Description: Summarize lengthy documents text or articles into concise summaries.
- Usage: Users provide the text and the application returns a summary capturing the essential points.
- Examples:

- Description: Provide answers to questions based on the context of a provided document or text.
- Usage:
- Upload Document: Users first upload a document (PDF, Word and Text) containing the relevant information.
- Ask a Question: After uploading, users can input questions related to the content of the document.
- Receive Answers: The application analyzes the document and provides accurate answers based on the context of the uploaded content.
- Examples:

- Description: Convert text summaries into audio files for easy listening.
- Usage: Users can generate an audio version of a summary, making it convenient to consume content on the go.
- Examples:

The project will be implemented using the following technologies:
-
Language Model: The core processing will be powered by the gemini-1.5-flash and gpt-3.5-turbo model, which provides access to advanced Large Language Models (LLMs) for various tasks such as text generation, summarization, question answering, and more.
-
Frameworks:
- Python: The primary programming language for backend logic and integration with the Gemini API.
- Streamlit: Used for creating the user interface, allowing for an interactive and responsive frontend experience.
-
Clone the Repository
git clone https://github.com/raselmeya94/Multi-Task-LLM-Based-Web-Application.git cd Multi-Task-LLM-Based-Web-Application -
Install Dependencies
pip install -r requirements.txt
-
Run the Application
streamlit run app.py
-
Select Configuration and put your API Key
- OpenAI API key
- Google API key(Gemini)
-
Select Task
- Text Extraction task
- Email Writing
- Article Writing
- Text Summarization
- Document Q&A
- Audio Summarization
- Navigate to the application URL provided after running the app.
- Select the desired task from the menu.
- Provide the required input in the designated fields.
- Click the corresponding button to generate results (email, summary, etc.).
We welcome contributions to enhance this project. If you'd like to contribute, please follow these steps:
- Fork the repository and clone it to your local machine.
- Create a new branch for your feature or fix.
- Make your changes and commit them with clear messages.
- Push your changes to your forked repository.
- Open a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Developed by: Rasel Meya
- Email: raselmeya2194@gmail.com
- GitHub: github.com/raselmeya94
- LinkedIn: linkedin.com/in/raselmeya