https://github.com/tameronline/prompt_faiss
https://github.com/tameronline/prompt_faiss
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tameronline/prompt_faiss
- Owner: TamerOnLine
- License: other
- Created: 2025-03-13T16:40:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T17:00:44.000Z (over 1 year ago)
- Last Synced: 2025-03-13T17:51:36.387Z (over 1 year ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Z# π FAISS Similarity Search Project
## π Introduction
This project focuses on **similarity search using FAISS**, a powerful library by **Facebook AI** that enables fast search in high-dimensional data.
## β‘ Features
- Supports **multiple data types** (text, images, audio, video, medical, geospatial, tabular, etc.).
- Uses **LangChain and Ollama** to generate AI-driven similarity search guides.
- Compatible with **multiple operating systems** with dedicated setup scripts.
- **GitHub Actions integration** for automated testing and validation.
---
## π Project Structure
```bash
βββ README.md # This file
βββ requirements.txt # Dependencies
βββ runtime.txt # Python version required
βββ src/ # Source code
β βββ __init__.py
β βββ main.py # Main script for generating FAISS search guides using LangChain and Ollama
β βββ runner.py # Interactive script execution
βββ tests/ # Unit tests
β βββ __init__.py
β βββ ollama.py # Ollama test script
β βββ test.py # Main test runner
βββ .github/workflows/ # CI/CD with GitHub Actions
β βββ main.yml
βββ Virtual Environment Setup
β βββ activate_project.sh (Linux & Mac)
β βββ activate_project.bat (Windows - CMD)
β βββ activate_project.ps1 (Windows - PowerShell)
```
# FAISS Similarity Search Guides
---
### [π Text Similarity Search](text_faiss_similarity_search.md)
### [πΈ Image Similarity Search](images_faiss_similarity_search.md)
### [π΅ Audio Similarity Search](audio_faiss_similarity_search.md)
### [π₯ Video Similarity Search](video_faiss_similarity_search.md)
### [π₯ Medical Similarity Search](medical_faiss_similarity_search.md)
### [π Tabular Similarity Search](tabular_faiss_similarity_search.md)
### [πΊοΈ Geospatial Similarity Search](geospatial_faiss_similarity_search.md)
### [π€ AI Embeddings Similarity Search](ai_embeddings_faiss_similarity_search.md)
## π How to Run
### 1οΈβ£ Install Dependencies
```bash
pip install -r requirements.txt
```
### 2οΈβ£ Activate Virtual Environment
- **Linux & Mac:**
```bash
source activate_project.sh
```
- **Windows (CMD):**
```cmd
activate_project.bat
```
- **Windows (PowerShell):**
```powershell
.\activate_project.ps1
```
### 3οΈβ£ Run the Project
```bash
python src/main.py
```
### 4οΈβ£ Run Tests
```bash
pytest tests/
```
---
## π οΈ Technologies Used
- **FAISS** - Facebook AI Similarity Search
- **LangChain** - AI workflow management
- **Ollama** - Local AI query execution
- **Python 3.10+**
- **GitHub Actions** - CI/CD automation
---
## π License
This project is licensed under the [MIT License](LICENSE).
---
## π Contact & Contributions
If you'd like to **contribute**, feel free to open a **Pull Request** or **create an Issue** on GitHub!
> **π¨βπ» Developer:** [TamerOnLine](https://github.com/TamerOnLine)