This project is an AI chatbot designed to interact with users and provide information related to a PDF document. The chatbot prompts the user to upload a PDF file, and once the file is provided, users can ask questions related to the content of the PDF. The chatbot leverages Kotlin and the LLMa-2 7-B model for natural language generation.
-
PDF Interaction: Users can upload a PDF file for analysis.
-
Question-Answering: The chatbot can answer questions related to the content of the uploaded PDF.
-
Natural Language Generation: LLMa-2 7-B model is used for natural language generation, making the responses more coherent and context-aware.
- Android Studio
- Kotlin
- LLMa-2 7-B model (pre-trained for natural language generation)
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/AI-Chatbot-PDF-Analysis.git
-
Open the project in Android Studio.
-
Ensure that you have the necessary dependencies and libraries installed.
-
Run the project on an Android emulator or device.
-
Launch the application on the emulator or device.
-
The chatbot will prompt you to upload a PDF file.
-
Select a PDF file from your device.
-
Once the PDF is uploaded, you can start asking questions related to the content of the PDF.
-
The chatbot will use the LLMa-2 7-B model to generate responses based on the input questions.
-
llama-2-7b-model
: The pre-trained LLMa-2 7-B model for natural language generation. -
Other dependencies as specified in the
build.gradle
file.
- The chatbot may have limitations in understanding highly specialized or complex questions.
-
Integration with additional AI models for more accurate PDF content analysis.
-
Improved user interface and user experience.
Feel free to contribute to the project by forking the repository and submitting pull requests. Bug reports and feature requests are welcome in the Issues section.
This project is licensed under the MIT License.
-
The LLMa-2 7-B model is provided by LLMa-2.
-
Special thanks to the open-source community for their contributions and support.