-
Notifications
You must be signed in to change notification settings - Fork 1
Home
An AI assistant as a domain expert of the lab’s documents that has the ability to answer users’ queries accurately. The user must be able to trust the answers given by the AI assistant and give input in order for the AI assistant to continuously learn how to better respond to users’ queries.
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 aims to bridge this gap.
The purpose is this wiki is to set guidelines for GitHub practices and document issues, solutions, and ideas. Examples of good wikis can be found here: https://github.com/MyHoneyBadger/awesome-github-wiki?tab=readme-ov-file
As of July 23, 2024, testing has been done using the ips-revised-handbook-2022-2023.pdf on questions found in this Excel sheet: link to Excel sheet
Please follow the following instructions prior to installing the AI Assistant.
- 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.
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:
- Clone the repository or Download the repository
git clone https://github.com/luquelab/ACUNAO-AI.git- Navigate to project directory
cd ACUNAO-AIor
cd ACUNAO-AI-mainNote: 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.
-
Add the LLM
Move the downloaded LLM to theACUNAO-AI/utils/data/folder, replacing the existing pointer file:Phi-3.5-mini-instruct-Q8_0.gguf. -
Install dependencies
conda env create --name venv --file=environment.yml
conda activate venv
sh ./post_install.sh
- Run the application
Run the Streamlit prototype:
python run.pyNote: 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.
- Clone the repository or Download the repository
git clone https://github.com/luquelab/ACUNAO-AI.git- Navigate to project directory
cd ACUNAO-AIor
cd ACUNAO-AI-mainNote: 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.
-
Add the LLM
Move the downloaded LLM to theACUNAO-AI/utils/data/folder. -
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- Activate the virtual environment
source venv/bin/activate
- Install dependencies
This project requires Tesseract to be installed on your system. You can install Tesseract using Homebrew with the following command:
brew install tesseractThen:
pip install -r requirements.txtAnd then:
sh ./post_install.sh
- Run the application
Run the Streamlit prototype:
python run.pyNote: 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.
This is an evolving repository Started: 2024-06-03
End: Ongoing
This project exists thanks to all the people who contribute.
@LuqueLab
@TjanMichela
This project is licensed under MIT license.
The syntax of markdown files (.md) is CommonMark unless specified otherwise (https://commonmark.org/help/)