A local implementation of semantic code search that operates entirely on the local filesystem.
286
Local File System Code Search using Hybrid Approach
A local implementation of semantic code search that operates entirely on the local filesystem. Based on code_search_s3vectors.py functionality but adapted for local storage.
Features:
Usage:
# Initialize index
python3 local_FS_search_using_hybrid_approach.py init \\
--index ./my_code_index \\
--embedding-provider aws # or 'local'
# Index C++ files
python3 local_FS_search_using_hybrid_approach.py index \\
--index ./my_code_index \\
src/*.cpp
# Search (semantic)
python3 local_FS_search_using_hybrid_approach.py search \\
--index ./my_code_index \\
"authentication logic"
# Search (hybrid)
python3 local_FS_search_using_hybrid_approach.py search \\
--index ./my_code_index \\
--mode hybrid \\
"bool methods in User class for validation"
# Compare brute-force vs FAISS performance
python3 local_FS_search_using_hybrid_approach.py search \\
--index ./my_code_index \\
--compare-methods \\
"error handling"
Content type
Image
Digest
sha256:bcb4df161…
Size
561.2 MB
Last updated
10 months ago
docker pull galsl/semantic-search