Download the PHP package alpinedigital/craft-ai-chatbot without Composer

On this page you can find all versions of the php package alpinedigital/craft-ai-chatbot. 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 craft-ai-chatbot

AI Chatbot

Een Craft CMS plugin die je site-content synchroniseert naar een database en een AI-chatbot aanbiedt met slimme retrieval.

Vereisten


Installatie

1. Installeer via Composer:

2. Installeer de plugin:

Dit voert automatisch alle database migraties uit. Geen handmatige DB-setup nodig.

3. Configureer in het CP:

Ga naar Settings → Plugins → AI Chatbot en volg de configuratiestappen hieronder.


Aanbevolen model

Uit tests blijkt dat OpenAI GPT-4.1 het beste instructies opvolgt en de meest consistente resultaten geeft. Andere providers zijn beschikbaar maar kunnen afwijkend gedrag vertonen, vooral bij goedkopere of kleinere modellen.

Providers

De plugin werkt in twee modi afhankelijk van welke API keys je configureert:

Embedding modus (aanbevolen)

Vereist een OpenAI API key. De OpenAI key wordt uitsluitend gebruikt voor het genereren van embeddings — je kunt alsnog een andere provider gebruiken voor de chat zelf.

Niet-embedding modus

Werkt met elke provider zonder OpenAI key. Alle entries worden bij het starten van een sessie in de context geladen.


Configuratie

Ga naar Settings → Plugins → AI Chatbot. Het dashboard heeft 3 tabs:

Tab 1: Configuratie

Tab 2: Instellingen

Tab 3: Statistieken

Systeem prompt

De systeem prompt is een van de belangrijkste instellingen van de plugin. De standaardwaarde is minimaal — het is sterk aangeraden deze uit te breiden.

Een goede prompt bevat instructies over gedrag, beperkingen, taal en toon. Bijvoorbeeld:


Gebruik in templates

Voeg de chatbot widget toe aan je Twig template:


Automatische synchronisatie

De plugin synchroniseert automatisch wanneer:

In embedding modus wordt het genereren van embeddings als achtergrondtaak uitgevoerd via de Craft queue, zodat het opslaan van entries niet geblokkeerd wordt.


Verwijderen

  1. Verwijder de plugin via Craft: Settings → Plugins → AI Chatbot → Uninstall Dit verwijdert automatisch alle plugin database tabellen.

  2. Verwijder via Composer:

OF → Na uninstall in Craft kan er nog remove staan Je kan hier ook nog op klikken om hetzelfde resultaat te krijgen als de composer command.

  1. Verwijder {{ craft.craftJsonPlugin.render()|raw }} uit de twig(s) waarop de plugin stond

  2. Verwijder optioneel de API keys uit je .env bestand.

All versions of craft-ai-chatbot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
craftcms/cms Version ^5.0.0
openai-php/client Version ^0.19.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 alpinedigital/craft-ai-chatbot contains the following files

Loading the files please wait ...