Skip to content

An AI assistant as a domain expert of a project's documents and has the ability to answer users’ queries accurately. It assists users with organizing their projects and acts as a 'second brain'.

License

Notifications You must be signed in to change notification settings

luquelab/ACUNAO-AI

Repository files navigation

ACUNAO AI

Check out the ACUNAO AI website for more information about the project.

Description

An AI assistant as a domain expert of the lab’s documents that has the ability to answer users’ queries accurately. It assists users with organizing their projects and acts as a 'second brain'.

Due to the rapid growth of AI, especially since the launch of ChatGPT, there has been a drastic increase in AI products and services. These products and services have mostly been developed to appeal to the general public. There is a lack of AI solution to support interdisciplinary research labs whose documents could accumulate so quickly, which leads to misplaced or forgotten information. The nature of these documents also poses as a problem since they are generally complex and confidential. ACUNAO AI aims to bridge this gap.

Note: The following instructions is for Mac-OS. If you are a Windows user, please follow the windows-os branch

Table of Contents

MacOS App

We have a downloadable MacOS App prototype ready to use. Please contact us at [email protected] for access to the app.

Download LLM

Please follow the following instructions prior to installing the AI Assistant.

  1. Navigate to the following link https://huggingface.co/bartowski/Phi-3.5-mini-instruct-GGUF/resolve/main/Phi-3.5-mini-instruct-Q8_0.gguf?download=true.

Installation

Follow the proper instructions based on your package manager, environment management system, and operating system. If you use Conda as your environment management system,follow the instructions found in Conda-environment. If you use MacOS without Conda, follow the instructions found in MacOS no conda.

To set up ACUNAO AI locally, follow these steps in your terminal or VS Code terminal:

Conda-environment

  1. Clone the repository or Download the repository
git clone https://github.com/luquelab/ACUNAO-AI.git
  1. Navigate to project directory
cd ACUNAO-AI

or

cd ACUNAO-AI-main

Note: if you are new to the terminal, PowerShell or CommandPrompt, run ls to see the current directory and cd to navigate to the ACUNAO-AI folder.

  1. Add the LLM
    Move the downloaded LLM to the ACUNAO-AI/utils/data/ folder, replacing the existing pointer file: Phi-3.5-mini-instruct-Q8_0.gguf.

  2. Install dependencies

conda env create --name venv --file=environment.yml
conda activate venv
sh ./post_install.sh
  1. Run the application

Run the Streamlit prototype:

python run.py

Note: During first run, you will be prompted to add your email for marketing subscription from Streamlit. You have the option to add your email and press enter, or hit the enter key to skip adding your email to the marketing subscription.

MacOS No Conda

  1. Clone the repository or Download the repository
git clone https://github.com/luquelab/ACUNAO-AI.git
  1. Navigate to project directory
cd ACUNAO-AI

or

cd ACUNAO-AI-main

Note: if you are new to the terminal, PowerShell or CommandPrompt, run ls to see the current directory and cd to navigate to the ACUNAO-AI folder.

  1. Add the LLM
    Move the downloaded LLM to the ACUNAO-AI/utils/data/ folder.

  2. Create a virtual environment
    Note: In MacOS, make sure that Xcode is installed. To do this, run this command in your terminal:

xcode-select –-install
python3 -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install dependencies

This project requires Tesseract to be installed on your system. You can install Tesseract using Homebrew with the following command:

brew install tesseract

Then:

pip install -r requirements.txt

And then:

sh ./post_install.sh
  1. Run the application

Run the Streamlit prototype:

python run.py

Note: During first run, you will be prompted to add your email for marketing subscription from Streamlit. You have the option to add your email and press enter, or hit the enter key to skip adding your email to the marketing subscription.

Project History

This is an evolving repository

Started: 2024-06-03

End: Ongoing

Folder's descriptions

  • /data: Files used for testing purposes.
  • /hooks: This folder contains the hooks for creating the executable.
  • /utils: Project's source codes.

Maintainers

@LuqueLab @TjanMichela

Contributors

This project exists thanks to all the people who contribute.
@LuqueLab @TjanMichela

License

This project is licensed under MIT license.

Star History

Star History Chart

The syntax of markdown files (.md) is CommonMark unless specified otherwise (https://commonmark.org/help/)

About

An AI assistant as a domain expert of a project's documents and has the ability to answer users’ queries accurately. It assists users with organizing their projects and acts as a 'second brain'.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •