This project is a Question Answer Generation App that leverages the Mistral 7B model, Langchain, and FastAPI to generate answers to user-provided questions. The application processes PDF files to generate questions and answers, which are then saved in a CSV file.
git clone https://github.com/BrightProgrammer7/QA-Mistral-Generator.git
cd QA-Mistral-Generator
pip install -r requirements.txt
Start the FastAPI server:
uvicorn app:app --reload
or
python app.py
Access the API documentation at http://127.0.0.1:8000/docs.
Access the main application at http://127.0.0.1:8000/index.html.
pdf_file: The PDF file to be uploaded.filename: The name of the PDF file.pdf_filename: The name of the uploaded PDF file.Watch the video below to see a demonstration of the Question Answer Generation App in action:
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.
"# QA-Mistral-Generator"
This project is a Question Answer Generation App that leverages the Mistral 7B model, Langchain, and FastAPI to generate answers to user-provided questions. The application processes PDF files to generate questions and answers, which are then saved in a CSV file.
git clone https://github.com/BrightProgrammer7/QA-Mistral-Generator.git
cd QA-Mistral-Generator
pip install -r requirements.txt
Start the FastAPI server:
uvicorn app:app --reload
or
python app.py
Access the API documentation at http://127.0.0.1:8000/docs.
Access the main application at http://127.0.0.1:8000/index.html.
pdf_file: The PDF file to be uploaded.filename: The name of the PDF file.pdf_filename: The name of the uploaded PDF file.Watch the video below to see a demonstration of the Question Answer Generation App in action:
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.
"# QA-Mistral-Generator"