Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Tools

CLI in python that uses ollama to provide a basic workflow for search, chat, rag and visualization of docs and notes. I use this primarily for search and as an alternative to open-webui, so I don't have to leave my editor.

Read the documentation for more information.

Installation

pipxu

pipxu install "git+https://github.com/RyanGreenup/ai-tools"

source ~/.local/pipxu/venvs/ai-tools/bin/activate.fish
python -m nltk.downloader all

Poetry

Install with poetry:

git clone https://github.com/RyanGreenup/ai-tools
cd ai-tools
poetry install

# In the directory
poetry run src/main.py -n ~/Notes/slipbox live-search

# Anywhere
dir=$(pwd)
cd /tmp/
poetry run -C "${dir}" /home/ryan/.local/scripts/python/ai-tools/src/main.py  --help

Consider creating a script, e.g. =~/.local/bin/ait:

#!/bin/sh
dir="$HOME/.local/scripts/python/ai-tools/"
poetry run -C "${dir}" "${dir}"/src/main.py ${@:-}

Virtual environment

git clone https://github.com/RyanGreenup/ai-tools
cd ai-tools
python -m venv venv
source venv/bin/activate
pip install .
python src/main.py --help

Screenshots

CLI

Embedding Space

Semantic Search

TODO

  • Chat
  • RAG
  • Visualization
  • Search
    • Live Search
  • RAG generate Answers over question sets to generate answers
  • Question / Answer Generation
  • Documentation summaries using
    • Map Reduce
    • Semantic Space Clustering

About

Ollama tools for chat, rag, search and visualization of docs and notes

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages