/llm_vs_vector

Testing speed and cost of classification via LLM or via vector embeddings

Primary LanguagePythonMIT LicenseMIT

llm_vs_vector

Source: Original tweet thread about this.

Output: Alt text

Setup

venv it pip install -r requirements.txt python -m spacy download en_core_web_md drop your key in

Usage

python main.py