- Install the requirements
pip3 install -r requirements.txt
- Build the index
python3 build_index.py
- If using RAG, download ollama
Run main.py --n-results 1
to access the embeddings index via a simple CLI interface.
Use -r
or --rag
to run with retrieval-augmented generation.
> How do I get the first element in a list?
procedure(first lst) โ any/c lst : list?The same as (car lst), but only for lists (that are not empty).
Example:> (first '(1 2 3 4 5 6 7 8 9 10))1
------------------------------
>