Download the PHP package bold-web/statamic-ai-assistant without Composer

On this page you can find all versions of the php package bold-web/statamic-ai-assistant. 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 statamic-ai-assistant

Statamic Ai Assistant

Statamic Ai Assistant is a Statamic addon that use API calls within custom fieldtypes and Bard to provide AI text generation and refactoring to the users.

Supported API

Features

How to Install

You can install this addon via Composer:

How to Use

The plugin use per default Infomaniak API, a Swiss solution🇨🇭 respecting the data of your users and the planet. However if you want to switch to a faster generation with a US based company this plugin also comes with Groq API support.

Infomaniak API

  1. Create an Infomaniak account and generate an API token with access to your AI Tools. Define it in your .env file as
  2. Go to your dashboard computing->AI tools and define the INFOMANIAK_PRODUCT_ID in your .env file (or use their API to get the product id: https://developer.infomaniak.com/docs/api/get/1/ai)

    tips for GET request: Just use postman with your api key in the Authorization header 'Bearer your-api-key' to get the product id

Groq API

  1. Create a groq account and generate an API key. Define it in your .env file as
  2. Add STATAMIC_AI_ASSISTANT_PROVIDER_NAME='groq' in your .env file to use groq

Translations

We decided to integrate a translation functionnality that use the LLM to translate the texts on multi-site. You can disable this feature with STATAMIC_AI_ASSISTANT_TRANSLATIONS=false in your .env file.

We decided to use the LLM for the translations in the v1 for ease of use, but a Deepl integration is planned in the futur.

Customization in your .env file

Upgrade Request

If you face issues or have improvements ideas do not hesitate to send us an email at [email protected]. We’ll read all emails, but please understand that this package is maintained as a side project for us, so we may not get back to you directly. Thank you for your understanding ❤️


All versions of statamic-ai-assistant with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^5.0
edalzell/forma Version ^3.1
lucianotonet/groq-laravel Version ^0.0.10
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 bold-web/statamic-ai-assistant contains the following files

Loading the files please wait ....