North Carolina, USA Chapter" - LibreTools AI Assistant Plugin
#LibreTools AI Assistant Plugin Documentation The primary goal of LibreTools is to seamlessly integrate a program called LMStudio into LibreOffice, allowing users to run large language models (LLMs) locally on their machines. LMStudio will utilise the local computer's GPU to efficiently process and serve these models. To ensure smooth operation and easy access, LibreTools will feature a user-friendly GUI that connects directly to the LLM's IP address. This connection can be established either through the local intranet or using a service like ngrok for remote access.
By leveraging local hardware and providing a straightforward interface, LibreTools aims to make advanced AI capabilities accessible to all users, without the need for expensive cloud services or complex setup procedures. This approach not only enhances the functionality of LibreOffice but also ensures that users maintain control over their data and resources, aligning with the principles of privacy and open-source development.
#Installation Instructions
Step 1: Install LM Studio Download and install LM Studio from this link
Step 2: Download the LLM Model
Download the required LLM model. this link
Step 3: Download LibreOffice
Download and install LibreOffice from the official LibreOffice website
Step 4: Clone the Repository
Open a Terminal or Command Prompt.
Navigate to the directory where you want to clone the project using the cd
command. For example: cd ~
Clone the repository using the following command :
git clone git clone https://dagshub.com/Omdena/NorthCarolinaUSAChapter_LibreToolsAIAssistantPlugin.git
Step 5: Copy the Python Script
Run the following command in the command line :
copy "C:\Path\To\Your\scriptlocatepython.py" "C:\Program Files\LibreOffice\share\Scripts\python"
Step 6: Load the Dialog File Open LibreOffice and create a new file. In the navigation bar, go to Tools > Macros > Organize Dialogs. Select "Libraries" and click "Edit". Go to File (in navbar) > Import Dialog.
Step 7: Run LM Studio Server Open LM Studio and start the server.
Step 8: Run the Macro In LibreOffice, go to Tools > Macros > Run Macro > script locate python > Main
#Note These instructions are specific for windows . You may need to adjust some steps based on your specific operating system or setup.