Releases: TechnicalParadox/GeminiProjectAssistant
Version 1.2.0
Overview
This application helps you work with the Google Gemini API on your projects:
- NEW: Scrape docs from URL and send as context
- Manage your conversation with the model
- Track token count and conversation cost accurately
- Accurate pricing for Gemini 1.5 Pro and Gemini 1.5 Flash models
- Save your conversation at any time to .txt, .md, .json, or .csv
- Load previous conversations at any time from .json
- Import/export specific messages
- Pass files/file structure with a message to the model for context
- Edit your config.json directly from the application
- View condensed version of chat history
- View a full message at any time from the chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Dependencies
Installing System Dependencies (Ubuntu/Debian)
Before installing the Python requirements, you need to install the following system packages:
sudo apt update
sudo apt install python3-xlib libx11-xcb-dev libxcb-cursor0 libxrender1 libxi6
Explanation of the additional libraries:
libx11-xcb-dev
: Provides development headers for the XCB (X protocol C binding) library, which PyQt6 likely uses internally.libxcb-cursor0
: Specifically handles mouse cursor rendering using XCB, essential for GUI applications.libxrender1
: X Render extension library, often used for advanced rendering operations (transparency, antialiasing) within X11.libxi6
: XInput extension library, handling input devices like keyboards and mice in X11.
Installation
- Ensure you have installed the necessary dependencies.
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template. (Optional) This can be generated inside the application.
- Create your .env file according to the .env-template. (Optional) This can be generated inside the application.
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.2.py
- Follow instructions on the screen.
NOTE If you want to use docscraping from URLs, you must install the files from https://github.com/TechnicalParadox/DocScraper in the <GeminiProjectAssistant_installation_dir>/tools/DocScraper folder! ( installation_dir/tools/DocScraper/docscraper.py
)
File structure should look like this (<GeminiProjectAssistant_installation_dir>/tools/DocScraper/docscraper.py
). Make sure you install the requirements. (cd installation_dir/tools/DocScraper/
, pip install -r requirements.txt
)
What's Changed
Full Changelog: v1.1.3...v1.2.0
Version 1.1.3
Overview
This application helps you work with the Google Gemini API on your projects:
- Manage your conversation with the model
- Track token count and conversation cost accurately
- Accurate pricing for Gemini 1.5 Pro and Gemini 1.5 Flash models
- Save your conversation at any time to .txt, .md, .json, or .csv
- Load previous conversations at any time from .json
- Import/export specific messages
- Pass files/file structure with a message to the model for context
- Edit your config.json directly from the application
- View condensed version of chat history
- View a full message at any time from the chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Dependencies
Installing System Dependencies (Ubuntu/Debian)
Before installing the Python requirements, you need to install the following system packages:
sudo apt update
sudo apt install python3-xlib libx11-xcb-dev libxcb-cursor0 libxrender1 libxi6
Explanation of the additional libraries:
libx11-xcb-dev
: Provides development headers for the XCB (X protocol C binding) library, which PyQt6 likely uses internally.libxcb-cursor0
: Specifically handles mouse cursor rendering using XCB, essential for GUI applications.libxrender1
: X Render extension library, often used for advanced rendering operations (transparency, antialiasing) within X11.libxi6
: XInput extension library, handling input devices like keyboards and mice in X11.
Installation
- Ensure you have installed the necessary dependencies.
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template. (Optional) This can be generated inside the application.
- Create your .env file according to the .env-template. (Optional) This can be generated inside the application.
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.1.py
- Follow instructions on the screen.
What's Changed
- Bug fix with session cost tracking!
Full Changelog: v1.0.3...v1.1.3
Version 1.1.0-alpha2
Overview
This application helps you work with the Google Gemini API on your projects:
- Manage your conversation with the model
- Track token count and conversation cost accurately
- Accurate pricing for Gemini 1.5 Pro and Gemini 1.5 Flash models
- Save your conversation at any time to .txt, .md, .json, or .csv
- Load previous conversations at any time from .json
- Pass files with a message to the model for context
- Edit your config.json directly from the application
- View condensed version of chat history
- View a full message at any time from the chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Dependencies
Installing System Dependencies (Ubuntu/Debian)
Before installing the Python requirements, you need to install the following system packages:
sudo apt update
sudo apt install python3-xlib libx11-xcb-dev libxcb-cursor0 libxrender1 libxi6
Explanation of the additional libraries:
libx11-xcb-dev
: Provides development headers for the XCB (X protocol C binding) library, which PyQt6 likely uses internally.libxcb-cursor0
: Specifically handles mouse cursor rendering using XCB, essential for GUI applications.libxrender1
: X Render extension library, often used for advanced rendering operations (transparency, antialiasing) within X11.libxi6
: XInput extension library, handling input devices like keyboards and mice in X11.
Installation
- Ensure you have installed the necessary dependencies.
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template. (Optional) This can be generated inside the application.
- Create your .env file according to the .env-template. (Optional) This can be generated inside the application.
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.1.py
- Follow instructions on the screen.
What's Changed
Full Changelog: v1.1.0-alpha...v1.1.0-alpha2
Version 1.1.0-alpha
Overview
This application helps you work with the Google Gemini API on your projects:
- Manage your conversation with the model
- Track token count and conversation cost
- Save your conversation at any time to .txt, .md, .json, or .csv
- Load previous conversations at any time from .json
- Pass files with a message to the model for context
- Edit your config.json directly from the application
- View condensed version of chat history
- View a full message at any time from the chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Dependencies
Installing System Dependencies (Ubuntu/Debian)
Before installing the Python requirements, you need to install the following system packages:
sudo apt update
sudo apt install python3-xlib libx11-xcb-dev libxcb-cursor0 libxrender1 libxi6
Explanation of the additional libraries:
libx11-xcb-dev
: Provides development headers for the XCB (X protocol C binding) library, which PyQt6 likely uses internally.libxcb-cursor0
: Specifically handles mouse cursor rendering using XCB, essential for GUI applications.libxrender1
: X Render extension library, often used for advanced rendering operations (transparency, antialiasing) within X11.libxi6
: XInput extension library, handling input devices like keyboards and mice in X11.
Installation
- Ensure you have installed the necessary dependencies.
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template. (Optional) This can be generated inside the application.
- Create your .env file according to the .env-template. (Optional) This can be generated inside the application.
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.1.py
- Follow instructions on the screen.
What's Changed
- GUI Implementation! by @TechnicalParadox in #23
- Full Changelog: v1.0.3...v1.1.0-alpha
Version 1.0.3
Overview
This application helps you work with the Google Gemini API on your projects:
- Manage your conversation with the model
- Track token count and conversation cost
- Robust error handling to prevent crashes
- Save your conversation at any time to .txt, .md, .json, or .csv
- Pass files with a message to the model for context
- View condensed version of chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Installation Instructions
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create
config.json
to your specifications according toconfig.json-template
. (If you do not set a config.json, one may be generated for you while running the application.) - Create your
.env
file according to the.env-template.
(Or you can manually enter your API key in the application.) - Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.0.3.py
- Follow instructions on the screen.
Changes
- Adjust timeout inside session, change lasts only for the session.
- You can now add filenames (ex.
myfile.txt
) toignored_extensions
config list. - Full Changelog: v1.0.2...v1.0.3
Version 1.0.2
Overview
This application helps you work with the Google Gemini API on your projects:
- Manage your conversation with the model
- Track token count and conversation cost
- Robust error handling to prevent crashes
- Save your conversation at any time to .txt, .md, .json, or .csv
- Pass files with a message to the model for context
- View condensed version of chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Installation Instructions
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create
config.json
to your specifications according toconfig.json-template
. (If you do not set a config.json, one may be generated for you while running the application.) - Create your
.env
file according to the.env-template.
(Or you can manually enter your API key in the application.) - Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.py
- Follow instructions on the screen.
Changes
- You can now send the file structure of your project directory without sending file contents.
- Offers option to save when force-exiting with control + c.
Full Changelog: v1.0.1...v1.0.2
Version 1.0.1
Overview
Application has been completely reworked from version 0.
Has complete functionality via a color-coded CLI:
- Manage your conversation with the model
- Track token count and conversation cost
- Robust error handling to prevent crashes
- Save your conversation at any time to .txt, .md, .json, or .csv
- Pass files with a message to the model for context
- View condensed version of chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Installation Instructions
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template. (If you do not set config.json, one may be generated for you.)
- Create your .env file according to the .env-template. (Or you can manually enter your API key in the application)
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.py
- Follow instructions on the screen.
Changes
- Offer option to generate config.json in application if you don't add one manually
- Offer option to manually set API key in application if not set in .env
- config.json is automatically detected in installation directory, you don't have to add the path to your .env
Version 1.0.0
Overview
Application has been completely reworked from version 0.
Has complete functionality via a color-coded CLI:
- Manage your conversation with the model
- Track token count and conversation cost
- Robust error handling to prevent crashes
- Save your conversation at any time to .txt, .md, .json, or .csv
- Pass files with a message to the model for context
- View condensed version of chat history
- Delete messages from chat history to save input token count while leaving important messages for context
Installation Instructions
- Download the zip and extract files to the directory you wish to install in.
- Open installation directory.
- Create config.json to your specifications according to config.json-template.
- Create your .env file according to the .env-template.
- Open terminal in the installation directory.
- Run
pip install -r requirements.txt
- Run
python3 ./project_assistant_v1.py
- Follow instructions on the screen.