Skip to main content

gemini_txt_analyser

Gemini TXT Analyser is an application used to analyse ".txt" files with Google Gemini AI integrated into it.

Source Code

The source code of the application Gemini TXT Analyser is available in Source Code.

Installation

pip install gemini_txt_analyser

How to Use the Application?

Pre-requisites:

  1. Python installed in your device.
  2. .env file in the same directory as <GEMINI_TXT_ANALYSER_DIRECTORY> and has the value of GEMINI_API_KEY.
cd <GEMINI_TXT_ANALYSER_DIRECTORY>
python3 gemini_txt_analyser.py

Note: Replace <GEMINI_TXT_ANALYSER_DIRECTORY> with the path to the directory of the application Gemini TXT Analyser.

Then, the application will start with something looking like in the screenshot below.

Application

You will then be asked to input the following values.

  1. Temperature - between 0 and 1 inclusive
  2. Top P - between 0 and 1 inclusive
  3. Top K - at least 1
  4. Max output tokens - at least 1

The following screenshot shows what is displayed after inputting the mentioned values.

TXT File Path Input

You will be required to input the path to the .txt file you want to analyse. Then, the contents of the text file will appear and you will be asked to enter your question for analysis.

Question Input

Once you entered your question, the application will display the answer based on your question and the contents of the .txt file.

AI Response

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-txt-analyser 1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-txt-analyser 1
File Size Uploaded
gemini_txt_analyser-1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-txt-analyser 1
File Interpreter ABI Platform
gemini_txt_analyser-1-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / gemini_txt_analyser-1.tar.gz

Download URL gemini_txt_analyser-1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0362181199d1369c26c94ee2d65dc09cb5123535f65af0cad1b09ea726cf3a20
BLAKE2b-256 checksum
How to use checksums
acdd707368e256521450c4b8ec65a0f5fbbe397b3e134a73ad680cf11e89030f
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_txt_analyser-1-py3-none-any.whl

Download URL gemini_txt_analyser-1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
431a811f46b3d7ff5c71ccd294115570b56a628fc17d32fbb17f2ba928a2f40d
BLAKE2b-256 checksum
How to use checksums
4643fc69b00b0db6a9073e912a8e952a7f8e6e55036b05d9dd50191e59bebd7e
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 history Release notifications | RSS feed

This release

1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page