Skip to content

Instantly share code, notes, and snippets.

View farleyknight's full-sized avatar
🎯
Focusing

Farley Knight farleyknight

🎯
Focusing
View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyq42m6txbfjiOh85J3UMpwuDw8X7LLeoT8zKM4bugAcZd9cxRf4wOBukRbmNg4y793QbzrRuhNeohMj4EmpCiHzVcqN9wrAG96AMWINbC9z417PBNJN0A8LCE23RGLpMW5qyKcuklGr8n0l9DxLRulZSCBGpXKxdGRzPs07q+A+MTQ/1Gh6rd3UgHPlH/Gp6TuFSxsZSNK14wpb2bnUQPv6UzsHL3IFQsDNrQ55VrR8KC0Xx7T5NVH16a+XXia67hSZnq79II5BJHUbPi0cSUK1iuTFjIM9yfn5pNPi8Q5BgU1DHn6dVRMBjLYvprxHDF5dPm2xA5URZYAf0nyGbj [email protected]
#!/usr/bin/env python3
"""
Code Search Tool - A simple command-line tool to search Python code semantically.
This tool indexes Python files in a directory, creates embeddings, and returns the top 5
most relevant files for a given query.
"""
import os
import sys
import argparse