Download the PHP package codingwisely/taskallama without Composer

On this page you can find all versions of the php package codingwisely/taskallama. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package taskallama

Taskallama: Laravel Integration with Ollama LLM API

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Taskallama is a Laravel package that provides seamless integration with Ollama's LLM API. It simplifies generating AI-powered content, from professional task writing to conversational agents, with minimal effort. Whether you're building a task management system, an HR assistant for job posts, or blog content generation, Taskallama has you covered.

Why i built it? Simple reasons - i want to implement a ai helper on or Project and task management system at Taskavel.com to help me quickly scaffold the task. We gonna use it also on our another SaaS project, Advanced ATS system at Bagel.blue to make it easy to create a Job Postings.


Features



Prerequisites

  1. Ollama Installation

    • Taskallama requires Ollama to be installed and running locally on your machine. You can download and install Ollama from their official website:
  2. Ollama Configuration

    • By default, Taskallama connects to Ollama at http://127.0.0.1:11434. Ensure that Ollama is running and accessible at this address. You can update the OLLAMA_URL in the config file if it's hosted elsewhere.
  3. System Requirements
    • PHP ^8.3 or higher.
    • Laravel ^11.0 or higher.

Installation

You can install the package via composer:

Next, you should publish the package's configuration file:

This will publish a taskallama.php file in your config directory where you can configure your Ollama API key and other settings.

Usage

Basic Example (non-stream)

Generate a response using a prompt:

Basic Example (stream)

Generate a stream response using a prompt:

Chat Example

Create a conversational agent:

Livewire Integration Example

Integrate Taskallama into a Livewire component for real-time task generation:

Embeddings Example

Generate embeddings for advanced search or semantic analysis:

Additional Methods

List Local Models

Retrieve Model Information

Retrieve Model Settings

Pull or Delete a Model

If you're pulling model, make sure you set this a background job, as it may take a while to download the model.

Testing

Run the tests with:

License

This package is open-source software licensed under the MIT License. Please see the LICENSE.md file for more information.


All versions of taskallama with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codingwisely/taskallama contains the following files

Loading the files please wait ....