faiss — Easy Playground
Facebook AI Similarity Search: billion-scale vector similarity
Getting started with faissRun locally
Install
pip install faiss-cpu # or faiss-gpuPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: faiss)
faiss is a third-party package. Facebook AI Similarity Search: billion-scale vector similarity. Install with: pip install faiss-cpu # or faiss-gpu
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?