Download the PHP package mohamedsaad/ai-bridge without Composer
On this page you can find all versions of the php package mohamedsaad/ai-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mohamedsaad/ai-bridge
More information about mohamedsaad/ai-bridge
Files in mohamedsaad/ai-bridge
Download mohamedsaad/ai-bridge
More information about mohamedsaad/ai-bridge
Files in mohamedsaad/ai-bridge
Vendor mohamedsaad
Package ai-bridge
Short Description AI Bridge package to run Python semantic similarity checks inside Laravel
License MIT
Package ai-bridge
Short Description AI Bridge package to run Python semantic similarity checks inside Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package ai-bridge
AI Bridge for Laravel
AI Bridge is a Laravel package that allows you to check the semantic similarity between two texts using Python and Sentence Transformers.
It provides a simple PHP service and Laravel integration while running Python under the hood.
🚀 Features
- Semantic text similarity (not just string matching).
- Uses sentence-transformers (
all-MiniLM-L6-v2) for embeddings. - Easy to use inside Laravel via the service container or facade.
- Built-in Python script execution with Symfony Process.
📦 Installation
-
Install the package via Composer:
-
Make sure you have Python 3.8+ installed.
- Install the Python dependencies:
⚡ Usage
Using the Service
Using the Facade
🛠 Requirements
- PHP >= 8.1
- Laravel >= 10
- Python >= 3.8
- Python Packages:
sentence-transformers,torch
📌 Example Output
- Input:
"I love programming"vs"I enjoy coding" - Output:
0.82
📝 License
This package is open-sourced software licensed under the MIT license.
All versions of ai-bridge with dependencies
PHP Build Version
Package Version
The package mohamedsaad/ai-bridge contains the following files
Loading the files please wait ...