Download the PHP package halilcosdu/laravel-ollama without Composer
On this page you can find all versions of the php package halilcosdu/laravel-ollama. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download halilcosdu/laravel-ollama
More information about halilcosdu/laravel-ollama
Files in halilcosdu/laravel-ollama
Package laravel-ollama
Short Description This is my package laravel-ollama
License MIT
Homepage https://github.com/halilcosdu/laravel-ollama
Informations about the package laravel-ollama
Laravel Ollama
Laravel Ollama is a PHP package that provides a simple and intuitive interface for interacting with the Ollama API. It is designed to be used with Laravel, a popular PHP framework, but can also be used in any PHP application. This package provides a set of methods for making requests to the Ollama API, including methods for setting the agent, prompt, model, format, options, and more. It also includes methods for handling responses from the API, such as retrieving the response in a specific format or streaming the response. With Laravel Ollama, you can easily integrate the Ollama API into your Laravel application and start making requests in a matter of minutes.
Features
Easy configuration
Fluent interface: Chain methods together to build your requests.
Flexible
Comprehensive: Covers all the endpoints of the Ollama API.
This package builds upon the foundational work provided by the Ollama Laravel package developed by Cloud Studio. Special thanks to them for their innovative approach and contributions to the Laravel community.
★ In the near future, I will add more features to this package.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Usage
Basic Usage
Vision Support
Chat Completion
Show Model Information
Copy a Model
Delete a Model
Generate Embeddings
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Halil Cosdu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-ollama with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0