gemini_pdf_analyser
Gemini PDF Analyser is an application used to analyse PDF files with Google Gemini AI integrated into it.
Source Code
The source code of the application Gemini PDF Analyser is available in Source Code.
Installation
pip install gemini_pdf_analyser
How to Use the Application?
Pre-requisites:
- Python installed in your device.
- .env file in the same directory as <GEMINI_PDF_ANALYSER_DIRECTORY> and has the value of GEMINI_API_KEY.
cd <GEMINI_PDF_ANALYSER_DIRECTORY>
python3 gemini_pdf_analyser.py
Note: Replace <GEMINI_PDF_ANALYSER_DIRECTORY> with the path to the directory of the application Gemini PDF Analyser.
Then, the application will start with something looking like in the screenshot below.
You will then be asked to input the following values.
- Temperature - between 0 and 1 inclusive
- Top P - between 0 and 1 inclusive
- Top K - at least 1
- Max output tokens - at least 1
The following screenshot shows what is displayed after inputting the mentioned values.
You will be required to input the path to the PDF file you want to analyse. Then, you will be asked to enter your question for analysis.
Once you entered your question, the application will display the answer based on your question and the contents of the PDF file.
Then, you will be asked whether you want to continue using the application or not. Enter "Y" for yes. Enter anything else for no.
Release files for gemini-pdf-analyser 1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gemini_pdf_analyser-1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gemini_pdf_analyser-1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / gemini_pdf_analyser-1.tar.gz
| Download URL | gemini_pdf_analyser-1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c47d00886c45b854fc15accb0b68686701dff7c0155c5a1796b33a837e1328d
|
|
BLAKE2b-256 checksum How to use checksums |
3c7f1d878988787131d0817b500a2ac197766036ecf5bcac63acd9954ebca236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|
Release files / gemini_pdf_analyser-1-py3-none-any.whl
| Download URL | gemini_pdf_analyser-1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45631a7c16d6ee915c57ebe28bda5987b64ded1727adad154aaf958ca1ecb2af
|
|
BLAKE2b-256 checksum How to use checksums |
a7ace2adf492ddbde662a81e84089f961447fe9a0ac3dc1b20cac3125200d692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.4
|