PoC of AI assistant in the form of a chatbot for the Gno ecosystem. It's fed with the Markdown content of the documentation. On each message, a RAG-like process is done to detect relevant document chunks based on generated embedding vectors.
Setup your Python environment with these commands:
cd ai/
python -m venv venv
python -m pip install poetry
poetry install
Then you can create a .env
file and fill it with values inspired from the .env.example
file.
Setup your frontend with these commands:
cd front/
yarn
Now you're only two command away from using your Gno AI assistant 🔥
Start the AI
python src/main.py
💡 It might be slow to start due to the generation of embedding vectors for the document chunks.
and launch the frontend
yarn dev