Software suite for deploying semantic search and RAG/no-hallucination LLM-chat over arbitrary data cards/chunks. Contains a server for duplication detection, bookmarks, retrieval, filtering, recommendations, etc. and also white-label'able UI's for search and retrieval-augmented LLM chat. Build, contribute, and stay-tuned!
Documentation • Debate Search Demo • RAG Debate Opponent Demo • Discord • Matrix
- Fork the repository and clone it to your local machine
- Create a new branch with a descriptive name: git checkout -b your-branch-name
- Make your changes to the README file. Please ensure that your changes are relevant and add value to the project
- Test your changes locally to ensure that they do not break anything
- Commit your changes with a descriptive commit message: git commit -m "Add descriptive commit message here"
- Push your changes to your forked repository: git push origin your-branch-name
- Open a pull request to the main repository and describe your changes in the PR description
We have a full self-hosting guide available on our documentation page here.
curl \
gcc \
g \
make \
pkg-config \
python3 \
python3-pip \
libpq-dev \
libssl-dev \
openssl \
libreoffice
You can use the following, but we recommend using NVM and then running yarn --cwd ./vault-nodejs install
.
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
npm install -g yarn && \
yarn --cwd ./vault-nodejs install
rustup default nightly
Use vault-client to make an account. Get its uuid and set ADMIN_UUID
to equal it in your .env
pip install -r ./vault-python/requirements.txt
diesel::debug*query::<diesel::pg::Pg, *>(&query);
virtualenv venv
source venv/bin/activate
pip install -r ./vault-python/requirements.txt
Run export RUST_LOG=debug
This repository used to solely house the server
folder, but has recently been expanded to contain both search
and chat
. We recommend that you open VSCode for the search
and chat
folders independently.
cp .env.chat ./chat/.env
cp .env.search ./search/.env
cp ./server/.env.dist ./server/.env
./convenience -l
We know this is bad. Currently, We recommend managing this through tmuux.
cd server
cargo watch -x run
cd search
yarn
yarn dev
cd chat
yarn
yarn dev